iachat/app/javascript/dashboard/api
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
..
channel feat: Add the UI flow for Microsoft Oauth (#6243) 2023-01-17 17:48:14 +05:30
enterprise feat: Allow SaaS users to manage subscription within the dashboard (#5059) 2022-07-19 19:04:17 +05:30
helpCenter feat: Adds image attachment for help center articles (#6426) 2023-02-15 21:11:32 -08:00
inbox chore: Refactor messages to support right click context menu (#6748) 2023-03-24 13:49:44 -07:00
integrations feat: Add video call option with Dyte in the dashboard (#6207) 2023-01-09 11:49:27 -08:00
specs fix: timing in the API (#6633) 2023-03-09 00:40:38 +05:30
account.js
accountActions.js feat: Create modal to merge two contacts (#2457) 2021-10-13 18:35:13 +05:30
agentBots.js chore: Add AgentBot API module (#5599) 2022-10-11 17:23:57 -07:00
agents.js
ApiClient.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
assignableAgents.js chore: Add Assignable Agents API (#4722) 2022-05-23 19:24:07 +05:30
attributes.js feat: Render contact custom attributes in contact/conversation sidebar (#3310) 2021-11-11 15:23:33 +05:30
auth.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
automation.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
CacheEnabledApiClient.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
campaigns.js
cannedResponse.js
channels.js
contactNotes.js feat: Add notes for Contacts (#3273) 2021-10-25 18:35:58 +05:30
contacts.js feat: Update API for contact avatar (#4719) 2022-07-12 10:03:16 +02:00
conversations.js
csatReports.js chore: Add an option to download CSAT Reports (#4694) 2022-05-17 21:01:45 +05:30
customViews.js feat: Adds the ability to delete a segment (#3836) 2022-01-24 17:37:43 +05:30
dashboardApps.js feat: Allow users to create dashboard apps to give agents more context (#4761) 2022-06-01 11:13:10 +05:30
endPoints.js feat: Allow users to disable marking offline automatically (#6079) 2022-12-16 11:59:27 -08:00
inboxes.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
inboxMembers.js
integrations.js
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
notifications.js
notificationSubscription.js
reports.js [CW-53] feat: allow downloading heatmap report (#6683) 2023-03-20 15:46:29 +05:30
search.js feat: Revamps search to use new search API's (#6582) 2023-03-03 20:58:21 +05:30
teams.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
testimonials.js feat: Update Signup screen (#6002) 2022-12-07 15:55:03 -08:00
userNotificationSettings.js
webhooks.js