iachat/app/javascript/dashboard/i18n/locale
Shivam Mishra ef7bf66476
feat: Add frontend changes for Captain limits (#10749)
This PR introduces several improvements to the Captain AI dashboard
section:

- New billing page, with new colors, layout and meters for Captain usage
- Updated the base paywall component to use new colors
- Updated PageLayout.vue, it's more generic and can be used for other
pages as well
   - Use flags to toggle empty state and loading state
- Add prop for `featureFlag` to show the paywall slot based on feature
enabled on account
- Update `useAccount` to add a `isCloudFeatureEnabled`
- **Removed feature flag checks from captain route definitions**, so the
captain entry will always be visible on the sidebar
- Add banner to Captain pages for the following cases
   - Responses usage is over 80%
   - Documents limit is fully exhausted


### Screenshots

<details><summary>Free plan</summary>
<p>

![CleanShot 2025-01-22 at 18 37
11@2x](https://github.com/user-attachments/assets/17d3ddba-9095-4e81-9b6f-45b5f69e6a3f)
![CleanShot 2025-01-22 at 18 37
04@2x](https://github.com/user-attachments/assets/df9bb0a6-085f-45da-97d4-74cbcc33fc7e)


</p>
</details> 

<details><summary>Paid plan</summary>
<p>

![CleanShot 2025-01-22 at 18 36
45@2x](https://github.com/user-attachments/assets/a7ccf9d4-143b-49e4-8149-83c7a7985023)

![CleanShot 2025-01-22 at 20 23
57@2x](https://github.com/user-attachments/assets/c6ce35ba-e537-486d-85c8-4cc2d4e76438)


</p>
</details>

---------

Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Pranav <pranav@chatwoot.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-01-24 09:21:09 -08:00
..
am chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ar chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
az chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
bg chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ca chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
cs chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
da chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
de chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
el chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
en feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
es chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
fa chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
fi chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
fr chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
he chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hi chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hr chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hu chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hy chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
id chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
is chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
it chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ja chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ka chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ko chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
lt chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
lv chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ms chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ne chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
nl chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
no chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
pl chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
pt chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
pt_BR chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ro chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ru chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sh chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sk chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sl chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sq chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sr chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sv chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ta chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
th chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
tl chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
tr chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
uk chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ur chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ur_IN chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
vi chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
zh fix: parsing of @ in i18n values (#10334) 2024-10-22 15:43:01 +05:30
zh_CN chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
zh_TW chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30