Swap out Roommates tab for Reviews tab #58

Closed
opened 2026-07-20 06:19:56 +00:00 by gostmeaper · 8 comments
gostmeaper commented 2026-07-20 06:19:56 +00:00 (Migrated from codeberg.org)

Overall Objective

The navbar (apps/frontend/src/components/Navbar.tsx) currently has a "Roommates" tab that links to /roommates. That route isn't actually registered in App.tsx, so clicking it currently falls through to the catch-all * route and shows the generic 404 page (apps/frontend/src/app/not-found.tsx, "We couldn't find that page"). We want to repurpose this tab as "Reviews" instead, and give it a proper placeholder page instead of the 404.

For the placeholder page instead of 404 have it say Coming Soon!

Suggested Approach

  1. In Navbar.tsx, find the NavButton with href="/roommates" and name="Roommates" (around line 51). Change the href to /reviews, the name to "Reviews", and swap the icon to something more fitting than /person.svg (check the public folder for existing icons, or ask if we need a new one).
  2. Update the two NavbarSpacer components next to it (right_nbr_path="/roommates" and left_nbr_path="/roommates") to use /reviews instead, so the spacing between nav items still lines up.
  3. Create a new page component, for example apps/frontend/src/app/reviews/page.tsx. Keep it simple for now, a heading like "Reviews" and a short message like "Reviews are coming soon!" is enough. You can loosely model the layout on apps/frontend/src/app/map-page.tsx since that's a simple single-purpose page.
  4. In App.tsx, import your new page and add a route for it: <Route path="/reviews" element={<Reviews />} />, placed above the catch-all * route.
  5. Run the app and click the nav tab to confirm it goes to your new Reviews page instead of the 404 page.

Help & Resources

### Overall Objective The navbar (apps/frontend/src/components/Navbar.tsx) currently has a "Roommates" tab that links to /roommates. That route isn't actually registered in App.tsx, so clicking it currently falls through to the catch-all * route and shows the generic 404 page (apps/frontend/src/app/not-found.tsx, "We couldn't find that page"). We want to repurpose this tab as "Reviews" instead, and give it a proper placeholder page instead of the 404. For the placeholder page instead of 404 have it say Coming Soon! ### Suggested Approach 1. In `Navbar.tsx`, find the `NavButton` with `href="/roommates"` and `name="Roommates"` (around line 51). Change the `href` to `/reviews`, the `name` to `"Reviews"`, and swap the icon to something more fitting than `/person.svg` (check the `public` folder for existing icons, or ask if we need a new one). 2. Update the two `NavbarSpacer` components next to it (`right_nbr_path="/roommates"` and `left_nbr_path="/roommates"`) to use `/reviews` instead, so the spacing between nav items still lines up. 3. Create a new page component, for example `apps/frontend/src/app/reviews/page.tsx`. Keep it simple for now, a heading like "Reviews" and a short message like "Reviews are coming soon!" is enough. You can loosely model the layout on `apps/frontend/src/app/map-page.tsx` since that's a simple single-purpose page. 4. In `App.tsx`, import your new page and add a route for it: `<Route path="/reviews" element={<Reviews />} />`, placed above the catch-all `*` route. 5. Run the app and click the nav tab to confirm it goes to your new Reviews page instead of the 404 page. ### Help & Resources - [README](../../ScottyLabs/housing/src/branch/main/README.md) - [Contributing Guidelines](../../ScottyLabs/housing/src/branch/main/docs/CONTRIBUTING.md)
Member

No activity here for 21 days. If this is still live, drop a comment or push something and I'll clear the label. Otherwise it'll be unassigned on the next sweep.

No activity here for 21 days. If this is still live, drop a comment or push something and I'll clear the label. Otherwise it'll be unassigned on the next sweep.
zoexue self-assigned this 2026-09-19 20:26:26 +00:00
Member

this seems to already be done?

this seems to already be done?
Member

Still no movement, so I'm unassigning this and putting it back up for grabs. Comment here if you're still on it and want it back.

Still no movement, so I'm unassigning this and putting it back up for grabs. Comment here if you're still on it and want it back.
Member

im on it i want it back

im on it i want it back
Member

wait this does seem to be done

wait this does seem to be done
Member

also that's a bot btw LMAO

also that's a bot btw LMAO
Member

oh lMAO

oh lMAO
Member

looks to be done am closing!

looks to be done am closing!
gostmeaper 2026-10-11 17:59:24 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/housing#58
No description provided.