iachat/app/javascript/dashboard/helper/specs
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
..
CacheHelper feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
actionQueryGenerator.spec.js feat: Add the ability to add new automation rule (#3459) 2022-02-02 18:46:07 +05:30
commons.spec.js feat: Add the ability add new portal (#5219) 2022-08-10 09:27:52 +05:30
downloadHelper.spec.js feat: Add business hours in downloadable reports (#4674) 2022-05-27 09:26:59 +05:30
filterQueryGenerator.spec.js feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
flag.spec.js chore: Replace packages with native functions (#5140) 2022-08-03 17:08:21 +05:30
inbox.spec.js chore: Update translations from Crowdin (#4772) 2022-06-08 18:07:45 +05:30
inboxFixture.js feat: Custom fields in pre-chat form (#4189) 2022-04-19 12:47:29 +05:30
macrosFixtures.js feat: Add assign agent option in macro (#5821) 2022-11-09 09:52:48 -08:00
macrosHelper.spec.js feat: Add assign agent option in macro (#5821) 2022-11-09 09:52:48 -08:00
messageHelper.spec.js feat: Support variables in canned response (#6077) 2023-01-24 13:06:50 +05:30
portalHelper.spec.js chore: Fix link generation logic in help-center (#5470) 2022-09-20 18:23:28 -07:00
preChat.spec.js feat: Custom fields in pre-chat form (#4189) 2022-04-19 12:47:29 +05:30
routeHelpers.spec.js chore: Allow super admin to suspend an account (#5174) 2022-08-03 11:40:03 +05:30
URLHelper.spec.js feat: Allow users to mark a conversation as unread (#5924) 2022-11-24 10:55:45 +03:00