Commit Graph

1907 Commits

Author SHA1 Message Date
Jai Bhagat ede70ab0d9 fix: delete old breadcrumbs and replace with bucket 2021-12-21 07:45:24 -05:00
Jai Bhagat 346c436a6e fix: delete state from routes and move to controllers and add renderless component to templates 2021-12-21 07:45:12 -05:00
Jai Bhagat 0ffd638d19 feat: create bucket service to register, deregister and store breadcrumbs 2021-12-21 07:42:26 -05:00
Jai 90cdc7b47a
Merge pull request #11578 from hashicorp/f-ui/clickable-links-allocs
clickable links in allocations chart
2021-12-20 10:08:01 -05:00
Jai 93d5ef596f
Merge pull request #11545 from hashicorp/f-ui/add-alloc-filters-on-table
Add Allocation Filters in Client View
2021-12-18 09:39:53 -05:00
Jai 2b7fb2c5bd
Merge pull request #11544 from hashicorp/f-ui/add-filters-to-allocs
Add filters to Allocations
2021-12-18 09:38:28 -05:00
Luiz Aoqui dad4a0984b
ui: fix action call to set filter query param 2021-12-17 20:41:53 -05:00
Luiz Aoqui 1c7c1f3222
ui: fix volume serializer tests 2021-12-17 20:23:28 -05:00
Luiz Aoqui 5054a6d97f
ui: fix allocation serializer tests 2021-12-17 20:02:59 -05:00
Luiz Aoqui c7dafba66e
ui: fix job allocation filter by status, remove version filter, and add tests 2021-12-17 19:50:43 -05:00
Luiz Aoqui fdc023019e
ui: fix file formating 2021-12-17 19:47:25 -05:00
Luiz Aoqui e6a202b408
ui: fix linting 2021-12-17 18:55:41 -05:00
Luiz Aoqui dbb47b5bc9
ui: fix task group alloc filter and add tests 2021-12-17 18:49:47 -05:00
Luiz Aoqui 1ae40fcc37
ui: display empty message in the client details page if there are no allocations to show 2021-12-17 18:49:47 -05:00
Luiz Aoqui 660f4a8b1e
ui: fix client details page alloc status filter and replace task group with namespace and job 2021-12-17 18:49:42 -05:00
Jai 416a40bbcc
fix: more descriptive parameters in sort function
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2021-12-17 09:46:29 -05:00
Jai e813f27b7b
fix: remove eslint disable indent 2021-12-17 09:36:42 -05:00
Jai Bhagat 9d9042f95e feat: add sliceClick to job-page/summary 2021-12-16 11:24:03 -05:00
Jai Bhagat d508c10d8d chore: prettify job-page/summary 2021-12-16 11:23:05 -05:00
Luiz Aoqui 92eccda949
ui: revert default mirage scenario to topoMedium and set product links in all scenarios (#11649) 2021-12-08 19:13:22 -05:00
Luiz Aoqui b59a333727
UI: Add tests for prodcut links (#11645) 2021-12-07 19:51:17 -05:00
Michael Klein c3d79d2e35
ui: cleanup server start script package.json (#11622) 2021-12-07 09:01:25 -05:00
Tim Gross 39acac33a0
ui: change Consul/Vault base URL field name (#11589)
Give ourselves some room for extension in the UI configuration block
by naming the field `ui_url`, which will let us have an `api_url`.
Fix the template path to ensure we're getting the right value from the
API.
2021-11-30 13:20:29 -05:00
Jai Bhagat 7241a8b24e fix: add job version filter 2021-11-23 18:24:01 -05:00
Jai Bhagat 203940e26d fix: filter callbacks use different param 2021-11-23 17:57:35 -05:00
Jai Bhagat 0341171a53 feat: 🎸 add consul and vault links to global header 2021-11-22 16:59:22 -05:00
Jai Bhagat 3f78c6e717 feat: add filters to alloc table in task group view 2021-11-20 15:07:27 -05:00
Jai Bhagat 2e08f71e5d fix: re-order multiselect and search boxes 2021-11-20 14:48:28 -05:00
Jai Bhagat 2857e703d2 feat: add taskgroup filter to alloc table 2021-11-20 12:18:02 -05:00
Jai Bhagat 78fd8e350b feat: add filter client allocations table 2021-11-20 11:22:48 -05:00
Jai Bhagat 883502fccf disable eslint for indentation 2021-11-20 10:49:31 -05:00
Jai Bhagat 2f0f6fc0fa feat: add taskgroup filter to alloc 2021-11-20 10:30:48 -05:00
Jai Bhagat e3ae0ea7ae feat: add client status filter 2021-11-20 10:21:28 -05:00
Jai Bhagat 8e15b6c12e feat: add status filter to allocations 2021-11-20 10:04:15 -05:00
Tim Gross e729133134
api: return 404 for alloc FS list/stat endpoints (#11482)
* api: return 404 for alloc FS list/stat endpoints

If the alloc filesystem doesn't have a file requested by the List
Files or Stat File API, we currently return a HTTP 500 error with the
expected "file not found" error message. Return a HTTP 404 error
instead.

* update FS Handler

Previously the FS handler would interpret a 500 status as a 404
in the adapter layer by checking if the response body contained
the text  or is the response status
was 500 and then throw an error code for 404.

Co-authored-by: Jai Bhagat <jaybhagat841@gmail.com>
2021-11-17 11:15:07 -05:00
Luiz Aoqui 94b7071c98
ui: upgrade xterm 4.10.0 -> 4.15.0 and xterm-addon-fit 0.3.0 -> 0.5.0 2021-11-05 18:09:20 -04:00
Luiz Aoqui 532d6219df
ui: upgrade testem 3.2.0 -> 3.6.0 2021-11-05 18:09:19 -04:00
Luiz Aoqui 521acf688e
ui: upgrade sass 1.32.6 -> 1.43.4 2021-11-05 18:09:19 -04:00
Luiz Aoqui c6d3950a90
ui: upgrade qunit-dom 1.6.0 -> 2.0.0 2021-11-05 18:09:18 -04:00
Luiz Aoqui 044153275a
ui: upgrade query-string 5.1.1 -> 7.0.1 2021-11-05 18:09:18 -04:00
Luiz Aoqui f3ad191962
ui: upgrade pretender 3.4.3 -> 3.4.7 2021-11-05 18:09:17 -04:00
Luiz Aoqui f96f8ea6f0
ui: upgrade lru_map 0.3.3 -> 0.4.1 2021-11-05 18:09:17 -04:00
Luiz Aoqui 09893b86bb
ui: upgrade lint-staged 10.5.3 -> 11.2.6 2021-11-05 18:09:17 -04:00
Luiz Aoqui ef6b16454f
ui: upgrade glob 4.5.3 -> 7.2.0 2021-11-05 18:09:16 -04:00
Luiz Aoqui a45ef5d47f
ui: minor fixes 2021-11-05 18:09:16 -04:00
Luiz Aoqui 38791ad142
ui: upgrade flat 4.1.1 -> 5.0.2 2021-11-05 18:09:16 -04:00
Luiz Aoqui 6183e22ae2
ui: fix after ugrading d3-selection 2021-11-05 18:09:15 -04:00
Luiz Aoqui beadf3dbe5
ui: upgrade d3-selection 1.4.2 -> 3.0.0 2021-11-05 18:09:14 -04:00
Luiz Aoqui fc3a92102a
ui: upgrade dependency d3-transition 1.3.2 -> 3.0.1 2021-11-05 18:09:14 -04:00
Luiz Aoqui 5d8e08dd7a
ui: upgrade dependency d3-time-format 2.3.0 -> 4.0.0 2021-11-05 18:09:14 -04:00
Luiz Aoqui e21dd8c256
ui: fix tests broken by d3-format upgrade 2021-11-05 18:09:13 -04:00
Luiz Aoqui 6cdc5f349a
ui: upgrade dependency d3-shape 1.3.7 -> 3.0.1 2021-11-05 18:09:13 -04:00
Luiz Aoqui 2288f33e38
ui: fix tests broken by d3-format upgrade 2021-11-05 18:09:13 -04:00
Luiz Aoqui b876b4cad2
ui: upgrade d3-scale 1.0.7 -> 4.0.2 2021-11-05 18:09:12 -04:00
Luiz Aoqui 2f2c65e546
ui: upgrade d3-format 1.4.5 -> 3.0.1 2021-11-05 18:09:12 -04:00
Luiz Aoqui 0c6d95c59c
ui: upgrade d3-axis 1.0.12 -> 3.0.0 2021-11-05 18:09:11 -04:00
Luiz Aoqui b5329b3b5f
ui: upgrade d3-array 2.11.0 -> 3.1.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui eda0ef7aff
ui: upgrade core-js 3.0.0 -> 3.19.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui d47a9f7226
up: upgrade code-js 2.6.12 -> 3.0.0 2021-11-05 18:09:10 -04:00
Luiz Aoqui f9ce6cc536
ui: upgrade codemirror 5.59.2 -> 5.63.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui 86f246e251
ui: upgrade bulma 0.8.2 -> 0.9.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui 5496aa9461
ui: upgrade bulma 0.7.5 -> 0.8.2 2021-11-05 18:09:09 -04:00
Luiz Aoqui 4bbf6fce8d
ui: upgrade bulma 0.6.1 -> 0.7.5 2021-11-05 18:09:09 -04:00
Luiz Aoqui 54870d99ea
ui: update babel-loader 8.2.2 -> 8.2.3 2021-11-05 18:09:08 -04:00
Luiz Aoqui d532479dbc
ui: upgrade anser 1.4.10 -> 2.1.0 2021-11-05 18:09:08 -04:00
Luiz Aoqui a96d43c1ba
upgrade @hashicorp/structure-icons 1.8.1 -> 1.9.2 2021-11-05 18:09:07 -04:00
Luiz Aoqui 0bf0410f3b
ui: upgrade @ember/optional-features 1.3.0 -> 2.0.0 2021-11-05 18:09:07 -04:00
Luiz Aoqui 31dd87a05a
ui: upgrade @babel/plugin-proposal-object-rest-spread @babel/plugin-transform-member-expression-literals 7.12.1 -> 7.16.0 2021-11-05 18:09:06 -04:00
pangratz baabf1cb7f chore: upgrade ember-data to 3.24 2021-11-04 16:27:42 +01:00
pangratz 4623d7d2d0 chore: upgrade ember-data to 3.20 2021-11-04 16:27:42 +01:00
pangratz 021adc5af2 chore: upgrade ember-data to 3.16 (and ember-data-model-fragments to 5.0.0-beta.2) 2021-11-04 16:27:42 +01:00
pangratz 0fdedc344b fix: ensure reloading an allocation doesn't result in an infinite loop
`allocation.reload()` has differnt semantics for reloading, as it will
reload the record in the background and immediately resolve [1].

By using the stores' findRecord and specifying `backgroundReload:
false`, we make sure we await the response from the server and hereby
have the complete record once we continue in the code.

Using `allocation.reoad()` causes and infinite loop when we upgrade
ember-data to 3.16 (and model fragments to 5.0.0-beta.2).

[1] This is, unless `shouldBackgroundReload` on the adapter returns
false, but it's true by default.
2021-11-04 16:27:40 +01:00
pangratz 0978685e71 test: ensure we return a valid JSON response
An empty string is not a valid JSON response which is expected by this
endpoint.
2021-11-04 16:07:06 +01:00
Luiz Aoqui 645a87f6b3
ui: update task group alloc summary chart to use new `SummaryLegendItem` component (#11375) 2021-10-25 11:14:01 -04:00
Luiz Aoqui 2c7bfb7000
ui: persist node drain settings (#11368) 2021-10-22 10:51:31 -04:00
Luiz Aoqui dc5222f6e5
ui: display Nomad version in the Clients and Servers table (#11366) 2021-10-22 10:33:06 -04:00
Luiz Aoqui a7eb72f7d1
ui: use `get` to access job meta value (#11370) 2021-10-22 10:05:48 -04:00
Luiz Aoqui b73ecf684b
ui: update favicon (#11371) 2021-10-22 09:40:38 -04:00
Luiz Aoqui fce1a03897
ui: create tooltip component (#11363) 2021-10-21 13:12:33 -04:00
Luiz Aoqui 362c8c54f4
ui: set * as the default namespace selector (#11357) 2021-10-21 10:24:07 -04:00
Luiz Aoqui dceeccfc5d
ui: add client name tooltip when displaying client ID in tables (#11358) 2021-10-21 10:23:06 -04:00
Luiz Aoqui c0023c6c85
Update job details box (#11288) 2021-10-12 16:36:10 -04:00
Jai 563d609118
System Batch UI, Client Status Bar Chart and Client Tab page view (#11078) 2021-10-07 17:11:38 -04:00
Michael Lange 93124622a3 Migrate: New hierarchical separator 2021-10-06 14:05:32 -07:00
Michael Lange 76255ae0ee Migrate decorator to new file layout 2021-10-06 14:05:32 -07:00
Michael Lange fd7970cf0d Override the app rootURL for storybook
Hopefully this work gets merged into ember-cli-storybook. For the time
being, we get a fork instead.
2021-10-06 14:05:32 -07:00
Michael Lange c78bc5be3e Storybook for ember workaround 2021-10-06 14:05:32 -07:00
Michael Lange 1a6008d015 Upgrade Storybook configuration for v6 2021-10-06 14:05:32 -07:00
Michael Lange 168c395282 Upgrade storybook from 5 to 6 2021-10-06 11:06:57 -07:00
dependabot[bot] 31874f3616
build(deps): bump postcss from 7.0.35 to 7.0.36 in /ui (#10771)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:44:11 -04:00
dependabot[bot] 398c928aa9
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /ui (#10737)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:43:23 -04:00
dependabot[bot] a92c59b042
build(deps): bump ws from 7.4.3 to 7.4.6 in /ui (#10669)
Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:40:31 -04:00
dependabot[bot] 39b7cb0fa1
build(deps): bump ssri from 6.0.1 to 6.0.2 in /ui (#10398)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:39:12 -04:00
dependabot[bot] 08417cf95c
build(deps): bump path-parse from 1.0.6 to 1.0.7 in /ui (#11028)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 18:01:59 -04:00
dependabot[bot] 1df803bfcf
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /ui (#11030)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 17:59:45 -04:00
Luiz Aoqui 305f0b5702
ui: set the job namespace when redirecting after the job is dispatched (#11141) 2021-09-07 12:27:33 -04:00
Luiz Aoqui eb0ed980a5
ui: set namespace when looking for and displaying children jobs (#11110) 2021-09-01 14:40:25 -04:00
Luiz Aoqui c1d1906628
ui: add missing pipe separator in parameterized and periodic jobs (#11020) 2021-08-10 13:48:20 -04:00
Jai 29a7fe6efa
Merge pull request #10666 from hashicorp/b-ui/search-namespaces
ui: Fix fuzzy search namespace-handling
2021-08-10 13:13:20 -04:00
Jai Bhagat a9b9132f35 edit hierarchy to lead with namespace before job 2021-08-10 10:35:36 -04:00