open-nomad/ui/app/components
hc-github-team-nomad-core e9b6be87e2
[ui] Job Variables page (#17964) (#18106)
* Bones of a component that has job variable awareness

* Got vars listed woo

* Variables as its own subnav and some pathLinkedVariable perf fixes

* Automatic Access to Variables alerter

* Helper and component to conditionally render the right link

* A bit of cleanup post-template stuff

* testfix for looping right-arrow keynav bc we have a new subnav section

* A very roundabout way of ensuring that, if a job exists when saving a variable with a pathLinkedEntity of that job, its saved right through to the job itself

* hacky but an async version of pathLinkedVariable

* model-driven and async fetcher driven with cleanup

* Only run the update-job func if jobname is detected in var path

* Test cases begun

* Management token for variables to appear in tests

* Its a management token so it gets to see the clients tab under system jobs

* Pre-review cleanup

* More tests

* Number of requests test and small fix to groups-by-way-or-resource-arrays elsewhere

* Variable intro text tests

* Variable name re-use

* Simplifying our wording a bit

* parse json vs plainId

* Addressed PR feedback, including de-waterfalling

Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-08-01 09:59:39 -04:00
..
breadcrumbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
chart-primitives [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
das [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
evaluation-sidebar [ui] Fixed: Evaluations sidebar/response not scrollable (#16960) 2023-04-27 09:49:18 -04:00
exec [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fs [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
global-search [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-deployment [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-editor compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
job-page compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
job-status Link to allocations.allocation by ID reference, not by model (#17753) 2023-06-28 10:00:59 -04:00
list-accordion [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
list-pagination [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
list-table [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
primary-metric [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
providers [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
single-select-dropdown [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
topo-viz [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
variable-form [ui] A few variables-ui-related bugfixes (#17319) 2023-05-25 17:11:13 -04:00
.gitkeep sync 2017-09-19 10:08:23 -05:00
addon-copy-button.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent-monitor.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocation-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocation-service-sidebar.hbs [ui] Don't show a service as healthy when its parent alloc is not running (#17465) 2023-06-09 15:43:11 -04:00
allocation-service-sidebar.js [ui] Don't show a service as healthy when its parent alloc is not running (#17465) 2023-06-09 15:43:11 -04:00
allocation-stat.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocation-status-bar.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocation-subnav.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
app-breadcrumbs.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
attributes-section.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
breadcrumb.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
breadcrumbs.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
breadcrumbs.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
children-status-bar.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
client-node-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
client-subnav.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
conditional-link-to.hbs compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
conditional-link-to.js compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
copy-button.js 16664/upgrade (#17158) 2023-05-12 09:54:13 -04:00
distribution-bar.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
drain-popover.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
editable-variable-link.hbs [ui] Job Variables page (#17964) (#18106) 2023-08-01 09:59:39 -04:00
exec-terminal.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
flex-masonry.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
forbidden-message.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
gauge-chart.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
global-header.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
gutter-menu.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
hamburger-menu.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
image-file.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-client-status-bar.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-client-status-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-deployment.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-deployments-stream.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-diff-fields-and-objects.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-diff.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-dispatch.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-editor.js [ui] Text wrap long lines of code and logs (#17754) 2023-06-30 17:07:57 -04:00
job-page.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-service-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-subnav.js [ui] Remove unnecessary subnav for parent jobs (#17190) 2023-05-16 16:07:12 -04:00
job-version.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job-versions-stream.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
json-viewer.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
keyboard-shortcuts-modal.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
keyboard-shortcuts-modal.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
lifecycle-chart-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
lifecycle-chart.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
line-chart.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
list-accordion.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
list-pagination.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
list-table.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
loading-spinner.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
metadata-editor.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
metadata-kv.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
metadata-kv.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
multi-select-dropdown.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
page-layout.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
page-size-select.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
placement-failure.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugin-allocation-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugin-subnav.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
policy-editor.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
policy-editor.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
popover-menu.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
profile-navbar-item.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
profile-navbar-item.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
proxy-tag.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
region-switcher.js [ui] Keyboard shortcuts to switch regions (#17169) 2023-05-12 11:46:00 -04:00
reschedule-event-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
safe-link-to.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scale-events-chart.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
search-box.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server-agent-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server-subnav.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service-status-bar.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service-status-indicator.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
stats-time-series.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
status-cell.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
stepper-input.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
storage-subnav.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
streaming-file.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
task-context-sidebar.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
task-context-sidebar.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
task-group-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
task-log.js [ui] Text wrap long lines of code and logs (#17754) 2023-06-30 17:07:57 -04:00
task-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
task-sub-row.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
task-sub-row.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
task-subnav.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
toggle.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tooltip.js feat: visualize HCL Job Specification in the Nomad UI `jobs.job.definition` view (#16669) 2023-05-09 11:03:52 -04:00
topo-viz.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
trigger.hbs [ui, compliance] Remove the newline after .hbs copyright headers (#16861) 2023-04-14 13:08:13 -04:00
trigger.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
two-step-button.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
variable-form.hbs [ui] Job Variables page (#17964) (#18106) 2023-08-01 09:59:39 -04:00
variable-form.js [ui] Job Variables page (#17964) (#18106) 2023-08-01 09:59:39 -04:00
variable-paths.hbs [ui] Job Variables page (#17964) (#18106) 2023-08-01 09:59:39 -04:00
variable-paths.js [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00