-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[WEB-5614] chore: work item detail and list layout enhancements #8355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,7 +130,7 @@ export const IssueBlockRoot = observer(function IssueBlockRoot(props: Props) { | |
| <RenderIfVisible | ||
| key={`${issueId}`} | ||
| root={containerRef} | ||
| classNames={`relative ${isLastChild && !isExpanded ? "" : "border-b border-b-subtle-1"}`} | ||
| classNames={`relative ${isLastChild && !isExpanded ? "" : "border-b border-b-subtle"}`} | ||
|
||
| verticalOffset={100} | ||
| defaultValue={shouldRenderByDefault || isIssueNew(issuesMap[issueId])} | ||
| placeholderChildren={<ListLoaderItemRow shouldAnimate={false} renderForPlaceHolder defaultPropertyCount={4} />} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -250,7 +250,7 @@ export const ListGroup = observer(function ListGroup(props: Props) { | |
| return validateEmptyIssueGroups(groupIssueCount) ? ( | ||
| <div | ||
| ref={groupRef} | ||
| className={cn(`relative flex flex-shrink-0 flex-col border-[1px] border-transparent`, { | ||
| className={cn(`relative flex flex-shrink-0 flex-col`, { | ||
| "border-accent-strong": isDraggingOverColumn, | ||
| "border-custom-error-200": isDraggingOverColumn && isDropDisabled, | ||
| })} | ||
|
Comment on lines
+253
to
256
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Find the component file
find . -name "list-group.tsx" -type f 2>/dev/null | head -5Repository: makeplane/plane Length of output: 289 🏁 Script executed: #!/bin/bash
# Read the component file around lines 253-256
wc -l ./apps/web/core/components/issues/issue-layouts/list/list-group.tsxRepository: makeplane/plane Length of output: 130 🏁 Script executed: #!/bin/bash
# Read lines around 253-256 with context
sed -n '240,270p' ./apps/web/core/components/issues/issue-layouts/list/list-group.tsxRepository: makeplane/plane Length of output: 1255 🏁 Script executed: #!/bin/bash
# Find Tailwind config files
find . -name "tailwind.config*" -o -name "tailwind*config*" | grep -E "\.js$|\.ts$|\.cjs$|\.mjs$" | head -10Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Find Tailwind config with more specific search
fd -i "tailwind" --type f | grep -E "config|theme" | head -20Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check common Tailwind config locations
ls -la packages/tailwind-config/ 2>/dev/null || echo "Not found in packages/tailwind-config"Repository: makeplane/plane Length of output: 627 🏁 Script executed: #!/bin/bash
# Search for border-accent-strong definition
rg "border-accent-strong|border-custom-error-200" --type ts --type tsx -B2 -A2 | head -50Repository: makeplane/plane Length of output: 86 🏁 Script executed: #!/bin/bash
# Search for border-accent-strong definition in CSS files
rg "border-accent-strong|border-custom-error-200" --type css -B2 -A2 | head -100Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check the tailwind config CSS and variables
cat packages/tailwind-config/variables.css | grep -A5 -B5 "border-accent-strong\|border-custom-error" | head -50Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Look at the index.css to understand the color system
cat packages/tailwind-config/index.cssRepository: makeplane/plane Length of output: 3980 🏁 Script executed: #!/bin/bash
# Check the variables.css for border color definitions
cat packages/tailwind-config/variables.css | grep -E "border-accent-strong|border-custom-error|--color-border|--border" | head -30Repository: makeplane/plane Length of output: 1516 🏁 Script executed: #!/bin/bash
# Search broader for accent and error color definitions
cat packages/tailwind-config/variables.css | grep -E "accent|error" | head -50Repository: makeplane/plane Length of output: 2635 🏁 Script executed: #!/bin/bash
# Get the full variables.css to understand the color system
head -200 packages/tailwind-config/variables.cssRepository: makeplane/plane Length of output: 9482 🏁 Script executed: #!/bin/bash
# Check AGENTS.md for border utility definitions
cat packages/tailwind-config/AGENTS.md | grep -A10 -B10 "border-accent-strong\|border-custom-error\|border utilities"Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Search for custom utility definitions for border-accent-strong
rg "border-accent-strong" . --type css -B5 -A5Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Look for where border utilities are defined in @utility or @layer
cat packages/tailwind-config/index.css | grep -A20 "@utility.*border"Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check AGENTS.md content related to borders
head -500 packages/tailwind-config/AGENTS.md | tail -400Repository: makeplane/plane Length of output: 10827 🏁 Script executed: #!/bin/bash
# Search for error color or custom-error definitions
cat packages/tailwind-config/variables.css | grep -i "error\|custom-error" | head -30Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Look at the full context of how border utilities might be defined
grep -r "border-accent-strong\|border-custom-error" packages/tailwind-config/ 2>/dev/null || echo "Not in tailwind-config"Repository: makeplane/plane Length of output: 81 🏁 Script executed: #!/bin/bash
# Search across the entire repo for border-custom-error-200
rg "border-custom-error-200" --type css --type ts -B3 -A3 | head -100Repository: makeplane/plane Length of output: 759 🏁 Script executed: #!/bin/bash
# Search for custom-error color definitions
rg "custom-error|--color-custom-error" . --type css -B2 -A2 | head -50Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check if there's a Tailwind plugin or config file in web/
find apps/web -name "tailwind*" -o -name "*theme*" | grep -E "\.(ts|js|css)$" | head -20Repository: makeplane/plane Length of output: 136 🏁 Script executed: #!/bin/bash
# Search for error color definitions in variables.css
cat packages/tailwind-config/variables.css | grep -i "error" -B2 -A2Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check what "custom-error" might be - search web app for custom colors
rg "custom-error|--color.*error" apps/web --type css --type ts -B2 -A2 | head -50Repository: makeplane/plane Length of output: 595 🏁 Script executed: #!/bin/bash
# Look at the actual rendered CSS output or check if border-custom-error-200 is a standard Tailwind class
# First, check if it might be a typo and should be something else
rg "border.*error" apps/web/core/components/issues/issue-layouts/list/ -B3 -A3Repository: makeplane/plane Length of output: 759 🏁 Script executed: #!/bin/bash
# Check if there's a custom Tailwind plugin that might define these
find . -name "*.ts" -o -name "*.js" | xargs grep -l "border-accent-strong\|border-custom-error" 2>/dev/null | grep -E "config|plugin|theme" | head -10Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check what border utilities actually exist - look in node_modules or check if these are dynamically generated
# First, let's see if we can find the actual utility definitions in the generated CSS or theme
rg "@utility.*border" packages/tailwind-config/ -A5 | head -50Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Most importantly: check the full component to see what happened before and after the change
sed -n '245,265p' apps/web/core/components/issues/issue-layouts/list/list-group.tsxRepository: makeplane/plane Length of output: 852 🏁 Script executed: #!/bin/bash
# Check if border-custom-error exists - search for "error" in color definitions
cat packages/tailwind-config/variables.css | grep -E "error|danger" | head -20Repository: makeplane/plane Length of output: 1316 🏁 Script executed: #!/bin/bash
# Look for red or danger colors that might be used for errors
cat packages/tailwind-config/variables.css | grep -E "red-|danger|crimson" | grep border | head -20Repository: makeplane/plane Length of output: 918 🏁 Script executed: #!/bin/bash
# Check git history to see what was removed from this line
cd apps/web/core/components/issues/issue-layouts/list && git log -p --follow -S "border-\[1px\]" -- list-group.tsx 2>/dev/null | head -100 || echo "Git history not available"Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Verify: does border-custom-error-200 exist anywhere?
rg "custom-error-200" . --type ts --type tsx --type css --type js 2>/dev/null | wc -lRepository: makeplane/plane Length of output: 60 🏁 Script executed: #!/bin/bash
# Check for similar error color utilities
rg "border.*error" packages/tailwind-config/variables.cssRepository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Check the exact git diff if available to see what changed
git diff HEAD~1 apps/web/core/components/issues/issue-layouts/list/list-group.tsx 2>/dev/null | head -50 || echo "Git diff not available"Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Double check: what border color utilities are actually defined?
cat packages/tailwind-config/variables.css | grep "^ --border-color-" | sortRepository: makeplane/plane Length of output: 1131 🏁 Script executed: #!/bin/bash
# Check if there's a custom theme extension or plugin that defines custom-error
find apps/web -name "*.ts" -o -name "*.js" | xargs grep -l "custom-error\|customError" 2>/dev/null | head -5Repository: makeplane/plane Length of output: 41 🏁 Script executed: #!/bin/bash
# Look for all files that import or reference border utilities to understand the pattern
rg "border-danger|border-accent" apps/web/core/components --type ts --type tsx | head -10Repository: makeplane/plane Length of output: 86 🏁 Script executed: #!/bin/bash
# Confirm: search the entire codebase for any definition of custom-error-200
rg "custom-error-200|customError" . --type ts --type tsx --type js --type css 2>/dev/null || echo "No matches found"Repository: makeplane/plane Length of output: 75 🏁 Script executed: #!/bin/bash
# Check if border utilities are generated from the --border-color theme variables
# Look at how border utilities work in the Tailwind config
cat packages/tailwind-config/index.css | grep -A30 "@layer\|@utility" | grep -i borderRepository: makeplane/plane Length of output: 347 🏁 Script executed: #!/8bin/bash
# Final check: verify the full list of available border color utilities by examining the theme
cat packages/tailwind-config/variables.css | grep "border-color" | awk '{print $1}' | sort -uRepository: makeplane/plane Length of output: 1436 🏁 Script executed: #!/bin/bash
# Final verification: check if border utilities are auto-generated from the theme variables
# by looking at how Tailwind processes @theme
head -50 packages/tailwind-config/index.cssRepository: makeplane/plane Length of output: 1047 🏁 Script executed: #!/bin/bash
# Check if there's a possibility this is a typo and should be border-danger instead
rg "border-danger" apps/web/core/components --type ts -B2 -A2 | head -20Repository: makeplane/plane Length of output: 41
The utility - className={cn(`relative flex flex-shrink-0 flex-col`, {
+ className={cn(`relative flex flex-shrink-0 flex-col border`, {
"border-accent-strong": isDraggingOverColumn,
- "border-custom-error-200": isDraggingOverColumn && isDropDisabled,
+ "border-danger-strong": isDraggingOverColumn && isDropDisabled,
})}🤖 Prompt for AI Agents |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The button height has been changed from
h-autotoh-6for consistency. However, the same PriorityDropdown component in peek-overview/properties.tsx (line 121) still usesh-auto. This inconsistency may result in visual differences between the issue detail sidebar and peek overview. Consider updating both locations to use the same height value for consistency.