elsatamara / eigensense-app

0 stars 0 forks source link

Research on implementing cache for recently viewed alert #17

Open elsatamara opened 2 years ago

elsatamara commented 2 years ago

Alerts that are recently viewed need to persist per user, and even when the machine changes, it still needs to be there.

Todo:

UPDATE: After researching, recently viewed alerts should be stored as in db as a new column/key in the Agent table/collection. recentlyViewedAlerts in the Agent table is updated every time an agent logs out. Temporarily it is still going to be stored in local storage as this is a data that is frequently changing. Storing it in local storage will reduce the workload of the db.

Todo:

elsatamara commented 2 years ago
Screen Shot 2022-04-02 at 3 37 33 PM