chatwoot/app/javascript/widget
Pranav bf5e4a92dd
chore: Limit the number of articles retrieved by widget (#11095)
The UI displays only six articles, and this update introduces a per_page
parameter to control the number of articles returned per API call. The
value is capped between 1 and 100, with a default fallback if a lower
number is set.

This change is necessary due to high website traffic, where excessive
payloads are returned without adding value.

**Changes:** 
- Add index to status, account_id, portal_id, views.
- Add per_page param in the API.
- Update the code in the frontend to fetch only 6
2025-03-15 14:10:12 -07:00
..
api chore: Limit the number of articles retrieved by widget (#11095) 2025-03-15 14:10:12 -07:00
assets fix: Typing indicator to support dark mode (#8564) 2023-12-15 09:57:13 +05:30
components feat: Upgrade Dyte apis to v2 (#10706) 2025-02-19 14:47:48 -08:00
composables chore: Replace darkmode mixin with useDarkMode composable [CW-3474] (#9949) 2024-09-12 00:29:41 +05:30
constants fix: Change the route change logic based on bus events, after creating a new conversation in the widget. (#8328) 2023-11-10 09:44:59 +05:30
helpers feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
i18n chore: Update translations (#10990) 2025-02-27 15:46:02 -08:00
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
store fix: Improve performance of most hit APIs in widget (#11089) 2025-03-14 17:37:36 -07:00
views fix: Prevent duplicate chat creation in the web widget during latency (#10745) 2025-01-23 12:53:28 +05:30
App.vue feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
router.js fix: Prevent duplicate chat creation in the web widget during latency (#10745) 2025-01-23 12:53:28 +05:30