Repository navigation
Conversation
| { to: '/schedule', label: 'Schedule', icon: CalendarDays }, | ||
| { to: '/people', label: 'People', icon: Users }, | ||
| { to: '/ask', label: 'Ask', icon: MessageCircle }, | ||
| ] |
There was a problem hiding this comment.
💡 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 👍 / 👎
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 💡 Quality: Phone bottom bar flex:5 still assumes 5 primary tabsBelow 767px, Match the flex weight to the new count of 4 primary items.🤖 Prompt for agentsVerificationRules No rules evaluated Functional validation Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
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.