iachat/app/javascript/dashboard/helper
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
..
AnalyticsHelper feat: Setup context menu for message (#6750) 2023-03-24 16:20:19 -07:00
AudioAlerts feat: Adds the ability to play audio alert every 30 sec (#6150) 2022-12-30 13:54:37 -08:00
CacheHelper feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
specs feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
actionCable.js feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
actionQueryGenerator.js fix: Unable to save automation "send email to team" (#6052) 2022-12-12 20:10:33 +05:30
APIHelper.js fix: Allow users to login even if they have access to more than 15 accounts (#4475) 2022-04-14 20:54:26 +05:30
automationHelper.js Added event for conversation opened (#6412) 2023-02-08 12:05:22 +05:30
commons.js feat: Add the ability add new portal (#5219) 2022-08-10 09:27:52 +05:30
downloadHelper.js feat: Add business hours in downloadable reports (#4674) 2022-05-27 09:26:59 +05:30
filterQueryGenerator.js feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
flag.js chore: Replace packages with native functions (#5140) 2022-08-03 17:08:21 +05:30
inbox.js feat: Support Twilio Messaging Services (#4242) 2022-07-08 18:20:07 +05:30
labelColor.js feat: Create portal UI improvements (#5261) 2022-08-18 17:11:19 +05:30
localStorage.js fix: Avoid editor formatting issues when a canned response is edited (#5533) 2022-09-30 15:03:33 -07:00
messageHelper.js feat: Support variables in canned response (#6077) 2023-01-24 13:06:50 +05:30
portalHelper.js chore: Fix link generation logic in help-center (#5470) 2022-09-20 18:23:28 -07:00
preChat.js fix: Allow editing label and placeholder for standard attributes in pre chat form (#6067) 2022-12-15 09:36:18 -08:00
pushHelper.js fix: Allow users to login even if they have access to more than 15 accounts (#4475) 2022-04-14 20:54:26 +05:30
routeHelpers.js chore: Allow super admin to suspend an account (#5174) 2022-08-03 11:40:03 +05:30
scriptHelpers.js feat: Integrate LogRocket (#6494) 2023-02-21 08:42:45 +05:30
states.js Move src to dashboard (#152) 2019-10-16 14:36:17 +05:30
URLHelper.js feat: conversation participants (#4145) 2023-02-16 13:35:06 +05:30