iachat/app/javascript/dashboard/routes/dashboard/helpcenter
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
..
components feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
helpers feat(v4): Update the help center portal design (#10296) 2024-10-23 22:09:36 -07:00
pages feat: async update of article [CW-3721] (#10435) 2024-11-21 19:38:08 -08:00
helpcenter.routes.js feat: Add visibility checks for installation types (#10773) 2025-02-21 14:48:31 -08:00