Skip to content

Fix mobile nav 'Medication Suggester' link target and label#512

Merged
sahilds1 merged 1 commit into
CodeForPhilly:developfrom
c-tonneslan:fix/494-mobile-nav-medication-suggester
Jul 21, 2026
Merged

Fix mobile nav 'Medication Suggester' link target and label#512
sahilds1 merged 1 commit into
CodeForPhilly:developfrom
c-tonneslan:fix/494-mobile-nav-medication-suggester

Conversation

@c-tonneslan

Copy link
Copy Markdown
Contributor

Closes #494.

The mobile nav had two issues with the suggester link:

  1. Wrong target. The link pointed at /login, which sent already-logged-in users back to the login page instead of the suggester. Point at / to match the desktop header at Header.tsx:124.
  2. Wrong label. Said 'Medical Suggester'; everywhere else in the app says 'Medication Suggester'. Renamed for consistency.

Closes CodeForPhilly#494. The mobile nav 'Medical Suggester' link was pointing at
/login (which kicked users to the login page) and used the wrong word.
Point it at / (where the suggester lives, matching the desktop Header)
and rename to 'Medication Suggester' for consistency with everywhere
else in the app.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
@sahilds1
sahilds1 changed the base branch from listOfMed to develop July 8, 2026 20:43
@sahilds1
sahilds1 requested a review from Copilot July 21, 2026 22:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes the mobile navigation entry for the main Medication Suggester so it matches the rest of the app and routes correctly.

Changes:

  • Updated the mobile nav “Medication Suggester” link target from /login to /.
  • Corrected the mobile nav label from “Medical Suggester” to “Medication Suggester”.

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

@sahilds1
sahilds1 merged commit 04e7b2d into CodeForPhilly:develop Jul 21, 2026
@sahilds1

sahilds1 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

@c-tonneslan Thank you for this PR! We'd love to have you join the Code for Philly and Balancer community by joining the Code for Philly Slack and introducing yourself in the #balancer channel

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.

bug: "Medical Suggester" link to mobile nav redirects to login page

3 participants