Skip to content

HOLD: Move New button into navbar as Create dropdown#1316

Open
maebeale wants to merge 2 commits intomainfrom
maebeale/new-btn-to-nav-item
Open

HOLD: Move New button into navbar as Create dropdown#1316
maebeale wants to merge 2 commits intomainfrom
maebeale/new-btn-to-nav-item

Conversation

@maebeale
Copy link
Collaborator

@maebeale maebeale commented Mar 3, 2026

What is the goal of this PR and why is this important?

  • The standalone "New" button felt disconnected from the main navigation
  • Moving it into the nav bar as a "Create" dropdown makes it consistent with the other menu items (Curriculum, Community, Help)

How did you approach the change?

  • Moved the creation links from _navbar_new_button into _navbar_menu as a new "Create" dropdown, styled identically to the existing nav dropdowns
  • Positioned "Create" before "Help" since it's a primary action for signed-in users
  • Updated the mobile menu to match: renamed "New" to "Create" and reordered so Create appears before Help
  • Removed the separate _navbar_new_button render from _navbar.html.erb

UI Testing Checklist

  • Desktop: "Create" dropdown appears between "Community" and "Help" when signed in
  • Desktop: "Create" dropdown is hidden when not signed in
  • Desktop: All creation links work correctly from the dropdown
  • Desktop: Admin-only items still show with blue background for admin users
  • Mobile: "Create" section appears between "Community" and "Help" when signed in
  • Mobile: "Create" section is hidden when not signed in

Anything else to add?

  • The _navbar_new_button.html.erb partial is now unused and can be deleted in a follow-up

🤖 Generated with Claude Code

maebeale and others added 2 commits March 3, 2026 07:46
The standalone "New" button is replaced with a "Create" dropdown
that sits alongside the other nav items (Curriculum, Community,
Create, Help), giving it a consistent look and placement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Instead of burying Create in the hamburger menu, show it as a
compact dropdown button in the mobile top bar to the left of the
user avatar — matching its original placement as the New button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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