Skip to content

Split competitions dropdown into Private/Public sections#130

Merged
eswan18 merged 2 commits into
mainfrom
feature/competitions-dropdown-sections
Apr 6, 2026
Merged

Split competitions dropdown into Private/Public sections#130
eswan18 merged 2 commits into
mainfrom
feature/competitions-dropdown-sections

Conversation

@eswan18
Copy link
Copy Markdown
Owner

@eswan18 eswan18 commented Apr 6, 2026

Summary

  • Competitions in the navbar dropdown are now grouped under "Private" and "Public" headings, displayed side-by-side in columns
  • If the user has no private competitions, the Private section is omitted entirely
  • Dropdown width dynamically adjusts to content (narrower for one section, wider for two) instead of using fixed widths
  • Improved line-height on link labels for better readability when names wrap

Test plan

  • Verify dropdown shows "Private" and "Public" headings when user has both types
  • Verify only "Public" heading appears when user has no private competitions
  • Verify dropdown panel width adjusts to content
  • Verify mobile menu also shows section headings correctly
  • Verify multi-line competition names have readable line spacing

🤖 Generated with Claude Code

eswan18 and others added 2 commits April 6, 2026 05:21
Competitions in the navbar dropdown are now grouped under "Private" and
"Public" headings. If the user has no private competitions, that section
is omitted entirely. Applies to both desktop and mobile navigation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use w-max with a max-w cap instead of fixed widths so the dropdown
panel shrinks to fit one section or expands for two. Also change
link label leading from none to snug for better readability when
competition names wrap to two lines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@eswan18 eswan18 merged commit a90593f into main Apr 6, 2026
1 check passed
@eswan18 eswan18 deleted the feature/competitions-dropdown-sections branch April 6, 2026 10:42
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