iachat/app/helpers
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
..
api [CW-53] feat: allow downloading heatmap report (#6683) 2023-03-20 15:46:29 +05:30
application_helper.rb Chore: Add translated languages to account settings (#826) 2020-05-06 13:38:36 +05:30
cache_keys_helper.rb feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
date_range_helper.rb feat: Add CSAT response APIs (#2503) 2021-06-29 20:59:41 +05:30
email_helper.rb chore: Support plus forwarding in email channel (#6482) 2023-03-01 15:42:48 +05:30
file_type_helper.rb fix: check the content type for the file when uploading from cloud storage (#5378) 2022-10-21 18:05:36 -07:00
frontend_urls_helper.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
home_helper.rb Initial Commit 2019-08-14 15:18:44 +05:30
message_format_helper.rb fixBug: email notification error, Attachment Message without content (#6408) 2023-02-08 12:51:52 +05:30
report_helper.rb Fix: Agent Reports counts when they have access to multiple accounts (#4663) 2022-05-11 14:31:57 +05:30
reporting_event_helper.rb fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
widget_helper.rb chore: Enhance contact merge action for identified users (#4886) 2022-06-23 15:48:56 +05:30