consul/ui/packages/consul-ui/app/services
John Cowen b16a6fa033
ui: Adds Partitions to the HTTP layer (#10447)
This PR mainly adds partition to our HTTP adapter. Additionally and perhaps most importantly, we've also taken the opportunity to move our 'conditional namespaces' deeper into the app.

The reason for doing this was, we like that namespaces should be thought of as required instead of conditional, 'special' things and would like the same thinking to be applied to partitions.

Now, instead of using code throughout the app throughout the adapters to add/remove namespaces or partitions depending on whether they are enabled or not. As a UI engineer you just pretend that namespaces and partitions are always enabled, and we remove them for you deeper in the app, out of the way of you forgetting to treat these properties as a special case.

Notes:

Added a PartitionAbility while we were there (not used as yet)
Started to remove the CONSTANT variables we had just for property names. I prefer that our adapters are as readable and straightforwards as possible, it just looks like HTTP.
We'll probably remove our formatDatacenter method we use also at some point, it was mainly too make it look the same as our previous formatNspace, but now we don't have that, it instead now looks different!
We enable parsing of partition in the UIs URL, but this is feature flagged so still does nothing just yet.
All of the test changes were related to the fact that we were treating client.url as a function rather than a method, and now that we reference this in client.url (etc) it needs binding to client.
2021-09-15 18:09:55 +01:00
..
client ui: Adds Partitions to the HTTP layer (#10447) 2021-09-15 18:09:55 +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: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
data-source ui: DataSource Decorator (#9746) 2021-02-23 08:56:42 +00:00
repository ui: [BUGFIX] Properly encode non-URL safe characters in OIDC responses (#10901) 2021-08-24 16:58:45 +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: Auth Methods List view (#9617) 2021-02-17 13:56:56 -05:00
form.js ui: Remove unnecessay reopens from sort and form services (#9146) 2020-11-10 14:36:27 +00:00
logger.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
repository.js ui: DataSource Decorator (#9746) 2021-02-23 08:56:42 +00:00
routlet.js ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +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: Auth Methods List view (#9617) 2021-02-17 13:56:56 -05:00
state.js ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
store.js ui: Restrict the viewing/editing of certain UI elements based on the users ACLs (#9687) 2021-02-19 16:42:16 +00: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: Dev/Test environment configurable metrics (#9345) 2020-12-15 15:34:54 +00:00