consul/ui-v2/app/utils
John Cowen 99c51c9f86
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
..
helpers UI: Reduce in-development deprecations (also use toLocaleString) (#4677) 2018-10-01 13:42:42 +01:00
http More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
model Tie up real endpoints 2018-06-25 12:25:15 -07:00
ascend.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
atob.js UI: Bugfix. Move to a different TextEncoder/Decoder (#4613) 2018-09-12 20:15:58 +01:00
btoa.js UI: Bugfix. Move to a different TextEncoder/Decoder (#4613) 2018-09-12 20:15:58 +01:00
callable-type.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
confirm.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
createURL.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
distance.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
error.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
get-component-factory.js Make sure `didAppear` and therefore `resize` is called on change 2018-06-12 11:24:36 +01:00
hasStatus.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
injectableRequestToJQueryAjaxHash.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
isFolder.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
keyToArray.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
makeAttrable.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
promisedTimeout.js UI: Tooltips and feedback-dialogs are the same thing - merge (#4678) 2018-09-21 11:13:21 +01:00
qsa-factory.js Make sure `didAppear` and therefore `resize` is called on change 2018-06-12 11:24:36 +01:00
remove-null.js Don't clone prev, there's no need 2018-07-06 13:09:23 +01:00
right-trim.js Adds filtering to the KV listing page 2018-06-12 11:24:35 +01:00
sumOfUnhealthy.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
tomography.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
ucfirst.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00