Jai Bhagat
7c3ace8c41
test: add tests for not auth behavior for job-client-status-summary
2022-01-24 11:08:33 -05:00
Luiz Aoqui
ee83fb8bb1
ui: add "read client" ability
2022-01-24 11:05:48 -05:00
Jai Bhagat
43a0983a23
ui: prepare rebase for contextual job-page
2022-01-24 10:58:28 -05:00
Jai Bhagat
08bf4498a5
fix: mirage fixtures are randomized so we cant assert.expect
2022-01-20 10:55:36 -05:00
Jai Bhagat
52cf998e2c
ui: fix remaining linting errors
2022-01-20 10:39:02 -05:00
Jai Bhagat
3350f3fb11
ui: apply new qunit linting rules to tests
...
Async tests should use in integrations tests.
Acceptance tests are using Mirage and can't use
since we can't know the number of assertions.
2022-01-20 10:01:35 -05:00
Jai Bhagat
3a9057a89c
ui: prettify js files
2022-01-20 09:54:56 -05:00
Jai Bhagat
3cf01877a0
ui: upgrade prettier to match 3.28 ember-new-output
2022-01-20 09:46:50 -05:00
Jai Bhagat
88dd72a2ad
ui: disable no-string-protype-extensions where its currently in use
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
c4bc5ab352
ui: fix auto-fixable linting errors
2022-01-20 09:46:45 -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
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
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
420a7ff351
fix: add ember-a11y-testing-audit-call
2021-12-21 07:47:22 -05:00
Jai Bhagat
0d97780654
fix: test specs should expect to receive breadcrumb titles
2021-12-21 07:47:06 -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
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
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
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
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
Luiz Aoqui
b59a333727
UI: Add tests for prodcut links ( #11645 )
2021-12-07 19:51:17 -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
e21dd8c256
ui: fix tests broken by d3-format upgrade
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
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
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
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
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
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
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
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