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
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
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
hashicorp-copywrite[bot]
005636afa0
[COMPLIANCE] Add Copyright and License Headers
2023-04-10 15:36:59 +00:00
Phil Renaud
ccce4b68f2
[ui] Perform common job tasks with keyboard shortcuts ( #16378 )
...
* Throw your mouse into traffic
* Add node metadata with a shortcut
* Re-labelled
* Adds a toast notification to job start/stop on keyboard shortcut
* Typo fix
2023-03-20 09:24:39 -04:00
Jai
bb0debf2e5
refact: order search before sort ( #15432 )
2022-12-01 10:43:47 -05:00
Phil Renaud
59c12fc758
Remove namespace cache ( #13679 )
2022-07-11 18:06:18 -04:00
Jai Bhagat
336c3b428a
refact: move gotoJob to component
2022-01-24 11:04:51 -05:00
Jai Bhagat
3a9057a89c
ui: prettify js files
2022-01-20 09:54:56 -05:00
Jai Bhagat
c4bc5ab352
ui: fix auto-fixable linting errors
2022-01-20 09:46:45 -05:00
Luiz Aoqui
362c8c54f4
ui: set * as the default namespace selector ( #11357 )
2021-10-21 10:24:07 -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
e8593ec1bb
ui: Update namespaces design ( #10444 )
...
This rethinks namespaces as a filter on list pages rather than a global setting.
The biggest net-new feature here is being able to select All (*) to list all jobs
or CSI volumes across namespaces.
2021-04-29 15:00:59 -05:00
Buck Doyle
e9e52e0dfe
Update Ember/Ember CLI to 3.20 ( #9641 )
...
This doesn’t include Ember Data, as we are still back on 3.12.
Most changes are deprecation updates, linting fixes, and dependencies. It can
be read commit-by-commit, though many of them are mechanical and skimmable.
For the new linting exclusions, I’ve added them to the Tech Debt list.
The decrease in test count is because linting is no longer included in ember test.
There’s a new deprecation warning in the logs that can be fixed by updating Ember
Power Select but when I tried that it caused it to render incorrectly, so I decided to
ignore it for now and address it separately.
2021-02-17 15:01:44 -06:00
Michael Lange
aaf32cabf0
Filter out new records from the job list page
...
When a prefix is set and the run job button is clicked,
the new job causes an error because it has no name yet.
2020-07-10 15:29:52 -07:00
Buck Doyle
577e85b007
Fix query parameters structures
...
I’d think the codemod would handle this if it’s a requirement
but apparently not, is it a bug?
2020-06-15 09:52:31 -05:00
Buck Doyle
89136cbf6a
Add massaged results of class codemod
...
Manual interventions:
• decorators on the same line for service and controller
injections and most computed property macros
• preserving import order when possible, both per-line
and intra-line
• moving new imports to the bottom
• removal of classic decorator for trivial cases
• conversion of init to constructor when appropriate
2020-06-10 16:18:42 -05:00
Buck Doyle
1cca7abcab
Add Ember ESLint plugin ( #8134 )
...
This is extracted from #8094 , where I have run into some snags. Since
these ESLint fixes aren’t actually connected to the Ember 3.16 update
but involve changes to many files, we might as well address them
separately. Where possible I fixed the problems but in cases where
a fix seemed too involved, I added per-line or -file exceptions.
2020-06-09 16:03:28 -05:00
Michael Lange
53954d1bc3
Add page size select to the jobs list page
2020-04-02 12:50:30 -07:00
Michael Lange
b0d6517297
Include the _ prefix separator in both regexes
...
And include all prefix types in the test data
2019-05-21 14:20:40 -07:00
Michael Lange
4736803a24
ES5 getters codemod
2019-04-10 14:54:36 -07:00
Michael Lange
ddc577ccca
Refactor qp helpers from the jobs faceted search
2019-04-10 10:34:10 -05:00
Michael Lange
ff98a744c1
Changes from code review
2019-04-10 10:34:10 -05:00
Michael Lange
06e718387c
Make the facet filter function clearer with more brackets
2019-04-10 10:34:10 -05:00
Michael Lange
80abb8d8a0
Simplify options and selection names
2019-04-10 10:34:10 -05:00
Michael Lange
5e05408ae3
Test coverage for job list facets
2019-04-10 10:34:10 -05:00
Michael Lange
5ae2f38c4e
Introduce encode/decode for array query params
2019-04-10 10:34:10 -05:00
Michael Lange
09ae9fbfa3
Implement the job list filtering based on facet selection
2019-04-10 10:34:10 -05:00
Michael Lange
8015605041
Implement the dynamic facet lists (datacenters and prefixes)
2019-04-10 10:34:10 -05:00
Michael Lange
46c6a3e4c2
Scaffold the facets and facet options for the jobs list page
2019-04-10 10:34:10 -05:00
Michael Lange
3534b09977
Address an issue with certain dependent keys
2018-08-09 18:22:39 -07:00
Michael Lange
4e22c1018f
Redo onNamespaceChange to use the router
2018-07-30 13:13:52 -07:00
Michael Lange
47f4630607
Apply new search features to the job index page
2018-04-23 14:58:01 -07:00
Michael Lange
5223a3f816
Don't read properties off of null objects
...
Somehow this controller code runs sometimes when the existing jobs
are dematerializing. This makes this.get('model') and array of null
2018-04-17 10:28:58 -07:00
Michael Lange
39bf9a4e78
Always provide arguments instead of models to job links
...
This invoked the model hook, which will load the model and
redirect correctly based on permissions
2018-03-20 16:41:19 -07:00
Michael Lange
24c8690cb0
Fix a bug where namespace filter is incorrect for the jobs list
2018-03-08 10:40:31 -08:00
Michael Lange
633c9599dc
Filter child jobs out of the root jobs list
2018-02-05 20:13:58 -08:00
Michael Lange
1107798da6
Use the new ember modules imports
...
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
a6a34fbba0
Apply route-specific 403 handling to jobs, nodes, and servers
2017-10-24 16:41:11 -07:00
Michael Lange
a4b7b58dd5
Move the namespace query param up the route hierarchy
...
This makes it active on all job routes
2017-10-23 17:42:35 -07:00
Michael Lange
5c1d103253
Sync the active namespace as a query param on the jobs list page
2017-10-11 14:06:46 -07:00
Michael Lange
7e0d526c10
Refresh the jobs model on namespace change
2017-10-11 13:45:03 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00