consul/ui-v2/tests/unit
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
..
adapters UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
controllers WIP: First draft intentions 2018-06-25 12:25:14 -07:00
mixins UI: Simplify/refactor the actions/notification layer (#4572) + (#4573) 2018-08-29 19:14:31 +01:00
models WIP: First draft intentions 2018-06-25 12:25:14 -07:00
routes Merge remote-tracking branch 'connect/f-connect' 2018-06-25 19:42:51 +00:00
serializers WIP: First draft intentions 2018-06-25 12:25:14 -07:00
services Include logger for generated tests 2018-06-25 12:25:14 -07:00
utils UI: Reduce in-development deprecations (also use toLocaleString) (#4677) 2018-10-01 13:42:42 +01:00