feat: incremental auto update
Changes auto update to apply incremental changes. This aligns with future development plans that will deliver similar changes over a web socket, or other push mechanism. This also makes it possible to add local notifications when earthquakes are added to the currently selected feed, by generating a ngrx featureNotification
action that can be used for notification effects.
A Catalog class is added to perform the differencing to detect what has been updated/removed. Running npm run build:catalog
outputs javascript version of the class to dist/catalog/
; which may also provide the basis for a web socket implementation.
Several other changes are also included, such as refactoring autoUpdate to use separate ngrx actions, effects, and reducers where appropriate.