Skip to content

Add column config sidebar#4877

Open
burieberry wants to merge 14 commits into
mainfrom
cs-11052-column-config-sidebar
Open

Add column config sidebar#4877
burieberry wants to merge 14 commits into
mainfrom
cs-11052-column-config-sidebar

Conversation

@burieberry
Copy link
Copy Markdown
Contributor

@burieberry burieberry commented May 19, 2026

boxel-ui-kanban issue-tracker-demo

@burieberry burieberry force-pushed the cs-11052-column-config-sidebar branch from 0e1dc5c to 1366877 Compare May 19, 2026 15:42
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 19, 2026

Preview deployments

Host Test Results

    1 files      1 suites   1h 47m 15s ⏱️
2 724 tests 2 709 ✅ 15 💤 0 ❌
2 743 runs  2 728 ✅ 15 💤 0 ❌

Results for commit 616c54e.

Realm Server Test Results

    1 files  ±0      1 suites  ±0   10m 23s ⏱️ -7s
1 482 tests +2  1 482 ✅ +2  0 💤 ±0  0 ❌ ±0 
1 573 runs  +2  1 573 ✅ +2  0 💤 ±0  0 ❌ ±0 

Results for commit 616c54e. ± Comparison against earlier commit 3f02c26.

@burieberry burieberry force-pushed the cs-11052-column-config-sidebar branch from 1366877 to 3b20de8 Compare May 19, 2026 21:18
@burieberry burieberry force-pushed the cs-11052-column-config-sidebar branch 2 times, most recently from e1bae2c to 4e3aa7d Compare May 21, 2026 14:25
@burieberry burieberry force-pushed the cs-11052-column-config-sidebar branch from 4e3aa7d to 3f02c26 Compare May 22, 2026 01:25
@burieberry burieberry changed the title add column config sidebar Add column config sidebar May 23, 2026
@burieberry burieberry marked this pull request as ready for review May 23, 2026 02:32
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 616c54efaf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 517 to 519
const colEl = container.querySelector(
`[data-kanban-column="${column}"]`,
`[data-kanban-column="${columnId}"]`,
) as HTMLElement | null;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Escape column IDs before building CSS selectors

The drag manager now interpolates columnId directly into querySelector selectors ([data-kanban-column="${columnId}"]). Column IDs come from user-editable status values, so IDs containing selector metacharacters (for example quotes, ], or ?) will produce an invalid selector and throw a SyntaxError, breaking drag/drop and keyboard placement updates at runtime. Use CSS.escape(columnId) (or avoid selector string interpolation) before querying.

Useful? React with 👍 / 👎.

Comment on lines +282 to +286
<KanbanColumnConfigSidebar
@columns={{this.columns}}
@onClose={{this.toggleSidebar}}
@onToggleCollapsed={{this.handleToggleCollapsed}}
@onLabelChange={{this.handleLabelChange}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep hide-empty enforced in KanbanBoard sidebar toggles

In KanbanBoard isolated view, the sidebar is rendered without @hideEmpty and @cardCounts, so empty-column visibility toggles remain enabled even when the toolbar's Hide empty switch is on. Because handleToggleCollapsed still flips collapsed, users can re-show empty columns while hideEmpty is true, which violates the hide-empty contract and diverges from IssueTracker behavior.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant