open-nomad/ui/app/components
Charlie Voiselle d93ba0cf32
Add warnings to var put for non-alphanumeric keys. (#15933)
* Warn when Items key isn't directly accessible

Go template requires that map keys are alphanumeric for direct access
using the dotted reference syntax. This warns users when they create
keys that run afoul of this requirement.

- cli: use regex to detect invalid indentifiers in var keys
- test: fix slash in escape test case
- api: share warning formatting function between API and CLI
- ui: warn if var key has characters other than _, letter, or number

---------
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-02-13 16:14:59 -05:00
..
breadcrumbs [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
chart-primitives ui: prettify js files 2022-01-20 09:54:56 -05:00
das Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
evaluation-sidebar [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
exec ui: prettify js files 2022-01-20 09:54:56 -05:00
fs Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
global-search ui: fix navigation for namespaced jobs in search and job version (#15906) 2023-01-26 16:03:07 -05:00
job-deployment Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-page Adds purge job button to UI when job stopped 2022-10-12 08:14:48 -07:00
list-accordion Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
list-pagination Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
list-table Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
primary-metric ui: prettify js files 2022-01-20 09:54:56 -05:00
providers Epic: Evaluation Detail Sidebar (#12370) 2022-04-05 14:34:37 -04:00
single-select-dropdown ui: add namespace filter to variables.index (#13618) 2022-07-22 16:05:35 -04:00
topo-viz ui: prettify js files 2022-01-20 09:54:56 -05:00
variable-form [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
.gitkeep
addon-copy-button.js UI: Add copy button for client/allocation UUIDs (#5926) 2019-07-15 12:14:32 -05:00
agent-monitor.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
allocation-row.js refact: only reload job if job has no taskGroups (#14760) 2022-09-30 16:14:40 -04:00
allocation-service-sidebar.hbs [ui] Adding canary_tags the web UI (#15458) 2022-12-05 14:50:17 -05:00
allocation-service-sidebar.js [ui] task logs in sidebar (#14612) 2022-09-22 10:58:52 -04:00
allocation-stat.js ui: prettify js files 2022-01-20 09:54:56 -05:00
allocation-status-bar.js [ui] Disconnected Clients: "Unknown" allocations in the UI (#12544) 2022-04-22 11:25:02 -04:00
allocation-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
app-breadcrumbs.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
attributes-section.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
breadcrumb.js fix: update breadcrumb tests according to new breadcrumb structure 2021-12-21 07:46:28 -05:00
breadcrumbs.hbs feat: create bucket service to register, deregister and store breadcrumbs 2021-12-21 07:42:26 -05:00
breadcrumbs.js fix: delete old breadcrumbs and replace with bucket 2021-12-21 07:45:24 -05:00
children-status-bar.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
client-node-row.js ui: prettify js files 2022-01-20 09:54:56 -05:00
client-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
copy-button.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
distribution-bar.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
drain-popover.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
exec-terminal.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
flex-masonry.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
forbidden-message.js [ui] Make the not-auth'd messages in the app less token-centric (#15557) 2022-12-20 11:02:44 -05:00
gauge-chart.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
global-header.js Label for the Web UI (#16006) 2023-02-02 16:29:04 -05:00
gutter-menu.js ui: fix navigation for namespaced jobs in search and job version (#15906) 2023-01-26 16:03:07 -05:00
hamburger-menu.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
image-file.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
job-client-status-bar.js [ui] Disconnected Clients: "Unknown" allocations in the UI (#12544) 2022-04-22 11:25:02 -04:00
job-client-status-row.js [ui] Disconnected Clients: "Unknown" allocations in the UI (#12544) 2022-04-22 11:25:02 -04:00
job-deployment.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-deployments-stream.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-diff-fields-and-objects.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-diff.js ui: prettify js files 2022-01-20 09:54:56 -05:00
job-dispatch.js fix: job-dispatch tests after namespace changes 2022-02-16 15:22:41 +01:00
job-editor.js ui: glimmerize JobEditor (#16070) 2023-02-13 15:51:55 -05:00
job-page.js feat: create job-page contextual component 2022-01-24 11:02:04 -05:00
job-row.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
job-service-row.js [ui] Service Discovery: provide a quick link to the Consul UI if available (#14537) 2022-09-12 10:00:30 -04:00
job-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
job-version.js ui: fix navigation for namespaced jobs in search and job version (#15906) 2023-01-26 16:03:07 -05:00
job-versions-stream.js ui: prettify js files 2022-01-20 09:54:56 -05:00
json-viewer.js Edit Secure Variables as JSON (#13461) 2022-07-11 13:34:06 -04:00
keyboard-shortcuts-modal.hbs [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
keyboard-shortcuts-modal.js Deregister keyboard blur handler (#14570) 2022-09-13 14:12:52 -04:00
lifecycle-chart-row.js ui: task lifecycle restart all tasks (#14223) 2022-08-24 18:43:44 -04:00
lifecycle-chart.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
line-chart.js Recompute Y Axis on data change (#15381) 2022-11-28 09:56:47 -05:00
list-accordion.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
list-pagination.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
list-table.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
loading-spinner.js Update loading spinner to be logo-based (#9106) 2020-10-15 16:05:58 -05:00
metadata-editor.hbs Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
metadata-kv.hbs Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
metadata-kv.js Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
multi-select-dropdown.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
page-layout.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
page-size-select.js Remove superfluous uses of Object.freeze 2020-06-15 10:15:11 -05:00
placement-failure.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
plugin-allocation-row.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
plugin-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
policy-editor.hbs [ui] Policies UI (#13976) 2022-12-06 12:45:36 -05:00
policy-editor.js [ui] Token management interface on policy pages (#15435) 2022-12-15 13:11:28 -05:00
popover-menu.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
profile-navbar-item.hbs [ui, epic] SSO and Auth improvements (#15110) 2022-11-28 10:44:52 -05:00
profile-navbar-item.js [ui, epic] SSO and Auth improvements (#15110) 2022-11-28 10:44:52 -05:00
proxy-tag.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
region-switcher.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
reschedule-event-row.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
safe-link-to.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
scale-events-chart.js ui: prettify js files 2022-01-20 09:54:56 -05:00
search-box.js Wire up the +/- buttons in task group rows to the job scale action 2020-06-18 22:08:28 -07:00
server-agent-row.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
server-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
service-status-bar.js Switch to the 'running' green for health checks (#14799) 2022-10-04 16:59:50 -04:00
service-status-indicator.hbs [ui] Service Healthchecks: styles for pseudo-timestamp axis (#14677) 2022-09-23 16:53:28 -04:00
stats-time-series.js ui: prettify js files 2022-01-20 09:54:56 -05:00
status-cell.hbs feat: extract status cell logic into component 2022-01-28 09:35:44 -05:00
stepper-input.js ui: prettify js files 2022-01-20 09:54:56 -05:00
storage-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
streaming-file.js [ui] task logs in sidebar (#14612) 2022-09-22 10:58:52 -04:00
task-context-sidebar.hbs [ui] Keyboard shortcuts for widening and narrowing task sidebar (#15807) 2023-01-17 12:08:41 -05:00
task-context-sidebar.js [ui] Keyboard shortcuts for widening and narrowing task sidebar (#15807) 2023-01-17 12:08:41 -05:00
task-group-row.js ui: fix an error when navigating to a task group (#12832) 2022-05-02 11:01:19 -04:00
task-log.js [ui] task logs in sidebar (#14612) 2022-09-22 10:58:52 -04:00
task-row.js [ui, bugfix] Link fix for volumes where per_alloc=true (#12713) 2022-04-21 13:57:18 -04:00
task-sub-row.hbs [ui] task logs in sidebar (#14612) 2022-09-22 10:58:52 -04:00
task-sub-row.js [ui] task logs in sidebar (#14612) 2022-09-22 10:58:52 -04:00
task-subnav.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
toggle.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
tooltip.js [ui] Token management interface on policy pages (#15435) 2022-12-15 13:11:28 -05:00
topo-viz.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
trigger.hbs feat: create trigger component 2021-12-21 07:46:25 -05:00
trigger.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
two-step-button.js ui: update component api to accept callback fns to be fired on cancel/prompt (#13414) 2022-07-11 13:34:05 -04:00
variable-form.hbs [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
variable-form.js Add warnings to var put for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
variable-paths.hbs Variables-specific keyboard commands (#14165) 2022-08-17 14:44:22 -04:00
variable-paths.js UI variables made to be unique by namespace and path (#14072) 2022-08-15 11:56:09 -04:00