consul/ui/packages/consul-ui/app/utils
John Cowen 05fabbe898
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
filter
form ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
helpers
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
storage
ticker
ascend.js
atob.js
btoa.js
callable-type.js
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
get-environment.js ui: Pass primary dc through to uiserver (#11317) 2021-10-26 10:30:17 -04:00
get-form-name-property.js
isFolder.js
keyToArray.js
left-trim.js
maybe-call.js
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
non-empty-set.js
promisedTimeout.js
right-trim.js
templatize.js
tomography.js
ucfirst.js
update-array-object.js