Skip to content

FAC-WEB refactor: rename user-facing "Faculties" label to "Faculty"#148

Merged
y4nder merged 1 commit into
developfrom
claude/update-faculties-to-faculty-KEfuu
Apr 23, 2026
Merged

FAC-WEB refactor: rename user-facing "Faculties" label to "Faculty"#148
y4nder merged 1 commit into
developfrom
claude/update-faculties-to-faculty-KEfuu

Conversation

@y4nder

@y4nder y4nder commented Apr 23, 2026

Copy link
Copy Markdown
Member

Closes #147

Summary

  • Switches every user-visible occurrence of "Faculties" to "Faculty" across sidebar nav, page heading, loading/error messages, and back-link text for Dean / Chairperson / Campus Head views.
  • URL routes, on-disk directory names, and internal code identifiers (facultiesHref, goBackToFaculties, *FacultiesPage) are intentionally left unchanged to preserve bookmarks and avoid churn.
  • Pure UI-string edits — 10 replacements across 5 files.

Files touched

  • features/auth/lib/role-route.ts — 3 sidebar nav labels
  • features/faculty-analytics/components/scoped-faculty-list-screen.tsx<h1>, subtitle, loading + error messages
  • features/faculty-analytics/hooks/use-faculty-report-detail-view-model.tsbackLabel
  • features/faculty-analytics/components/faculty-report-header.tsx — back link text
  • features/faculty-analytics/components/faculty-report-screen.tsx — missing-semester-context message

Test plan

  • bun run typecheck passes (verified locally)
  • bun run lint passes (verified locally)
  • Signed in as Dean / Chairperson / Campus Head, sidebar nav label reads Faculty
  • /dean/faculties (and the two sibling routes) still resolve; heading reads Faculty, subtitle reads "All faculty for the selected semester."
  • Loading state shows "Loading faculty..."; error state shows "Unable to load the faculty list."
  • Faculty detail page back button reads Back to Faculty (view-model) / Back to faculty (header component)
  • Missing-semester-context error on a detail page reads "...Start from the faculty list to open a faculty report."

https://claude.ai/code/session_0189NiAhxiopdY9pEiieUawr


Generated by Claude Code

Updates sidebar nav, page heading, loading/error messages, and back-link
text across dean/chairperson/campus-head views to use "Faculty" instead
of the plural. URL routes, directory names, and internal code
identifiers are intentionally left unchanged.

https://claude.ai/code/session_0189NiAhxiopdY9pEiieUawr
@vercel

vercel Bot commented Apr 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app-faculytics Ready Ready Preview, Comment Apr 23, 2026 6:34am

@y4nder y4nder linked an issue Apr 23, 2026 that may be closed by this pull request
6 tasks
@y4nder y4nder changed the title refactor: rename user-facing "Faculties" label to "Faculty" FAC-WEB refactor: rename user-facing "Faculties" label to "Faculty" Apr 23, 2026
@y4nder y4nder self-assigned this Apr 23, 2026
@y4nder y4nder merged commit a6552c6 into develop Apr 23, 2026
3 checks passed
y4nder added a commit that referenced this pull request Apr 23, 2026
…148) (#149)

Updates sidebar nav, page heading, loading/error messages, and back-link
text across dean/chairperson/campus-head views to use "Faculty" instead
of the plural. URL routes, directory names, and internal code
identifiers are intentionally left unchanged.

https://claude.ai/code/session_0189NiAhxiopdY9pEiieUawr

Co-authored-by: Claude <noreply@anthropic.com>
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.

FAC-WEB Rename user-facing "Faculties" label to "Faculty"

2 participants