hc-github-team-nomad-core
f2c70e9d51
Backport of [ui] Search results are overloading filter with sorted results into release/1.6.x ( #18105 )
...
This pull request was automerged via backport-assistant
2023-07-31 12:07:52 -05:00
hc-github-team-nomad-core
51b8993180
backport of commit 67e5b084a1ea525cc5a2b93c2f0ed890d1af0ce3 ( #18052 )
...
This pull request was automerged via backport-assistant
2023-07-24 15:00:43 -05:00
Luiz Aoqui
21cf30178a
ui: handle errors from unimplemented services ( #18020 )
...
When a request is made to an RPC service that doesn't exist (for
example, a cross-region request from a newer version of Nomad to an
older version that doesn't implement the endpoint) the application
should return an empty list as well.
2023-07-21 09:20:00 -04:00
hc-github-team-nomad-core
63316363c9
Backport of ui: handle node pool requests to older regions into release/1.6.x ( #18024 )
...
This pull request was automerged via backport-assistant
2023-07-21 08:17:08 -05:00
hc-github-team-nomad-core
180ea2df9c
backport of commit ddd74c051a4f02a2ace43abd6e0617b8ea3c1192 ( #18012 )
...
This pull request was automerged via backport-assistant
2023-07-20 13:16:53 -05:00
hc-github-team-nomad-core
36163c36f8
backport of commit 6e4603e8ba503cd08279f50da1a4c0a5539a9768 ( #18011 )
...
This pull request was automerged via backport-assistant
2023-07-20 13:16:34 -05:00
hc-github-team-nomad-core
d3b1d58c4d
backport of commit 715764bfe448fc6a80ca3858377b4f760d39c611 ( #18010 )
...
This pull request was automerged via backport-assistant
2023-07-20 11:38:52 -05:00
hc-github-team-nomad-core
963b2d97b2
Backport of [ui] When a purged/404-ing job is detected, boot the user out of that job and back to the index into release/1.6.x ( #18009 )
...
This pull request was automerged via backport-assistant
2023-07-20 11:37:06 -05:00
hc-github-team-nomad-core
642cad50d8
Backport of ui: fix Topology node state filter into release/1.6.x ( #18000 )
...
This pull request was automerged via backport-assistant
2023-07-19 15:38:55 -05:00
Phil Renaud
5cc0b39683
Report shows a 3rd party browser extension puts a banner at the top of page and awkwardly shifts nav; this fixes that ( #17783 )
2023-06-30 17:09:42 -04:00
Phil Renaud
d559072e48
[ui] Text wrap long lines of code and logs ( #17754 )
...
* Text and code wrapping as a localStorage var
* task-log uses wrapping and kb shortcut
* Word wrap keyboard labels
* Wrapper as a toggle not a button
* Changelog and fixed an extra space trailing log lines
* Moves toggle to inside
* Acceptance tests for ww and toggle click
2023-06-30 17:07:57 -04:00
Phil Renaud
01d6a94eac
[ui] HCL-in-UI: Re-arrange buttons, add save-as-file ( #17752 )
...
* Move buttons over as expected
* Let a user download file locally
* test mock fns for jobeditor
* Changelog
2023-06-28 21:57:03 -04:00
Phil Renaud
5f8c4b3d48
Link to allocations.allocation by ID reference, not by model ( #17753 )
2023-06-28 10:00:59 -04:00
Phil Renaud
bd1ec095d3
[ui] Move Placement Failures notification above job status panel ( #17750 )
...
* Moves the Placement Failures box above job status, should it exist
* Move it for non-service job-types as well
2023-06-27 19:32:51 -04:00
Phil Renaud
7a60c69b73
[ui] links to allocations explicitly go through their route model hook ( #17737 )
...
* links to allocations explicitly go through their route model hook
* Acceptance test to make sure alloc clicking loads alloc endpoint obj
2023-06-27 10:01:50 -04:00
Phil Renaud
32af971bcb
Node Pools moved to after Type in jobs index columns ( #17738 )
2023-06-26 17:00:01 -04:00
Phil Renaud
81edceb2de
[ui] alignment and spacing for job status panel ( #17708 )
...
* CSS alignment and spacing for job status panel
* Only fade the count, not the legend icon, when count is 0
* Unrounded version corners
* changelog
* css has to only remove border radius when count is present
* Seed stabilization for services test
* Try consolidating the testfixes from before
* Total test isolation and bonus logs
* Drop the isolation but keep the logs
* Remove bonus logging
2023-06-26 12:18:12 -04:00
Phil Renaud
7373261b58
[ui] Versions added to deploying status panel ( #17629 )
...
* Versions added to deploying status panel
* Wrap the running and healthy title in a span
* Versions in the deployment UI next to titles
* Version count and label styles updated
2023-06-22 16:19:41 -04:00
Phil Renaud
cf21a246c0
[ui, deployments] job status panel legend: counts of 0 don't get links ( #17644 )
2023-06-22 14:40:11 -04:00
Jai
7103ce1957
ui: create node pool model ( #17301 )
...
Co-authored-by: Phil Renaud <phil@riotindustries.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-06-22 13:11:44 -04:00
Luiz Aoqui
9f5c02d947
ui: add tooltips to the Topology labels ( #17647 )
...
Add tooltips to labels in nodes and datacenters for the Topology view
page to clarify what each value represents.
2023-06-22 10:33:42 -04:00
Luiz Aoqui
3d761e712b
ui: remove redundant columns from child job table ( #17645 )
...
Namespace, job type, and priority are already available from the parent
job header, so displaying them in the table caused it to be too crowded.
2023-06-22 10:22:41 -04:00
Phil Renaud
94507cc7b7
[ui] General status for steady-state jobs ( #17599 )
...
* Degraded vs Healthy etc. status
* Standardize the look of a deploying status panel
* badge styles
* remove job.status from title component in favour of in-panel status
* Remove a redundant check
* re-attrd fail-deployment button considered
2023-06-21 11:57:28 -04:00
Phil Renaud
d5a2671969
[ui] Keyboard shortcuts for Promote Canary and Fail Deployment ( #17568 )
2023-06-20 15:43:32 -04:00
Phil Renaud
7bac272095
Specific health_unknown getter that only looks at running allocs ( #17566 )
2023-06-20 15:03:46 -04:00
Phil Renaud
8e41380f72
[ui, deployments] Promote Canary and Unhealthy Allocations in the deployment status panel ( #17547 )
...
* A wild health status appears
* autoPromote notification conditions
* Legend fixes etc
* Acceptance tests for new canary alerts
2023-06-19 12:06:18 -04:00
Phil Renaud
7cfe2d09e0
Deployment history timeline styling ( #17524 )
2023-06-15 14:42:32 -04:00
Phil Renaud
7400c37b89
[ui] Job status panel: tooltips on individual allocs ( #17514 )
...
* Tooltip on individual allocs in the panel
* Isolate allocation cells to their own component
* Tipsy trigger
* Aria label for failed-or-lost tooltips
* Buildfix
* Try adding percy exec back to exam run
2023-06-14 12:45:36 -04:00
Phil Renaud
6a9df6e3ab
[ui] Don't show a service as healthy when its parent alloc is not running ( #17465 )
...
* Fix: dont show a service as healthy when its parent alloc is not running
* Test for Health Unknown
2023-06-09 15:43:11 -04:00
Phil Renaud
52772ab0c0
Text type to password type input on profile sign-in page ( #17345 )
2023-05-30 16:58:34 -04:00
Phil Renaud
038d53c58f
Observe newlines when displaying variables ( #17343 )
2023-05-30 16:58:16 -04:00
Seth Hoenig
acfdf0f479
compliance: add headers with fixed copywrite tool ( #17353 )
...
Closes #17117
2023-05-30 09:20:32 -05:00
Phil Renaud
294aa4bfe7
[ui] A few variables-ui-related bugfixes ( #17319 )
...
* A few variable-adding bugfixes
* Disable Delete button if only one KV is left, and remove entity warnings on Add More
2023-05-25 17:11:13 -04:00
Phil Renaud
98aa88c739
[ui, deployments] Show a "Latest Deployment Status" cell within the Job Status panel on steady service jobs ( #17246 )
...
* Failed or lost cell condensed
* Latest Deployment cell
* Stylistic changes and deploying state fixup
* Rewritten tooltip message and updated lost/failed tests
* failed-or-lost cell updates to job status panel acceptance tests
2023-05-25 14:20:48 -04:00
Phil Renaud
46239e1e80
[ui, deployments] Add status panel to child jobs ( #17217 )
...
* Treated same-route as sub-route and didnt cancel watchers
* Adds panel to child jobs and sub-sorts
* removed the safety check in module-for-job tests
* [ui] Adds status panel to Sysbatch jobs (#17243 )
* In working out periodic/param child jobs, realized the intersection with sysbatch is high enough that it ought to be worked on now
* Further removal of jobclientstatussummary
* Explicitly making mocked jobs in no-deployment mode
* remove last remnants of job-client-status-summary component
* Screwed up my sorting order a few commits ago; this corrects it
* noActiveDeployment gonna be the death of me
2023-05-19 15:51:35 -04:00
Phil Renaud
0b729e4bb9
Fixes to scheduling-filtering-in-ui ( #17244 )
2023-05-18 17:38:34 -04:00
Phil Renaud
7e56ca62d1
[ui] Adds a "Scheduling" filter to the job.allocations page ( #17227 )
...
* Basic filter concept
* Make sure NextAllocation gets sent up with allocation stub
2023-05-18 16:24:41 -04:00
Jai
b0b0b22f0f
ui: add option to filter for jobs that are packs ( #17226 )
...
* refact: update job model
* refact: update view layer
* refact: update test
2023-05-18 12:47:11 -04:00
Phil Renaud
552dc06b1d
[ui] Latest Deployment component removed ( #17192 )
...
* Latest Deployment component removed
* Integration test selector update
2023-05-17 16:59:42 -04:00
Phil Renaud
50a35143c9
[ui, deployments] Fix a bug where watchers on a parent (periodic) job would continue on a child route ( #17214 )
...
* Treated same-route as sub-route and didnt cancel watchers
* Changelog
2023-05-17 16:36:15 -04:00
Phil Renaud
817b2cab9b
[ui] Remove unnecessary subnav for parent jobs ( #17190 )
...
* Nest job subnav in a parent-check
* Move the evaluation tab test to withn an else of the children condition
2023-05-16 16:07:12 -04:00
Phil Renaud
a36af08ea6
[ui, deployments] Deployment history on steady state ( #17167 )
...
* Deployment history on steady state
* de-hds after chat
2023-05-12 16:49:40 -04:00
Phil Renaud
9a5d67d475
[ui] Keyboard shortcuts to switch regions ( #17169 )
...
* Regions keynav
* Dont show if you only have a single region (global by default)
2023-05-12 11:46:00 -04:00
Jai
27f0d104e5
16664/upgrade ( #17158 )
...
* chore: upgrade
Upgrade @babel/helper-string-parserprop-types
* chore: add resolution
* chore: update component API for breaking changes
* chore: update arguments
* api: forgive user for pass wrong args
* chore: update tests
* chore: update yarn lock
* chore: upgrade to Glimmer component
* styling: add properties to component invocation
* chore: add inset styles
2023-05-12 09:54:13 -04:00
Jai
ce29e55b7a
chore: write js doc ( #17156 )
...
* chore: write jsdoc comments
* chore: update comments
2023-05-11 15:30:54 -04:00
Phil Renaud
a910e4be1c
[ui, deployments] Denominator based on completed allocations for batch jobs ( #17147 )
...
* Denominator based on completed allocations for batch jobs
* Test for denominatored batch job change
2023-05-11 10:23:23 -04:00
Jai
24afd86cc5
ui: add sign-in link on err page ( #17140 )
2023-05-11 08:24:58 -04:00
Phil Renaud
25b66e249d
[ui] Batch jobs, aside from child jobs, get the new status panel ( #17118 )
...
* Batch jobs, aside from child jobs, get the new status panel
* Clean up the imported jobAllocStatuses
* Note for mirage that batch jobs now have a historical status panel
* Batch job test for complete status
* Parameterized and periodic child jobs get the panel treatment
* Undo parameterized and periodic child test situations
2023-05-10 16:59:33 -04:00
Phil Renaud
681ea73913
Versions returned as an array rather than an object now, pending changed to unknown, and sorted ( #17150 )
2023-05-10 15:40:54 -04:00
Jai
08d97a19ca
feat: visualize HCL Job Specification in the Nomad UI jobs.job.definition
view ( #16669 )
...
* ui: Toggle for `read-only` view (#16279 )
* ui: model update for specification
* style: add styling for select
* style: add styling for select
* refact: add spec to view
* refact: update component API
* test: refactor for new UI state
* refact: clean conditional
* refact: update component API for prop
* chore: correct naming
* chore: remove `fn` helper
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
* update `default` Mirage scenario (#16496 )
* chore: update mirage scenario:
* ui: conditionally render toggle button (#16497 )
* chore: update css variable name (#16498 )
---------
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
* ui: Display JSON view of variables associated to job specification (#16570 )
* chore: move fixture to util
* chore: update tests:
* ui: display variables table
* chore: add mirage fixture (#16572 )
* ui: regex for job spec parse (#16668 )
* ui: remove variable table (#16670 )
* ui: notify user if specification has variables (#16671 )
* ui: regex for job spec parse
* chore: deprecate variable references
* chore: update mirage
* ui: add notification
* test: add test coverage for parse method (#16590 )
* refact: `JobEditor` reactive query parameters (#16710 )
* refact: add query parameter
* refact: move toggle action to controller
* ui: remove toggle behavior in `JobEditor` (#16711 )
* refact: rename logic for select
* chore: instantiate qp in route
* refact: uniform alerts (#16715 )
* style: buffer between alert and header
* refact: extract alerts into a component
* chore: update tests for qp
* chore: defensive logic for app controller
* refact: move `edit` state to controller (#16725 )
* refact: move edit state to controller
* refact: handle edit state (#16731 )
* refact: handle edit state
* ui: warning message (#16732 )
* ui: warning message
* ui: enable editing of HCL vars in the UI (#16734 )
* enable editing of HCL vars
* refact: default qp logic
* refact: alert condition
* refact: Pass `variables` as string (#16849 )
* ui: Toggle for `read-only` view (#16279 )
* ui: model update for specification
* style: add styling for select
* style: add styling for select
* refact: add spec to view
* refact: update component API
* test: refactor for new UI state
* refact: clean conditional
* refact: update component API for prop
* chore: correct naming
* chore: remove `fn` helper
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
* update `default` Mirage scenario (#16496 )
* chore: update mirage scenario:
* ui: conditionally render toggle button (#16497 )
* chore: update css variable name (#16498 )
---------
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
* refact: `JobEditor` reactive query parameters (#16710 )
* refact: add query parameter
* refact: move toggle action to controller
* ui: remove toggle behavior in `JobEditor` (#16711 )
* refact: rename logic for select
* chore: instantiate qp in route
* refact: uniform alerts (#16715 )
* style: buffer between alert and header
* refact: extract alerts into a component
* chore: update tests for qp
* chore: defensive logic for app controller
* refact: move `edit` state to controller (#16725 )
* refact: move edit state to controller
* refact: handle edit state (#16731 )
* refact: handle edit state
* ui: warning message (#16732 )
* ui: warning message
* ui: enable editing of HCL vars in the UI (#16734 )
* enable editing of HCL vars
* refact: default qp logic
* refact: alert condition
* refact: variables as string
* style: revert styling change
---------
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
* bug: correctly edit variables (#16989 )
* ui: visualize variables (#16987 )
* ui: fetchRawSpecification
* refact: integrate new model method
* test: fetchRaw unit
* styling: enable height on cm
* chore: update copy
* feat: visual variables
* chore: conditional render info txt
* refact: add mirage endpoint
* refact: update test for new schema
* refact: job submit flow (#17015 )
* refact: job update logic
* chore: remove dead code
* bug: update `job.run` and `job.update` adapter methods (#17055 )
* refact: update adapter
* chore: update api usage
* styling: UX requests (#17064 )
* refact: update adapter
* chore: update api usage
* styling: disable toggle w text
* styling: stick button
* style: space out alerts
* chore: autofocus on first editor
* bug: dismiss alert
* chore: add jsdoc and assertion check
* chore: update mirage for Vercel (#17054 )
* chore: mirage logic for vercel deploy
* chore: update test for mirage change
* refact: API refactoring (#17083 )
* refact: udpate for req schema
* refact: update for variable flags and literal
* bug: visualize job model not derived state
* chore: update copy
* chore: fix incorrect copy
* chore: deprecate variables derived state
* chore: update copy
* feat: enable toggle on edit
* chore: prettify
* refact: move conditional
---------
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-05-09 11:03:52 -04:00