Skip to content

feat: implement TopBarClient component for responsive navigation and …#17

Merged
MaheeGamage merged 1 commit into
mainfrom
feature/implement-v2
Jun 18, 2026
Merged

feat: implement TopBarClient component for responsive navigation and …#17
MaheeGamage merged 1 commit into
mainfrom
feature/implement-v2

Conversation

@MaheeGamage

Copy link
Copy Markdown
Owner

…user menu integration

Copilot AI review requested due to automatic review settings June 18, 2026 15:50
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
finnish-learner Ready Ready Preview, Comment Jun 18, 2026 3:50pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a responsive, session-aware top app bar by splitting the top bar into a server wrapper (for auth/session rendering) and a client component (for mobile menu state), while also fixing mobile horizontal overflow in the SRS tuning settings UI.

Changes:

  • Introduced TopBarClient to manage responsive navigation (hamburger menu on mobile) and close behavior (route change, outside click, Escape).
  • Updated TopBar to a server wrapper that renders UserMenu and slots it into the client bar.
  • Adjusted SRS tuning SettingsPanel layout to wrap on narrow screens (save bar + seconds rows) and reduce padding/field widths to prevent sideways scrolling.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/modules/vocab-test/components/SettingsPanel.tsx Prevents mobile horizontal overflow by allowing wrapping and tightening spacing/widths.
src/components/TopBarClient.tsx New client-side responsive top bar with mobile menu state + close interactions.
src/components/TopBar.tsx Server wrapper that passes the session-aware UserMenu into TopBarClient.
src/components/NavLinks.tsx Adds vertical layout + onNavigate callback to support the mobile menu.
.project/tasks/task-011_expose-srs-tuning-config.md Documents the mobile overflow fix and verification notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MaheeGamage
MaheeGamage merged commit 114badb into main Jun 18, 2026
3 checks passed
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.

2 participants