feat(admin-ui): runtime terminology customization for admin UI by rohilsurana · Pull Request #1454 · raystack/frontier

@rohilsurana changed the title feat(web): runtime terminology customization for admin UI feat(admin-ui): runtime terminology customization for admin UI

Mar 17, 2026

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

Add a context-based terminology system that allows deployments to
customize entity labels (e.g. Organization → Workspace) and URL
paths across the entire admin UI via the /configs endpoint.

- Add AdminConfigContext, useAdminTerminology hook, and useAdminPaths hook
- Replace all hardcoded entity labels in 44 admin view files
- Make route paths dynamic based on terminology config
- Add Vite dev server middleware to serve configs.dev.json locally

@rohilsurana

@rohilsurana

@rohilsurana

@rohilsurana

@rohilsurana

…SDK and admin

Move applyCase, createEntity, types, and createTerminologyMap into
shared/terminology.ts. Both useTerminology (react SDK) and
useAdminTerminology (admin SDK) now delegate to the same core logic.
Existing imports are preserved via re-exports.
Replace useAdminTerminology with a single shared useTerminology hook.
Add TerminologyProvider to shared/terminology.tsx — both
CustomizationProvider (react SDK) and AdminConfigProvider (admin)
wrap their children with it, so useTerminology works everywhere.

@rohilsurana

Add EntityTerminology, TerminologyConfig structs to the Go server
config so operators can configure custom entity labels (e.g.
Organization → Workspace) via YAML config. The /configs endpoint
now includes the terminology field in its JSON response.

@rohilsurana

@rohilsurana

@rohilsurana

rsbh

rsbh approved these changes Mar 30, 2026

@rohilsurana rohilsurana deleted the feat/admin-terminology-customization branch

March 30, 2026 11:32