open-consul/ui/packages/consul-ui/app
John Cowen 21915e600e
ui: Fix up blocking reconciliation for multiple models (#11237)
> In the future, this should all be moved to each individual repository now, which will mean we can finally get rid of this service.

This PR moves reconciliation to 'each individual repository'. I stopped short of getting rid of the service, but its so small now we pretty much don't need it. I'd rather wait until I look at the equivalent DataSink service and see if we can get rid of both equivalent services together (this also currently dependant on work soon to be merged)

Reconciliation of models (basically doing the extra work to clean up the ember-data store and bring our frontend 'truth' into line with the actual backend truth) when blocking/long-polling on different views/filters of data is slightly more complicated due to figuring out what should be cleaned up and what should be left in the store. This is especially apparent for KVs.

I built in a such a way to hopefully make sure it will all make sense for the future. I also checked that this all worked nicely with all our models, even KV which has never supported blocking queries. I left all that work in so that if we want to enable blocking queries/live updates for KV it now just involves deleting a couple of lines of code.

There is a tonne of old stuff that we can clean up here now (our 'fake headers' that we pass around) and I've added that to my list of thing for a 'Big Cleanup PR' that will remove lots of code that we no longer require.
2021-10-07 12:38:04 +01:00
..
abilities ui: Don't show the CRD menu for read-only intentions (#11149) 2021-09-27 17:19:32 +01:00
adapters ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
components ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
controllers ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
decorators
filter/predicates ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
forms ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
helpers ui: Make it hard to not URLEncode DataSource srcs/URIs (#11117) 2021-09-30 15:54:46 +01:00
initializers
instance-initializers
locations
mixins ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
models ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
modifiers
routes ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
routing ui: Address some Admin Partition FIXMEs (#11057) 2021-10-01 11:07:58 +01:00
search/predicates
serializers ui: Use of header default ACL policy (#11192) 2021-09-30 13:01:48 -04:00
services ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
sort/comparators ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
styles ui: Adds Flight icons to our icon set (#11097) 2021-09-27 18:26:42 +01:00
templates ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
utils ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
validations ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
app.js
env.js
formats.js
index.html
router.js ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00