Skip to content

Navigation: Ask goes last - #36

Closed
riponcm wants to merge 1 commit into
mainfrom
feat/ask-last
Closed

riponcm wants to merge 1 commit into
mainfrom
feat/ask-last

Conversation

@riponcm

@riponcm riponcm commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Rail order is now Dashboard, Now, Schedule, People, then My brief, Catch up, Ask. On phones Ask moves into the More menu with My brief and Catch up.

@riponcm
riponcm enabled auto-merge November 9, 2026 23:59
Comment thread frontend/src/nav.ts
{ to: '/schedule', label: 'Schedule', icon: CalendarDays },
{ to: '/people', label: 'People', icon: Users },
{ to: '/ask', label: 'Ask', icon: MessageCircle },
]

@gitar-bot gitar-bot Bot Nov 10, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Quality: Phone bottom bar flex:5 still assumes 5 primary tabs

Below 767px, .rail-primary gets flex: 5 and each primary <li> and .rail-more gets flex: 1, so all six bottom-bar slots came out the same width when there were 5 primary items. This PR moves Ask out of PRIMARY_NAV, leaving 4 primary items. The primary list still takes 5/6 of the bar, so each of the 4 tabs is about 5/24 wide while More stays at 1/6. The tabs are now uneven and More looks squeezed. Set the primary flex to 4 to match the item count, or make the bar's width independent of the count, e.g. use display: contents on the list so each li sizes itself.

Match the flex weight to the new count of 4 primary items.:

.rail-primary { flex: 4; flex-direction: row; }

Was this helpful? React with 👍 / 👎

@gitar-bot

gitar-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Code Review 👍 Approved with suggestions 0 closed / 1 findings

🟡 Medium risk · Moving Ask from primary navigation to secondary and the phone More menu could make the feature less discoverable.

Reorders the navigation rail so Ask moves to the end after My brief and Catch up, and on phones folds Ask into the More menu. Consider fixing the phone bottom bar: the primary list still uses flex: 5 for 5 items, but now has 4, so the tabs are uneven and More looks squeezed. Set the primary flex to 4 in frontend/src/nav.ts or use display: contents so each item sizes itself.

💡 Quality: Phone bottom bar flex:5 still assumes 5 primary tabs

📄 frontend/src/nav.ts:12

Below 767px, .rail-primary gets flex: 5 and each primary <li> and .rail-more gets flex: 1, so all six bottom-bar slots came out the same width when there were 5 primary items. This PR moves Ask out of PRIMARY_NAV, leaving 4 primary items. The primary list still takes 5/6 of the bar, so each of the 4 tabs is about 5/24 wide while More stays at 1/6. The tabs are now uneven and More looks squeezed. Set the primary flex to 4 to match the item count, or make the bar's width independent of the count, e.g. use display: contents on the list so each li sizes itself.

Match the flex weight to the new count of 4 primary items.
.rail-primary { flex: 4; flex-direction: row; }
🤖 Prompt for agents
Code Review: Reorders the navigation rail so Ask moves to the end after My brief and Catch up, and on phones folds Ask into the More menu. Consider fixing the phone bottom bar: the primary list still uses `flex: 5` for 5 items, but now has 4, so the tabs are uneven and More looks squeezed. Set the primary flex to 4 in `frontend/src/nav.ts` or use `display: contents` so each item sizes itself.

1. 💡 Quality: Phone bottom bar flex:5 still assumes 5 primary tabs
   Files: frontend/src/nav.ts:12

   Below 767px, `.rail-primary` gets `flex: 5` and each primary `<li>` and `.rail-more` gets `flex: 1`, so all six bottom-bar slots came out the same width when there were 5 primary items. This PR moves Ask out of PRIMARY_NAV, leaving 4 primary items. The primary list still takes 5/6 of the bar, so each of the 4 tabs is about 5/24 wide while More stays at 1/6. The tabs are now uneven and More looks squeezed. Set the primary flex to 4 to match the item count, or make the bar's width independent of the count, e.g. use `display: contents` on the list so each `li` sizes itself.

   Fix (Match the flex weight to the new count of 4 primary items.):
   .rail-primary { flex: 4; flex-direction: row; }

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@riponcm

riponcm commented Nov 10, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #35 from @FIZ55, which makes the same change (merged). The phone bottom-bar note from Gitar is fixed in a follow-up.

@riponcm riponcm closed this Nov 10, 2026
auto-merge was automatically disabled November 10, 2026 00:12

Pull request was closed

@riponcm
riponcm deleted the feat/ask-last branch November 10, 2026 00:12
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