Jai Bhagat
a12e60c822
chore: prettify jobs index template
2022-01-24 11:04:51 -05:00
Jai Bhagat
f17ba0277e
chore: prettify job-row template
2022-01-24 11:04:51 -05:00
Jai Bhagat
2ec864c67e
refact: move gotoTaskGroup action to component
...
Previously, the router service was not available to components. Now that it is,
we no longer need to prop-drill this linking action.
2022-01-24 11:04:48 -05:00
Jai Bhagat
458100a0f9
chore: prettify task-groups template
2022-01-24 11:04:15 -05:00
Jai Bhagat
179103f2b6
refactor: compute jobClientStatus in summary backing class component
2022-01-24 11:04:14 -05:00
Jai Bhagat
d130dea4e0
refact: move conditional rendering logic from job-page to job-client-status-summary
2022-01-24 11:04:12 -05:00
Jai Bhagat
28af157d35
refact: remove unused backing component classes and extend periodic and param-child to use Glimmer
2022-01-24 11:02:26 -05:00
Jai Bhagat
c6c334d5d5
refact: job-page/batch template to use contextual components
2022-01-24 11:02:06 -05:00
Jai Bhagat
b3ae93d51e
refact: job-page/parameterized-child template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
02311dae72
refact: job-page/parameterized template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
961b0178e1
refact: job-page/periodic-child template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
689b0d9fb7
refact: job-page/periodic template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
46754b2f65
refact: job-page/service template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
be0e624768
refact: job-page/sysbatch template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
c938f7d109
refact: job-page/system template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
d23dcc1ede
feat: create job-page contextual component
2022-01-24 11:02:04 -05:00
Jai Bhagat
43a0983a23
ui: prepare rebase for contextual job-page
2022-01-24 10:58:28 -05:00
Jai Bhagat
52cf998e2c
ui: fix remaining linting errors
2022-01-20 10:39:02 -05:00
Jai Bhagat
3a9057a89c
ui: prettify js files
2022-01-20 09:54:56 -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
645db53775
ui: disable linting on files that use controllerFor
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
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
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
b859406bd5
styling: fix opacity for last child in the list
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
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
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
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
b59a333727
UI: Add tests for prodcut links ( #11645 )
2021-12-07 19:51:17 -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
521acf688e
ui: upgrade sass 1.32.6 -> 1.43.4
2021-11-05 18:09:19 -04:00
Luiz Aoqui
a45ef5d47f
ui: minor fixes
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
2288f33e38
ui: fix tests broken by d3-format upgrade
2021-11-05 18:09:13 -04:00
Luiz Aoqui
5496aa9461
ui: upgrade bulma 0.7.5 -> 0.8.2
2021-11-05 18:09:09 -04: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
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
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