iachat/app/models/concerns
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
..
.keep Initial Commit 2019-08-14 15:18:44 +05:30
access_tokenable.rb Chore: Replaced dependent destroy with dependent destroy_async in all models (#3249) 2021-11-18 10:32:29 +05:30
account_cache_revalidator.rb feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
activity_message_handler.rb feat: Adds automation view for assigning an agent (#6131) 2023-01-10 11:35:56 +05:30
assignment_handler.rb chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00
auto_assignment_handler.rb feat: Enable Capacity Config UI (#5164) 2022-08-16 16:58:23 +05:30
availability_statusable.rb chore: Move agent availability to Account level (#3074) 2021-10-07 13:21:46 +05:30
avatarable.rb chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
cache_keys.rb feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
channelable.rb feat: Add agent_reply_time_window in API channels (#4857) 2022-06-14 18:05:37 +05:30
content_attribute_validator.rb chore: Upgrade rails and ruby versions (#2400) 2021-08-03 20:11:52 +05:30
conversation_mute_helpers.rb fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
featurable.rb fix: Update enabled_features logic to fix superadmin edit action (#5959) 2022-12-14 18:24:02 -08:00
labelable.rb feat: Save automation rules (#3359) 2022-01-10 12:41:59 +05:30
liquidable.rb fix: Stop processing broken liquid tags (#6236) 2023-01-11 17:41:02 +05:30
message_filter_helpers.rb chore: Refactor the notification service for participants (#6461) 2023-02-15 14:14:56 -08:00
out_of_offisable.rb Fix: add option to choose 24 hour working slot (#4018) 2022-02-22 01:28:49 -08:00
pubsubable.rb chore: Migrate PubSub Token to contact inbox (#3434) 2021-11-22 23:32:17 +05:30
reauthorizable.rb chore: Add reauthorization prompt for Whatsapp Channel (#5929) 2022-11-24 14:50:32 +03:00
reportable.rb Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
sort_handler.rb fix: last incoming message sort (#4972) 2022-07-06 00:37:43 +05:30
sso_authenticatable.rb feat: Ability for super admin to impersonate a user (#6382) 2023-02-06 11:00:08 -08:00
user_attribute_helpers.rb chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00