Skip to content

feat(ux): add top progress bar for navigation loading#687

Merged
AnnabelJoe merged 1 commit into
AnnabelJoe:mainfrom
georgeefaith:feat/482-nav-progress-bar
Jun 27, 2026
Merged

feat(ux): add top progress bar for navigation loading#687
AnnabelJoe merged 1 commit into
AnnabelJoe:mainfrom
georgeefaith:feat/482-nav-progress-bar

Conversation

@georgeefaith

Copy link
Copy Markdown
Contributor

Summary

Closes #482

Changes

  • New NavigationProgress component (src/components/navigation-progress.tsx):
    • Thin yellow bar fixed at the top of the viewport (z-[9999]).
    • Fires on every pathname change via usePathname — works with both server and client navigations in the App Router.
    • Animates 0 → 80% immediately, completes to 100% and fades after 200 ms.
    • role="progressbar" with aria-valuenow for screen reader awareness.
  • Mounted inside <Providers> in the root layout so it covers all page transitions.

Acceptance criteria

  • Page changes show a top progress bar
  • No blank flashes on route transitions
  • Feedback works across server/client navigations

- New NavigationProgress component: thin yellow bar fixed at top of viewport
- Fires on every pathname change via usePathname (App Router compatible)
- Animates 0→80% immediately, completes to 100% and fades after 200ms
- role=progressbar with aria-valuenow for screen reader awareness
- Mounted inside <Providers> in root layout — covers all page transitions
- Zero dependencies, no blank flash between route changes

Closes AnnabelJoe#482
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@georgeefaith Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@AnnabelJoe AnnabelJoe merged commit 9e1513c into AnnabelJoe:main Jun 27, 2026
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 loading indicator consistency during navigation

2 participants