Michael Lange
4736803a24
ES5 getters codemod
2019-04-10 14:54:36 -07:00
Michael Lange
243982562a
Implement faceted search on the clients page
2019-04-10 10:34:10 -05: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
bc3a76da04
Clean up old controller code
2018-09-17 15:57:23 -07:00
Michael Lange
01429a9b78
Remove old stat tracking code from the client page
...
In favor of the new primary-metric components
2018-09-13 17:01:24 -07:00
Michael Lange
f15e3ba0c2
Test coverage for NodeStatsTracker
2018-09-11 16:27:06 -07:00
Michael Lange
fbfc5ecb16
Example usage of the NodeStatsTracker
2018-08-31 14:39:23 -07:00
Michael Lange
f5fa5101b4
Example of usage of the AllocationsStatsTracker
2018-08-31 14:39:22 -07:00
Michael Lange
33da5ed14f
Merge pull request #4600 from hashicorp/f-ui-job-writes
...
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
1f40ab5da5
Introduce job editing to the job definition page
2018-08-21 16:46:24 -07:00
Michael Lange
b3c2538c68
Move the bulk of the new job page into a new job editor component
2018-08-21 12:07:45 -07:00
Michael Lange
9cab82146c
Show the scheduler dry-run output on the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
8ed04e64fe
Specialized No Leader error page
2018-08-20 14:11:50 -07:00
Michael Lange
f06da96c90
Move the Diff property read out of the template
2018-08-15 16:58:54 -07:00
Michael Lange
da46817289
Error messages for job submit
2018-08-15 15:18:38 -07:00
Michael Lange
e1e3d2c34d
Run job UI and API workflows
2018-08-14 18:26:26 -07:00
Michael Lange
4d656c7a31
Parse and Plan API and UI workflows
2018-08-14 17:29:51 -07:00
Michael Lange
3534b09977
Address an issue with certain dependent keys
2018-08-09 18:22:39 -07:00
Michael Lange
ad70fb9cc3
Repeat the new namespace pattern for region
2018-08-09 18:22:38 -07:00
Michael Lange
93f41278b1
Clear up the data flow for namespaces
...
This is incredibly tricky with query params, since there is a bundle of
timing issues, lifecycle issues, missing features, and all around
gotchas with query params.
This solution has no observers and no instances of the system service
being set from the jobs controller.
The upside to this is no observers, much easier to follow logic, no more
dependent key chain reactions.
2018-08-09 18:22:38 -07:00
Michael Lange
fd0d889a38
Reset the system service when unloading the store
2018-08-09 18:22:37 -07:00
Michael Lange
2bb770361b
Add three-way region property (query param, service, localStorage)
2018-08-09 18:22:37 -07:00
Michael Lange
e377de0356
Add search to the allocations page
2018-08-06 11:00:24 -07:00
Michael Lange
f6a3008d08
New dedicated allocations page for jobs
2018-08-06 10:59:35 -07:00
Michael Lange
4e22c1018f
Redo onNamespaceChange to use the router
2018-07-30 13:13:52 -07:00
Michael Lange
9b8f33013d
Fix job subnav
2018-07-11 09:34:22 -07:00
Michael Lange
71287286ef
Update breadcrumbs on job evaluations
2018-07-11 09:28:19 -07:00
Michael Lange
38b4d30272
Merge pull request #4458 from hashicorp/f-ui-refactor-breadcrumbs
...
UI: Refactor breadcrumbs
2018-07-10 11:01:28 -07:00
Michael Lange
ab54187480
Adds sorting to evaluations
2018-07-06 16:50:41 -07:00
Michael Lange
bbb923ea89
Initial evaluations page
2018-07-06 16:41:09 -07:00
Michael Lange
43d9a94c96
Remove all references to breadcrumbs outside of routes
2018-07-06 11:12:12 -07:00
Michael Lange
1b2a253cbb
Styleguide entry for tables
2018-07-03 12:30:34 -07:00
Michael Lange
ee093ffc16
Make task rows clickable.
...
Right now they are the only tables where the entire row isn't a
click-target to drill into the detail page.
2018-06-06 14:50:28 -07:00
Michael Lange
1058ac4ac0
Add driver status accordion section to the client detail page
2018-05-25 10:15:23 -07:00
Michael Lange
446e26ea07
Add a node events section to the node detail page
2018-05-25 10:15:22 -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
4c34a04151
Work around the dreaded broken relationship ED bug
...
Summary can unlink from a job when loaded in the wrong order. This
guarantees that the summary is bound to the job detail view by
falling back to the summary in the store.
2018-03-22 20:14:37 -07:00
Michael Lange
d85673d7c6
Always use the job plain id and job namespace in job links
2018-03-22 20:14:36 -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
5c1c0db1c3
Make task page breadcrumbs extend the allocation breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
53ee4d72a5
Make allocation pages extend the job breadcrumb trail
2018-03-13 16:36:26 -07:00
Michael Lange
d9287d1f40
Fix a bug where job links didn't always include the namespace QP
2018-03-13 16:34:01 -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
0e173f5da5
Fleshing out job page parts and differences
2018-02-06 10:53:50 -08:00
Michael Lange
633c9599dc
Filter child jobs out of the root jobs list
2018-02-05 20:13:58 -08:00
Michael Lange
79ebf291e8
Reorganize the styleguide using components for sections
2018-01-17 09:04:01 -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
b0aab1f23e
Don't warn intentional errors in tests
...
It's too noisy
2018-01-17 09:02:04 -08:00
Michael Lange
3b6a084a1d
Warn errors in prod
2017-12-06 10:33:03 -08:00
Michael Lange
d1277ac933
Add a table of evaluations to the job detail page
2017-11-29 20:12:12 -08:00
Michael Lange
f747cc79e4
Revert "UI Placement failures""
...
This reverts commits
141ecd8d9170f56c8302b5c776532e6d287a40e3
d2d838c2de08aac716a9431d9720b5c12bb19ba1
8099db433641429816e8479c6d23116269f744c0
86262b3ceff607627a9c9e0e25eb81b9b5ee739c
eb4104ec528982e0ee6ae9a05fb0460e53139f3f
0e0e23e238017815bdb6dcfbc056275b3deaacca
6d45658d77fb4c40760a63cced71b74757356e48
b52a8176e85b9c6f13ec012f7fce2ec3df1c8751
2017-11-29 20:03:39 -08:00
Michael Lange
1d5b67b9bf
Add a table of evaluations to the job detail page
2017-11-29 16:30:33 -08:00
Michael Lange
7c3f688ad6
Move logging logic from the controller to a component
2017-11-21 11:22:42 -08:00
Michael Lange
fc581163d6
First pass at the logs page
...
Just verifying the log code works
2017-11-21 11:22:42 -08:00
Michael Lange
a02f32fc81
Guard against null values
2017-11-21 11:22:41 -08:00
Michael Lange
71bc408f6c
Remold the allocation detail and task detail pages
...
Now that there is a task detail page, some of the content from
the allocation detail page is better suited there.
2017-11-14 11:08:51 -08:00
Michael Lange
6a7bbe8afa
Create a new task route hierarchy
...
Drilling into a task from an allocation transitions to the task
heirarchy.
2017-11-14 11:04:40 -08:00
Michael Lange
ff69512ff3
Rename nodes routes to client routes
2017-10-27 18:39:04 -07:00
Michael Lange
a6a34fbba0
Apply route-specific 403 handling to jobs, nodes, and servers
2017-10-24 16:41:11 -07:00
Michael Lange
37c1b0a707
Merge pull request #3437 from hashicorp/f-ui-sort-server-tags
...
Sort server tags
2017-10-24 16:39:23 -07:00
Michael Lange
ea58519840
Sort server tags
2017-10-24 12:04:08 -07:00
Michael Lange
7abf621441
On namespace change on a job detail page, redirect to /jobs
...
And reload jobs for the new namespace.
2017-10-23 17:42:36 -07:00
Michael Lange
ff4df58e6d
Address a couple asynchronicity issues
2017-10-23 17:42:36 -07:00
Michael Lange
eb59f76601
Update all job links
2017-10-23 17:42:36 -07:00
Michael Lange
d967a9eb30
Redo the logic around showing namespaces
...
Don't show namespaces if the only namespace is `default`
2017-10-23 17:42:36 -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
40748c8923
Never return null for adapter headers
...
Ember Data checks strictly against undefined:
https://github.com/emberjs/data/blob/master/addon/adapters/rest.js#L1128
2017-10-19 10:10:01 -07:00
Michael Lange
79c836d734
Merge pull request #3412 from hashicorp/b-ui-disable-fuzzy-search
...
Disable fuzzy search
2017-10-18 20:08:15 -07:00
Michael Lange
dc20fc88b9
Unload all records when a token is set or cleared
...
This guarantees no privileged data is shown to unprivileged credentials
2017-10-18 16:42:08 -07:00
Michael Lange
635263b8aa
Disable fuzzy search
...
It doesn't work well for highly precise values, or small datasets, or prefixes.
Which are our three use cases.
2017-10-18 12:52:24 -07:00
Michael Lange
77cf33472f
Make ModifyIndex the default sort property for alloc tables
2017-10-18 11:45:02 -07:00
Michael Lange
175acde8b6
Order keys consistently for enhanced readability
2017-10-16 13:27:52 -07:00
Michael Lange
85f66ffa94
Use /acl/token/self instead of /acl/token/:accessor_id
2017-10-16 13:27:52 -07:00
Michael Lange
d177cf90c3
Redo the tokens page to be a form that validates a token and lists policies
2017-10-16 13:27:51 -07:00
Michael Lange
4a35f3c5a5
Handle 403s gracefully
...
- When a list 403s, treat it as if it were empty
- When a single resource 403s, redirect to an application error page
that has a backdoor link to the tokens page
2017-10-12 17:40:49 -07:00
Michael Lange
1f6ce06744
Specialized error for 403s that links to the ACLs page
2017-10-12 17:24:32 -07:00
Michael Lange
f081bf57ec
Merge pull request #3358 from hashicorp/f-ui-namespaces
...
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Lange
b270b76228
Removes extraneous search query param from the servers list page
2017-10-11 15:48:46 -07:00
Michael Lange
418fcedc13
Remove extraneous search query param from the job index page
2017-10-11 15:30:49 -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
Michael Lange
9d5e1d06d2
Throw errors that cause a redirect to make debugging easier
2017-10-11 13:45:03 -07:00
Michael Lange
0941c7bec1
Merge pull request #3323 from hashicorp/f-ui-loading-states
...
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange
fc5fb7bde9
Handle errors in the application route
...
This is the only way to preserve the URL in all cases.
2017-10-05 14:39:06 -07:00
Michael Lange
e16fe35539
Loading templates in places
2017-10-03 16:20:45 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00