Skip to content

Fix 5 UI issues: column visibility, avatar, description MD, label dedup, breadcrumbs#32

Merged
fakechris merged 5 commits into
mainfrom
fix/ui-5-issues
May 15, 2026
Merged

Fix 5 UI issues: column visibility, avatar, description MD, label dedup, breadcrumbs#32
fakechris merged 5 commits into
mainfrom
fix/ui-5-issues

Conversation

@fakechris
Copy link
Copy Markdown
Owner

Summary

  • Column visibility menu: Added "Columns" dropdown in board toolbar to toggle column visibility (show/hide per status column)
  • Avatar "?": Unassigned issues no longer show "?" — replaced with subtle user outline SVG icon
  • Description MD rendering: Issue description now uses MarkdownRenderer (view mode) + RichTextEditor (edit mode) with Save/Cancel
  • Label dedup: Deduplicated labels by id in both BoardPage and IssuePage
  • Sub-issue breadcrumb: Added parent issue breadcrumb navigation (Team > Parent > Current) in issue detail header

Test plan

  • Board toolbar shows "Columns" dropdown, toggling hides/shows columns
  • Unassigned issues show subtle icon instead of "?"
  • Issue description renders markdown, click to edit works
  • Labels list has no duplicates
  • Sub-issue shows breadcrumb with clickable parent link

Made with Cursor

… labels, breadcrumbs

- Add Columns dropdown in board toolbar to toggle column visibility
- Replace "?" avatar for unassigned issues with a subtle user outline icon
- Replace plain description textarea with MarkdownRenderer view / RichTextEditor edit toggle
- Deduplicate labels by id in both BoardPage and IssuePage
- Add parent issue breadcrumb navigation in IssuePage header

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Warning

Rate limit exceeded

@fakechris has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 50 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 930da6d9-e202-4e2a-b03e-bc997a35270b

📥 Commits

Reviewing files that changed from the base of the PR and between 2e4190b and 28f3a54.

📒 Files selected for processing (11)
  • e2e/board-flow.spec.ts
  • packages/web/src/App.board-drawer.test.tsx
  • packages/web/src/App.issue-detail-edit.test.tsx
  • packages/web/src/App.issue-meta.test.tsx
  • packages/web/src/App.navigation.test.tsx
  • packages/web/src/App.routing.test.tsx
  • packages/web/src/components/IssueCard.tsx
  • packages/web/src/components/IssueDetailDrawer.tsx
  • packages/web/src/components/Primitives.tsx
  • packages/web/src/routes/BoardPage.tsx
  • packages/web/src/routes/IssuePage.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ui-5-issues

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enhances the issue tracking interface by introducing a rich text editor for descriptions, breadcrumb navigation for parent issues, and a column visibility toggle on the board. It also replaces the default avatar placeholder with an SVG icon and implements label deduplication. Feedback suggests optimizing performance by wrapping the label deduplication logic in useMemo on the issue page, as well as addressing hardcoded strings and style duplication to improve maintainability and internationalization support.

Comment on lines +528 to +530
const allLabels = Array.from(
new Map((data?.issueLabels.nodes ?? []).map(l => [l.id, l])).values()
);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The label deduplication logic is executed on every render. To improve performance and maintain consistency with the implementation in BoardPage.tsx, this should be wrapped in useMemo.

Suggested change
const allLabels = Array.from(
new Map((data?.issueLabels.nodes ?? []).map(l => [l.id, l])).values()
);
const allLabels = useMemo(() => Array.from(
new Map((data?.issueLabels.nodes ?? []).map(l => [l.id, l])).values()
), [data?.issueLabels.nodes]);

Comment on lines +658 to +683
<button
type="button"
style={{
height: 26, padding: '0 12px', fontSize: 12, fontWeight: 500,
borderRadius: 'var(--r-2)', border: '1px solid transparent', cursor: 'pointer',
background: 'var(--accent)', color: 'var(--accent-fg)',
}}
disabled={isSavingState}
onClick={() => {
setIsEditingDescription(false);
void commitDescription().catch(() => undefined);
}}
>Save</button>
<button
type="button"
style={{
height: 26, padding: '0 12px', fontSize: 12, fontWeight: 500,
borderRadius: 'var(--r-2)', border: '1px solid var(--border)', cursor: 'pointer',
background: 'transparent', color: 'var(--fg-muted)',
}}
onClick={() => {
setDescription(issueSnapshot?.description ?? '');
setIsEditingDescription(false);
}}
>Cancel</button>
</div>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is significant duplication of inline styles for the "Save" and "Cancel" buttons. Additionally, these strings (and others in the description section like "Edit" and "Add a description…") are hardcoded. Consider extracting the shared styles into a constant or a reusable component, and moving the strings to a localization system to support internationalization.

Comment on lines +1929 to +1939
<details style={{ position: 'relative', fontSize: 11 }}>
<summary style={{ cursor: 'pointer', padding: '2px 8px', borderRadius: 'var(--r-1)', color: 'var(--fg-muted)' }}>Columns</summary>
<fieldset style={{ position: 'absolute', top: '100%', right: 0, zIndex: 10, background: 'var(--bg-raised)', border: '1px solid var(--border)', borderRadius: 'var(--r-2)', padding: 8, display: 'flex', flexDirection: 'column', gap: 4, minWidth: 160 }}>
{(selectedTeam?.states.nodes ?? []).map((state) => (
<label key={state.id} style={{ display: 'flex', alignItems: 'center', gap: 6, fontSize: 11, cursor: 'pointer' }}>
<input type="checkbox" checked={!collapsedColumns[state.id]} onChange={() => toggleColumnCollapse(state.id)} aria-label={`Toggle ${state.name} column`} />
{state.name}
</label>
))}
</fieldset>
</details>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The new "Columns" dropdown uses hardcoded strings for the label and aria-labels. To support internationalization, these should be replaced with translation keys from the project's locale system.

chris and others added 4 commits May 15, 2026 11:33
… from Columns dropdown)

Co-authored-by: Cursor <cursoragent@cursor.com>
…mode

Co-authored-by: Cursor <cursoragent@cursor.com>
…sueDetailDrawer, fix all tests

Co-authored-by: Cursor <cursoragent@cursor.com>
… fill → Save)

Co-authored-by: Cursor <cursoragent@cursor.com>
@fakechris fakechris merged commit 9115700 into main May 15, 2026
2 checks passed
@fakechris fakechris deleted the fix/ui-5-issues branch May 15, 2026 03:59
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