consul/ui/packages/consul-ui/app
John Cowen 6f9e6a1326 ui: New search/sort/filtering bar for Node > ServiceInstances (#9326)
* Model layer changes to turn Node:ServiceInstances into hasMany

We tried to make something that feels a little like ember-data yet
not leave our approach of re-shaping the JSON directly from the
response.

1. We added transformHasManyResponse for re-shaping JSON for hasMany
relationships. we avoided the normalize word as ember-data serialize
methods usually return something JSON:API shaped and we distinctly don't
want to do that. Transform was the best word we could think of.

2. The integration tests across all of our models here feel very much
like those types of tests that aren't really testing much, or assert
too much to an extent that they get in the way rather than be of any
use. I'd very much like to move a lot of this to unit tests. Currently
most of the fingerprinting functionality is unit tested and these
integration tests were originally to give confidence that IDs and
related properties were being added correctly.

3. We've added a hasMany relationship, but not the corresponding
belongsTo - yet at least. We don't require the belongsTo right now, and
if we do  we can add it later.

* Integrate ServiceInstance search bar for Node:ServiceInstances

* Hide Node.Meta when on the Node:ServiceINstance page

We use a little string replace hack here for a human-like label, this is
soon to be replaced with proper i10n replacement

* Always ensure that a Namespace is set, and add comment explaining
2020-12-09 13:09:33 +00:00
..
adapters ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
components ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
controllers ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
filter/predicates ui: HealthCheck Search/Sort/Filtering (#9314) 2020-12-07 09:15:53 +00:00
forms ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
helpers ui: Change URI helper to a template based approach (#9344) 2020-12-09 09:23:36 +00:00
initializers ui: Remove unnecessay reopens from sort and form services (#9146) 2020-11-10 14:37:34 +00:00
instance-initializers ui: document-attrs helper (#9336) 2020-12-09 09:22:38 +00:00
mixins ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
models ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
modifiers ui: New overlays (#9305) 2020-12-02 09:44:06 +00:00
routes ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
routing ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-02 09:16:55 +00:00
search ui: HealthCheck Search/Sort/Filtering (#9314) 2020-12-07 09:15:53 +00:00
serializers ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
services ui: Change URI helper to a template based approach (#9344) 2020-12-09 09:23:36 +00:00
sort/comparators ui: HealthCheck Search/Sort/Filtering (#9314) 2020-12-07 09:15:53 +00:00
styles ui: document-attrs helper (#9336) 2020-12-09 09:22:38 +00:00
templates ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
utils ui: New search/sort/filtering bar for Node > ServiceInstances (#9326) 2020-12-09 13:09:33 +00:00
validations ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
app.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
env.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
index.html ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
router.js ui: Delete Proxy Info tab (#9141) 2020-11-13 10:02:18 +00:00