consul/ui/packages/consul-ui/app
John Cowen 7550bb2c65
ui: Add intl debug helpers (#10513) (#10561)
This commit adds a couple of debug utilities to help us to continue slowly adding i18n support:

- We've added a CONSUL_INTL_DEBUG env/cookie variable to turn off variable interpolation within the t helper so you can see which variables are being interpolated.
- We've added a CONSUL_INTL_LOCALE env/cookie which currently supports two 'pseudo-locales' - la-fk (fake latin) and - (just dashes) either of which will make it easier to see what has not been localized until we can add prettier rules to prevent adding any copy into templates at all. I would guess if we ever translated the app we would use this for looking at things whilst developing also - but as yet I've not adding anything for that here seeing as we don't translate anything.
Both variables are dev-time only and all code for this is removed from the production build.
2021-07-07 10:26:12 +01:00
..
abilities ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
adapters ui: Auth Methods - Create Binding Rules tab (#9914) 2021-03-26 11:47:47 -04:00
components ui: CopyButton amends (#10511) 2021-07-06 16:43:31 +00:00
controllers ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
decorators ui: Serf Health Check warning notice (#10194) 2021-05-13 10:37:46 +00:00
filter/predicates ui: Serf Health Check warning notice (#10194) 2021-05-13 10:37:46 +00:00
forms ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
helpers ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
initializers ui: CSP Improvements (#9847) 2021-03-17 10:46:21 +00:00
instance-initializers ui: Add intl debug helpers (#10513) (#10561) 2021-07-07 10:26:12 +01:00
locations ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
mixins ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
models ui: Create and use collapsible notices component (#10270) 2021-05-27 08:01:01 -04:00
modifiers ui: CopyButton amends (#10511) 2021-07-06 16:43:31 +00:00
routes ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
routing ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00
search/predicates ui: Serf Health Check warning notice (#10194) 2021-05-13 10:37:46 +00:00
serializers ui: Auth Methods - Create Binding Rules tab (#9914) 2021-03-26 11:47:47 -04:00
services ui: CopyButton amends (#10511) 2021-07-06 16:43:31 +00:00
sort/comparators ui: Reformat MaxTokenTTL to sortBy as an integer (#9969) 2021-04-07 12:43:04 -04:00
styles ui: CopyButton amends (#10511) 2021-07-06 16:43:31 +00:00
templates ui: %horizontal-kv-list CSS component (and related) (#10285) 2021-06-21 10:45:38 +00:00
utils ui: Add intl debug helpers (#10513) (#10561) 2021-07-07 10:26:12 +01: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
formats.js ui: Install ember-intl (#9399) 2020-12-15 18:29:32 +00:00
index.html ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
router.js ui: Support Route optional parameters/segments (#10212) 2021-05-26 16:46:46 +00:00