Skip to content

Sidebar navigation is missing configured menu items for every role (Requests, Batches, Templates, Certificates) #262

Description

@RudraDudhat2509

Summary

Tested live on cosa.openlake.in, logged in as each role (President, GenSec, Club Coordinator, Student) and inspected the actual rendered sidebar DOM against what frontend/src/config/navbarConfig.js defines for that role. Several configured nav items never render as clickable buttons at all — not a scroll/overflow issue, confirmed by reading the raw DOM.

What's missing, per role

  • President: Requests — configured, not rendered
  • GenSec (all 4 variants): Requests — configured, not rendered
  • Club Coordinator: Batches, Templates — configured, not rendered
  • Student: Certificates — configured, not rendered

(Profile is also absent from the sidebar for every role, but that one's intentional — Components/common/Sidebar.jsx explicitly filters it out because it's reachable via the account dropdown in the header instead. Not a bug, just flagging so it doesn't get lumped in with the real issues above.)

What I found investigating

For the Club Coordinator case specifically, I checked whether the live JS bundle even contains the strings "Batches" / "Templates" — it doesn't. That means the deployed frontend is running an older build than what's currently in main, i.e. the production deployment is out of sync with the repo, at least for that part of the config. "Requests" and "Certificates" text does exist in the shipped bundle, so those two need a closer look at runtime — possibly a separate rendering issue, not just a stale deploy.

Impact

Presidents/GenSecs can't reach the Requests page from the menu, Coordinators can't reach Batches or Templates, Students can't reach Certificates — these are real features that exist in the code but are currently unreachable through normal navigation for the roles that need them.

Suggested next step

  1. Confirm what commit the live Vercel deployment is actually building from vs. main HEAD, and trigger a fresh deploy.
  2. If items are still missing after a fresh deploy, debug Components/common/Sidebar.jsx + hooks/useSidebar.js rendering against navbarConfig.js directly.

Found during an OpenLake QA pass on the live site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions