OpenLake / OpenLake/Student_Database_COSA
Sidebar navigation is missing configured menu items for every role (Requests, Batches, Templates, Certificates)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 58
- Avg merge
- 20h 27m
- Merged PRs (30d)
- 3
Description
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
- Confirm what commit the live Vercel deployment is actually building from vs.
mainHEAD, and trigger a fresh deploy. - If items are still missing after a fresh deploy, debug
Components/common/Sidebar.jsx+hooks/useSidebar.jsrendering againstnavbarConfig.jsdirectly.
Found during an OpenLake QA pass on the live site.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the live Vercel deployment commit with main HEAD, then inspect frontend/src/config/navbarConfig.js, Components/common/Sidebar.jsx, and hooks/useSidebar.js. Reproduce the role-specific menus after a fresh deploy and verify that Requests, Batches, Templates, and Certificates render as clickable items while Profile remains intentionally filtered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- devops, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100