Commit Graph

2001 Commits

Author SHA1 Message Date
Jai Bhagat 62f63e14d2 ui: turn off no-classic-components
This is a mixed codebase and still uses classic components
2022-01-20 09:46:49 -05:00
Jai Bhagat b36f45a8b3 ui: storybook accesses private routing service 2022-01-20 09:46:49 -05:00
Jai Bhagat c0aeb1803f ui: replace this.render with render test-helper in tests 2022-01-20 09:46:49 -05:00
Jai Bhagat 645db53775 ui: disable linting on files that use controllerFor 2022-01-20 09:46:49 -05:00
Jai Bhagat 1e1f9957c8 ui: turn off no-computed-properties-in-native-classes
We have ~60 uses of computed properties across routes (for watcher system), components,
and models.
2022-01-20 09:46:48 -05:00
Jai Bhagat 8bf8a337c1 ui: turn off no-class-classes rule
We still use classic classes because this is a mixed
codebase between Octane and Classic.
2022-01-20 09:46:48 -05:00
Jai Bhagat c4bc5ab352 ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
Jai Bhagat d281ef4d19 ui: match eslint script with ember-new-output 2022-01-20 09:29:10 -05:00
Jai Bhagat 2c73698d54 ui: match eslintrc with ember-new-output 2022-01-20 09:29:10 -05:00
Jai Bhagat bd2e9f0936 ui: match linting and prettier packages with ember-new-output 3.24 2022-01-20 09:29:10 -05:00
Jai Bhagat 4cd7c75f6c chore: add jsconfig to stop experimental decorator warnings 2022-01-20 09:29:10 -05:00
Luiz Aoqui e2e229f659
ui: fix test (#11870) 2022-01-18 10:36:10 -05:00
Jai Bhagat 862bc0341c test: add test stories for clicking allocation summary 2022-01-14 10:23:09 -05:00
Jai Bhagat 337920263f refact: add data-test-selectors and correct css selectors in summary 2022-01-14 10:23:06 -05:00
Jai Bhagat 2268cc1d6c styling: remove clickable link text decoration override to match new mocks 2022-01-14 10:20:36 -05:00
Jai Bhagat dc85cd29a9 refact: allocation and child summaries into ember-cli-page-object components 2022-01-14 10:20:33 -05:00
Jai Bhagat 2dddb20471 fix: typo in data-test-selector 2022-01-14 10:19:01 -05:00
Jai Bhagat d058029f90 styling: update styling to match new figma mocks 2022-01-14 10:14:44 -05:00
Jai Bhagat fe9f35c587 feat: add clicking functionality to alloc status legend 2022-01-14 10:14:44 -05:00
Luiz Aoqui c7ae13a1f3
Fix ACL requirements for job details UI (#11672) 2022-01-12 21:26:02 -05:00
Luiz Aoqui 7a1500c122
ui: fix CI (#11785) 2022-01-06 16:01:55 -05:00
Jai Bhagat d1342550df refact: clean-up breadcrumb invocations 2021-12-23 12:41:52 -05:00
Jai Bhagat 3533f62c6f fix: remove unecessary breadcrumb 2021-12-23 12:33:15 -05:00
Jai Bhagat 6369c4af7d chore: clean-up merge conflict after rebase 2021-12-21 07:52:06 -05:00
Jai Bhagat 420a7ff351 fix: add ember-a11y-testing-audit-call 2021-12-21 07:47:22 -05:00
Jai Bhagat b859406bd5 styling: fix opacity for last child in the list 2021-12-21 07:47:06 -05:00
Jai Bhagat 0d97780654 fix: test specs should expect to receive breadcrumb titles 2021-12-21 07:47:06 -05:00
Jai Bhagat c765d4c519 style: centering and spacing for titled breadcrumbs 2021-12-21 07:47:05 -05:00
Jai Bhagat c24923a858 feat: handle title behavior for job breadcrumb 2021-12-21 07:47:05 -05:00
Jai Bhagat 9551d41c08 refact: add title to breadcrumb generator
All breadcrumbs do not need a title property because some views
drill down by using a tab-based UI (e.g. CSI volumes and the Job Overview)

The goal is to help us identify breadcrumbs that are non-descriptive (i.e.
breadcrumbs that display as an ID).
2021-12-21 07:47:05 -05:00
Jai Bhagat 008f538222 style: add styling for title on breadcrumbs 2021-12-21 07:47:05 -05:00
Jai Bhagat f6dda0526c feat: add title to default breadcrumb component 2021-12-21 07:47:05 -05:00
Jai Bhagat c302f3a5cd update: add comment to explain loading namespaces in alloc route 2021-12-21 07:47:05 -05:00
Jai Bhagat edb330e701 fix: delete jobs route - ember creates this for us 2021-12-21 07:47:05 -05:00
Jai Bhagat 34a55dec48 fix: add in for topology route 2021-12-21 07:47:03 -05:00
Jai Bhagat db3abcbed4 fix: update breadcrumb tests according to new breadcrumb structure 2021-12-21 07:46:28 -05:00
Jai Bhagat 86b9c1fe03 refactor: delete unit tests for old breadcrumbs service 2021-12-21 07:46:28 -05:00
Jai Bhagat 88526aac65 refactor: delete app-breadcrumbs component file 2021-12-21 07:46:28 -05:00
Jai Bhagat 5cc0fc20cc refactor: remove double each in app breadcrumbs 2021-12-21 07:46:28 -05:00
Jai Bhagat 63d096a56a test: breadcrumbs functionality 2021-12-21 07:46:28 -05:00
Jai Bhagat e53a6072de chore: write tests for trigger component 2021-12-21 07:46:28 -05:00
Jai Bhagat 1188a5632f fix: handle case for async relationships 2021-12-21 07:46:27 -05:00
Jai Bhagat f7602d9a2a fix: resolve parent on job still issue with alloc job async relationship 2021-12-21 07:46:27 -05:00
Jai Bhagat e957e5b7d7 feat: create trigger component
Create Trigger Component and deprecate Breadcrumb-Utils pattern.
2021-12-21 07:46:25 -05:00
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
Luiz Aoqui d283e90c35
ui: only dipslay "Dispatch Job" button on parameterized jobs (#11019) 2021-08-09 17:49:08 -04:00
Luiz Aoqui a81e6a427d
ui: fix job dispatch page when job doesn't have any meta fields (#10934) 2021-08-03 13:50:43 -04:00
Jai Bhagat e7f0cd28f3 edit fuzzy search callback logic
Namespaces are set-up in Nomad to be an object that has an id property.
However, namespaces actually don't have that shape. Our search was expecting
a namespace object, but we actually don't have a namespace assigned to jobs
in our config and namespace is set to null. Normally, these namespaces would
be set to default, but that would require us to refactor our Mirage config
if we wanted to assert that namespaces are 'default' and not null. So this is
a bandaid solution.
2021-07-26 17:25:43 -04:00
Jai Bhagat 1440b562e0 Merge remote-tracking branch 'origin/main' into b-ui/search-namespaces 2021-07-22 15:16:30 -04:00
Jai Bhagat 0fba0ce778 edit namespace property in handlebar file to use computed property in component 2021-07-22 11:43:45 -04:00
Jai Bhagat e6b579ab8f address merge conflicts 2021-07-21 17:30:11 -04:00