Commit 61d0e79
committed
refactor: remove localization from various dashboard components
- Eliminated localization parameters and related logic from multiple components, including error handling, layout, and page components across the dashboard.
- Updated generateMetadata functions to remove locale handling.
- This change simplifies the components and enhances maintainability by reducing reliance on localization.1 parent 70e1782 commit 61d0e79
294 files changed
Lines changed: 29 additions & 37 deletions
File tree
- apps/app/src
- app
- (app)
- (dashboard)/[orgId]
- components
- controls
- [controlId]
- actions
- components
- table
- data
- components
- data
- lib
- frameworks
- [frameworkInstanceId]
- actions
- components
- table
- requirements/[requirementKey]
- components
- table
- components
- data
- lib
- integrations
- people
- [employeeId]
- actions
- components
- types
- all
- actions
- components
- dashboard
- components
- policies
- (overview)
- components
- [policyId]
- actions
- components
- data
- editor
- actions
- components
- types
- all
- components
- data
- risk
- (overview)
- components/table
- data
- [riskId]
- tasks
- [taskId]
- settings
- api-keys
- components
- table
- context-hub
- components
- table
- data
- trust-portal
- actions
- components
- tasks
- [taskId]
- actions
- components
- utils
- actions
- components
- tests
- (overview)
- dashboard
- actions
- components
- vendors
- (overview)
- components
- data
- [vendorId]
- actions
- task
- components
- secondary-fields
- tasks
- data-table
- title-and-description
- forms/risks
- tasks/[taskId]
- components
- secondary-fields
- title
- actions
- backup-overview
- components/charts
- components
- no-access
- setup
- components
- onboarding
- actions
- components
- go/[id]
- components
- hooks
- lib
- (internal)/internal
- admin
- dashboard
- api
- organizations
- policies
- tasks
- users
- components
- hooks
- (public)
- auth
- components
- comments
- tables/people
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments