consul/ui-v2/app/helpers
Kenia b2ecc65d21 ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489)
* Create PopoverSelect component and styling

* Create CatalogToolbar component and Styling

* ui: Adds `selectable-key-values` helper (#7472)

Preferably we want all copy/text to live in the template. Whilst you can
achieve what we've done here with a combination of different helpers, as
we will be using this approach in various places it's probably best to
make a helper.

We also hit an ember bug related to using the `let` helper and trying to
access `thingThatWasLet.firstObject` (which can also be worked around
using `object-at`).

Moving everything to a helper 'sorted' everything.

Probably worthwhile noting that if the sort option themselves become
dynamic, I'm not sure if the helper here would actually react as you
would expect (I'm aware that ember helpers on react on the root
arguments, not necesarily sub properties of those arguments). If we get
to that point this helper could take the same approach as what I believe
ember-composable-helpers does to get around this, or move them to the
view controller. If we do ever moved this to the view controller, we
can still use the exported function from the new helper here to keep
using the same functionality and tests we have here.

* Create tests for sorting services with CatalogToolbar

* Add rule to print 'ember/no-global-jquery' as a warning

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2020-05-12 17:14:48 +00:00
..
policy UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
service ui: Redesign - Service Detail Page (#7655) 2020-05-12 17:14:27 +00:00
token ui: Make empty Rules ('') take priority over a `Legacy: true` (#4899) 2018-11-06 18:08:10 +00:00
atob.js
default.js
difference.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
dom-position.js ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
env.js ui: Improve configuration/env/feature flag usage (also add build time year detection) (#7072) 2020-01-21 17:52:40 +00:00
format-number.js
href-mut.js ui: Fix using 'ui-like' KVs when using an empty default nspace (#7734) 2020-04-30 09:28:20 +01:00
href-to.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
is-href.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
last.js ui: Some trivial test additions, support env var passing of port numbers (#4728) 2018-10-26 17:50:43 +01:00
left-trim.js
object-entries.js ui: Adds readonly meta data to the serviceInstance and node detail pages (#6196) 2019-08-02 13:53:52 +02:00
right-trim.js
route-match.js ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
selectable-key-values.js ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
slugify.js
split.js ui: Some trivial test additions, support env var passing of port numbers (#4728) 2018-10-26 17:50:43 +01:00
starts-with.js ui: Adds a `sort-control` component for asc/desc sorting of columns etc (#6034) 2019-09-04 08:35:16 +00:00
state-matches.js ui: Add `<State /> and `{{state-matches}}` ember component/helper (#7556) 2020-05-12 17:14:20 +00:00
substr.js ui: Create a helper to show the last 8 characters of token Accessor ID (#7327) 2020-05-12 17:14:07 +00:00
svg-curve.js ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
tween-to.js ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00