open-consul/ui-v2/app/helpers
John Cowen cc41c86f30
UI: Reduce in-development deprecations (also use toLocaleString) (#4677)
Various ember addons produced deprecation messages, some in the browser
console and some in terminal. Upgrading and replacing some of these has
reduced this.

Upgrades:

- ember-collection
- ember-computed-style

Replacements:

- ember-pluralize replaced with ember-inflector
- ember-cli-format-number replaced with custom helper using standard
`toLocaleString`

Removing ember-cli-format-number also meant some further changes related
to decimal places in the tomography graph, done using `toFixed`

The ExternalSources background-images have also now been escaped
correctly preventing in-development `console` warnings.

The only deprecation warnings are now from ember-block-slots, only in
terminal, making for a better development experience overall, especially now we
have an empty browser console

Also adds a `callIfType` 'helper util' which is a util specifically for helpers (it conforms to a helper argument signature) to be expanded upon later.
2018-10-01 13:42:42 +01:00
..
service UI: External Source markers (#4640) 2018-09-12 20:23:39 +01:00
atob.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
css-var.js UI: External Source markers (#4640) 2018-09-12 20:23:39 +01:00
default.js ui: Adds a default view helper for providing a default value (#4650) 2018-09-12 20:38:57 +01:00
env.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
format-number.js UI: Reduce in-development deprecations (also use toLocaleString) (#4677) 2018-10-01 13:42:42 +01:00
is-href.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
last.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
left-trim.js Adds filtering to the KV listing page 2018-06-12 11:24:35 +01:00
right-trim.js Adds filtering to the KV listing page 2018-06-12 11:24:35 +01:00
slugify.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
split.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00