chatwoot/app/javascript
Shivam Mishra 161024db9d
feat: Add visibility checks for installation types (#10773)
This pull request includes multiple changes to the sidebar and route
metas to configure visibility of features on the dashboard.

Here's a summary of the changes

1. Added `installationTypes`, field to routes `meta`, this works along
side `permissions` and `featureFlags`
This allows us to decide weather a particular feature is accessible on a
particular type. For instance, the Billing pages should only be
available on Cloud
2. Updated `usePolicy` and `policy.vue` to use the new
`installationTypes` config
3. Updated Sidebar related components to remove `showOnlyOnCloud` to use
the new policy updates.

Testing the PR

Here's the matrix of cases:
https://docs.google.com/spreadsheets/d/15AAJntJZoyudaby77BOnRcC4435FGuT7PXbUXoTyU50/edit?usp=sharing

---------

Co-authored-by: Pranav <pranav@chatwoot.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Pranav <pranavrajs@gmail.com>
2025-02-21 14:48:31 -08:00
..
dashboard feat: Add visibility checks for installation types (#10773) 2025-02-21 14:48:31 -08:00
design-system feat: Add histoire for component playground (#10256) 2024-10-09 22:10:53 -07:00
entrypoints feat: update notification settings (#10529) 2024-12-05 19:05:04 +05:30
portal style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
sdk fix: Avoid overflow caused by the empty span element (#9753) 2024-07-10 19:56:46 -07:00
shared feat: Upgrade Dyte apis to v2 (#10706) 2025-02-19 14:47:48 -08:00
superadmin_pages chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
survey chore: Update translations from Crowdin (#10686) 2025-02-12 12:34:34 +05:30
v3 refactor: show deprecation warnings in dev only (#10868) 2025-02-11 19:15:46 +05:30
widget feat: Upgrade Dyte apis to v2 (#10706) 2025-02-19 14:47:48 -08:00
histoire.setup.ts feat: Add compose conversation components (#10457) 2024-12-05 16:31:47 -08:00