Skip to content

Fix/improve nav ux - #105

Merged
ieliofficial merged 3 commits into
mainfrom
fix/improve-nav-ux
Aug 19, 2026
Merged

Fix/improve nav ux#105
ieliofficial merged 3 commits into
mainfrom
fix/improve-nav-ux

Conversation

@DevOlabode

Copy link
Copy Markdown
Member

Closes #103.
Changes the order on the nav bar as suggested in issue #103.

theme -> new scan button -> my scans button

…w scan" button for authenticated users and improve accessibility with aria-labels
…maintain consistent header layout across routes
@DevOlabode
DevOlabode requested a review from ieliofficial August 7, 2026 23:28
@DevOlabode DevOlabode self-assigned this Aug 7, 2026

@ieliofficial ieliofficial left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The nav reorder itself looks good and the aria-label on nav is a nice addition.

But I think switching from inApp to authed && ... drops the New scan button for signed out users. results and problem have no auth guard in App.jsx, so anyone can scan without an account and land there, and they used to get the button. Now they won't.

It also affects signed in users who haven't connected storage yet, since App passes authed={authed && storageReady} into AppShell.

Could we keep the route check and add the auth one on top, something like (authed || route === 'results' || route === 'problem')?

AppShell was gating New scan on authed alone, which hides it for signed-out
scanners and signed-in users without storage (App passes authed && storageReady).
Show it when authed or on results/problem, still excluding signin/connect.
@DevOlabode

DevOlabode commented Aug 14, 2026

Copy link
Copy Markdown
Member Author

Addressed all requested changes

@ieliofficial ieliofficial left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's the case I was worried about. Comment explaining why results and problem are special is the useful part.

@ieliofficial
ieliofficial merged commit 0958ebb into main Aug 19, 2026
2 checks passed
@ieliofficial
ieliofficial deleted the fix/improve-nav-ux branch August 19, 2026 19:22
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.

Improve UX

2 participants