open-consul/ui/packages/consul-ui/app/utils
John Cowen 8c8443390d
ui: Improve error messaging for when we can't make a slug (#11697)
Ember Data requires the usage of unique ID to identify its records in the frontend, and we use a centralized function to do that for all records. There are occasions where it can't make an ID, usually this is a bug our side, but there are occasions where Consul might not be giving us the data needed to make an ID, for example if a Service comes down to us with a blank Name. Whilst this isn't a problem to be fixed in the UI, I thought we could make an improvement here by giving a little more info as to why the UI cannot make a unique ID.

This is currently semi-hidden away in the javascript console, but we could potentially surface this in the UI itself as a larger task. I figured this smaller task could help folks in the meantime if they hit upon this as they might open up the javascript console themselves to see whats up and they'd at least get this extra clue.
2021-12-06 16:11:57 +00:00
..
dom ui: Don't cache event sources following a 401 (#11681) 2021-12-01 13:24:52 +00:00
editor ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
filter ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
form ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
helpers ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
http ui: Ensure dc selector correctly shows the currently selected dc (#11380) 2021-10-26 19:26:04 +01:00
intl ui: [BUGFIX] Replace all replaceAll with split.join for older browsers without replaceAll (#9715) 2021-02-11 09:49:39 +00:00
routing ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
search ui: Fuzzy and Regex searching (#9424) 2020-12-18 10:38:15 +00:00
storage ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
ticker ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
ascend.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
atob.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
btoa.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
callable-type.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
create-fingerprinter.js ui: Improve error messaging for when we can't make a slug (#11697) 2021-12-06 16:11:57 +00:00
distance.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
get-environment.js ui: Pass primary dc through to uiserver (#11317) 2021-10-26 10:30:17 -04:00
get-form-name-property.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
isFolder.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
keyToArray.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
left-trim.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
maybe-call.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
merge-checks.js ui: Keep track of previous node checks and avoid adding them twice (#9661) 2021-01-29 15:57:47 +00:00
minimizeModel.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
non-empty-set.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
promisedTimeout.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
right-trim.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
templatize.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
tomography.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
ucfirst.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
update-array-object.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00