iachat/app/views/api/v1/models
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
..
_account.json.jbuilder feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
_agent_bot.json.jbuilder feat: Add native support for CSML in agent_bot API (#4913) 2022-06-23 19:17:46 +05:30
_agent.json.jbuilder chore: Improve n+1 queries (#4202) 2022-03-17 15:57:32 +05:30
_app.json.jbuilder fix: Allow integration apps to be listed by an agent (#6587) 2023-03-02 13:02:21 +05:30
_campaign.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_contact_inbox.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_contact.json.jbuilder feat: Show contact created date in contact panel (#6364) 2023-02-04 10:40:23 +05:30
_conversation.json.jbuilder feat: Conversation and contact endpoint (#3198) 2021-10-20 18:14:56 +05:30
_csat_survey_response.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_custom_attribute_definition.json.jbuilder choore: Change values to attribute_values in custom attributes (#3413) 2021-11-18 18:59:28 +05:30
_custom_filter.json.jbuilder feat: Add APIs to create custom views on the dashboard (#2498) 2021-06-29 19:29:57 +05:30
_dashboard_app.json.jbuilder feat: Allow users to create dashboard apps to give agents more context (#4761) 2022-06-01 11:13:10 +05:30
_hook.json.jbuilder fix: Allow integration apps to be listed by an agent (#6587) 2023-03-02 13:02:21 +05:30
_inbox.json.jbuilder feat: Add the UI flow for Microsoft Oauth (#6243) 2023-01-17 17:48:14 +05:30
_macro.json.jbuilder chore: Macros enhancement (#5609) 2022-10-20 19:41:48 -07:00
_message.json.jbuilder feat: Read/Delivery status for Whatsapp Cloud API (#5157) 2022-11-29 15:51:37 +03:00
_note.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_portal_config.json.jbuilder chore: Add missing locale info in portal API (#5177) 2022-08-03 10:33:48 +05:30
_team.json.jbuilder chore: Improve search, list performance of contact/conversation APIs (#2696) 2021-07-23 18:39:24 +05:30
_user.json.jbuilder chore: Cleanup feature flags (#6096) 2022-12-19 22:38:30 +05:30
_widget_message.json.jbuilder feat: Add a pre-chat form on widget (#1769) 2021-02-16 00:14:13 +05:30