iachat/app/javascript/dashboard
Sivin Varghese 38d6ee6dd2
chore: Save company list sorting preferences in UI settings (#12916)
# Pull Request Template

## Description

This PR saves the company list sorting preferences (field and order) in
the user’s UI settings. The sort state is initialized from the stored
preferences when the component mounts, defaulting to `-created_at` if
none exist.

Fixes
https://linear.app/chatwoot/issue/CW-5992/save-sort-filter-to-ui-settings

## Type of change
- [x] New feature (non-breaking change which adds functionality)


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2025-11-20 16:51:27 -08:00
..
api feat: APIs to assign agents_bots as assignee in conversations (#12836) 2025-11-18 18:20:58 -08:00
assets chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00
components feat: APIs to assign agents_bots as assignee in conversations (#12836) 2025-11-18 18:20:58 -08:00
components-next feat: add retry loadWithRetry composable (#12873) 2025-11-20 19:40:20 +05:30
composables feat: add retry loadWithRetry composable (#12873) 2025-11-20 19:40:20 +05:30
constants chore: Enable flexible whatsapp onboarding (Manual + Embedded Signup) options (#12344) 2025-09-15 19:59:56 +05:30
helper chore(docs): Fix typos in some files (#12817) 2025-11-07 07:57:37 -08:00
i18n feat: hide email forwarding address if INBOUND_EMAIL_DOMAIN is not configured (#12768) 2025-11-18 18:05:12 -08:00
mixins feat: allow configuring attachment upload limit (#12835) 2025-11-17 14:03:08 -08:00
modules chore: Adds URL-based search and tab selection (#12663) 2025-10-27 11:17:04 +05:30
routes chore: Save company list sorting preferences in UI settings (#12916) 2025-11-20 16:51:27 -08:00
store feat: Companies page (#12842) 2025-11-18 15:29:15 +05:30
App.vue fix: Handle login when there are no accounts (#12816) 2025-11-07 10:14:59 +05:30
featureFlags.js feat: Companies page (#12842) 2025-11-18 15:29:15 +05:30