consul/ui/packages/consul-ui/app/services
John Cowen a9fe39e035
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
..
client ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
clipboard ui: CopyButton amends (#10511) 2021-07-06 16:56:36 +01:00
code-mirror ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
data-sink ui: Address some Admin Partition FIXMEs (#11057) 2021-10-01 11:07:58 +01:00
data-source ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
repository ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
atob.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
btoa.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
change.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
container.js ui: DataSource Decorator (#9746) 2021-02-23 08:56:42 +00:00
data-structs.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
dom.js ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
encoder.js ui: Change URI helper to a template based approach (#9344) 2020-12-09 09:22:46 +00:00
env.js ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
env.mdx ui: Improves UI engineering docs (#9875) 2021-03-17 15:58:17 +00:00
feedback.js ui: Topology intention saving improvements (#9513) 2021-01-19 15:40:39 +00:00
filter.js ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
form.js ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
logger.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
repository.js ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
routlet.js ui: Fix up blocking reconciliation for multiple models (#11237) 2021-10-07 12:38:04 +01:00
schema.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
search.js ui: Auth Methods List view (#9617) 2021-02-17 13:56:56 -05:00
settings.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
sort.js ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
state.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
store.js ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
temporal.js ui: Adds human formatting to nanosecond based session durations (#10062) 2021-04-28 12:12:56 +01:00
ticker.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
timeout.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
ui-config.js ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00