mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-05 21:48:03 +00:00
# Pull Request Template ## Description Fixes https://linear.app/chatwoot/issue/CW-3913/issues-with-help-center **Fixes included** 1. > The default locale that is selected should the portal default locale. Now, we update the last active locale in UI settings after changing the selected locale from the article page header. This ensures that we see the last active locale-based categories on the category page and remember it when we return. Initially, it’s the default locale. 2. > I cannot switch to a different locale if there are no articles in the portal Now, the `v-if` condition that checked for the presence of articles in portal has been removed. Additionally, the locale length checks for the showing dropdown have been removed, allows locale switching even if article is not preset. 3. > Create or updating the article is quite painful, see the video Removed the `quickSave` and `saveAndSyncDebounced` usage for a newly creating article. 4. > I cannot see the articles if I delete the English locale (irrespective of what I choose as default locale) Now, the last active locale in UI settings will automatically update to the default locale when the last active locale is deleted. 5. > Set a new default locale other than `en` and delete the `en` locale preset in the portal. Then, adding a new locale will automatically set `en` as the default locale, even if the `en` locale not preset in the portal. Now, we pass default locale when we add a new locale. 6. Adds search for all dropdown menus 7. Update article count in realtime. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? **Check this linear issues** https://linear.app/chatwoot/issue/CW-3913/issues-with-help-center ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] 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 --------- Co-authored-by: Pranav <pranav@chatwoot.com>