You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move FLN_LEVELS_LIST + FLNLevelReferenceModal out of RoleDashboards.tsx #138
RoleDashboards.tsx is a 3,100+ line file holding all 8 role dashboards. We're moving each piece into its own file so the codebase is easier to navigate.
What to move
FLN_LEVELS_LIST (a data constant) and FLNLevelReferenceModal (a shared popup component that several dashboards use) — together, ~183 lines.
Cut both FLN_LEVELS_LIST and FLNLevelReferenceModal out of RoleDashboards.tsx into the new file, with whatever imports they need.
Back in RoleDashboards.tsx, add: export { FLN_LEVELS_LIST, FLNLevelReferenceModal } from './dashboards/FLNLevelReference'; where they used to be.
Don't change any logic — copy it exactly as-is.
Watch out for
This one is used by other dashboards (search the file for FLNLevelReferenceModal and FLN_LEVELS_LIST to see which ones), so do this one before the dashboard-specific issues if possible — it'll make those easier.
How to check your work
cd frontend && npm run lint — no errors.
npm run build — succeeds.
Run npm run dev, open the "FLN Level Reference" popup from any dashboard that has it, and confirm it still opens and shows the same content as before.
Activity
jgupta05072003-code commentedon Aug 19, 2026
Saw PR #227 is already open for this — leaving it with you, not touching it myself.
Could you get it merge-ready by end of day tomorrow (2026-08-20)? If you hit a blocker, just comment here rather than letting it sit.
refactor: move FLN_LEVELS_LIST and FLNLevelReferenceModal out of Role…