Implement Angular IndexedDB shared worker client

Bug #1854850 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Evergreen 3.5

Spun off from discussion for bug #1848550.

The Angular code needs its own version of the AngJS shared worker client that communicates to our IndexedDB shared worker, used for storing cached settings and offline data.

What I'm proposing is a partial port of:

https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/web/js/ui/default/staff/services/lovefield.js

The goal is to implement the communication layer to the shared worker, which can then be used by other services (e.g. org settings lookup, an eventual offline component, etc.) for data setting and getting.

If it makes sense to do so at the time, I may also implement the org settings cache logic for Angular proposed by bug #1848550.

Revision history for this message
Bill Erickson (berick) wrote :

IndexedDB shared worker communication service implemented here.

Branch includes a second commit to implement the org unit caching described in bug #1848550. The second commit should only be merged if #1848550 is merged.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1854850-ang-indexeddb-coms

tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.5-alpha
assignee: Bill Erickson (berick) → nobody
Changed in evergreen:
milestone: 3.5-beta → 3.5.0
Revision history for this message
Bill Erickson (berick) wrote :

This was consumed by bug #1848550. Marking as duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.