iachat/app/javascript/dashboard/store/modules
Shivam Mishra 00ee0478eb
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710)
* feat: allow caching of labels in the account scope

* feat: send cache keys in account json response

* feat: kickstart web worker

* feat: setup basic architecture for workers

* feat: install idb

* feat: add datamanger

* fix: typos

* refactor: rename method

* feat: make init db a manual step

* refactor: separate accountIdFromRoute

* feat: cache enabled API client

* feat: enable caching for inboxes and labels

* feat: enable cache for team

* feat: manage exceptions for team

* feat: add team to data manager

* feat: add a generic listener

* refactor: send only cache keys

* refactor: separate validate method

* feat: add listeners

* feat: add event for revalidate

* feat: add cache keys endpoint

* refactor: fetch cache keys instead of full account data

* fix: key pattern

* feat: don't fetch account for cache_keys

* fix: cache key base class

* refactor: cache keys helper

* feat: add helper

* fix: cache-key update logic

* feat: delete indexeddb on logout

* feat: remove worker.js

* refactor: move data-manager

* refactor: name of file

* feat: add test for DataManager

* refactor: add fake idb to jest setup

* test: cache keys helper

* test: cache keys helper

* test: cache_keys in accounts controller

* refactor: remove cache_keys context

* feat: add policy for cache-keys
2023-03-27 12:16:25 +05:30
..
contacts feat: Add the ability to receive contact(vCard) on a WhatsApp inbox (#6330) 2023-02-07 19:36:38 -08:00
conversations feat: Allow agents/admins to copy the link to a message (#5912) 2023-03-26 22:58:42 -07:00
helpCenterArticles feat: Adds image attachment for help center articles (#6426) 2023-02-15 21:11:32 -08:00
helpCenterCategories fix: Update article count in portal admin dashboard (#5647) 2022-10-21 13:43:15 -07:00
helpCenterPortals chore: Refactor sidebar components used in help center (#5695) 2022-10-21 16:43:43 -07:00
notifications feat: Update notifications and unread count in real time (#4261) 2022-03-28 20:01:23 +05:30
specs feat: conversation participants (#4145) 2023-02-16 13:35:06 +05:30
teams feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
accounts.js chore: Cleanup feature flags (#6096) 2022-12-19 22:38:30 +05:30
agentBots.js feat: Allow disconnecting agent bots (#6245) 2023-01-13 22:28:45 +05:30
agents.js fix: Update the relevant agent presence only (#5220) 2022-08-09 12:32:09 +05:30
attributes.js feat: Custom fields in pre-chat form (#4189) 2022-04-19 12:47:29 +05:30
auth.js chore: Update user account availability status (#6375) 2023-02-06 11:07:31 -08:00
automations.js fix: Add Attachment endpoint to save file against automation rule (#4480) 2022-04-24 12:02:40 +05:30
bulkActions.js feat: Add Bulk actions to conversations (#4647) 2022-06-03 11:12:22 +05:30
campaigns.js feat: more events tracking for SaaS (#6234) 2023-01-17 21:53:40 -08:00
cannedResponse.js [Refactor] Cleanup agent store and actions (#373) 2019-12-21 22:54:35 +05:30
contactConversations.js feat: Ability to lock to single conversation (#5881) 2022-11-25 13:01:04 +03:00
contactLabels.js feat: Ability to add label for contact page (#2350) 2021-06-14 10:36:00 +05:30
contactNotes.js feat: Add notes for Contacts (#3273) 2021-10-25 18:35:58 +05:30
conversationLabels.js Feature: Improve label experience (#975) 2020-06-25 21:04:03 +05:30
conversationMetadata.js Feature: Contact Panel with conversation details (#397) 2020-01-01 22:30:43 +05:30
conversationPage.js feat: Add Advanced Conversation Filters (#3239) 2021-11-18 19:15:02 +05:30
conversationSearch.js feat: Search improvements for conversations (#6645) 2023-03-14 13:09:43 +05:30
conversationStats.js Chore: Move conversationStats to a seperate module (#962) 2020-06-14 14:07:52 +05:30
conversationTypingStatus.js fix: Disable typing indicator for user when agent is typing a private note (#3303) 2021-11-01 12:20:07 +04:00
conversationWatchers.js feat: conversation participants (#4145) 2023-02-16 13:35:06 +05:30
csat.js feat: more events tracking for SaaS (#6234) 2023-01-17 21:53:40 -08:00
customViews.js feat: Adds the ability to delete a segment (#3836) 2022-01-24 17:37:43 +05:30
dashboardApps.js feat: Add the ability to create dashboard apps from the UI (#4924) 2022-07-08 15:55:32 +07:00
inboxAssignableAgents.js feat: Add Bulk actions to conversations (#4647) 2022-06-03 11:12:22 +05:30
inboxes.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
inboxMembers.js Chore: Inbox Members API improvements (#3008) 2021-09-14 11:55:02 +05:30
integrations.js feat: Add Google Translate API Integration (#6454) 2023-02-15 20:50:45 -08:00
labels.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
macros.js feat: Add API module and Vuex store for Macros (#5603) 2022-10-11 22:54:17 -07:00
reports.js [CW-53] feat: allow downloading heatmap report (#6683) 2023-03-20 15:46:29 +05:30
teamMembers.js feat: Set up store for teams (#1689) 2021-03-15 18:35:56 +05:30
userNotificationSettings.js Feature: Add web push notification permission in frontend (#766) 2020-05-06 00:10:56 +05:30
webhooks.js feat: Add event subscription option to webhooks (#4540) 2022-04-25 17:44:42 +05:30