Commit Graph

58 Commits

Author SHA1 Message Date
Michael Lange
6f9972ac19 Merge pull request #3358 from hashicorp/f-ui-namespaces
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Lange
6bbf3ac992 Allow users to escape error pages with the back button 2017-10-12 12:35:00 -07:00
Michael Lange
88fea83bc1 Add a generic catch-all error message 2017-10-12 12:34:10 -07:00
Michael Lange
f2d1fb9673 Removes extraneous search query param from the servers list page 2017-10-11 15:48:46 -07:00
Michael Lange
931c99c9f3 Remove extraneous search query param from the job index page 2017-10-11 15:30:49 -07:00
Michael Lange
87d8a2a50b Sync the active namespace as a query param on the jobs list page 2017-10-11 14:06:46 -07:00
Michael Lange
969ff79c07 Test coverage for namespaces 2017-10-11 14:06:46 -07:00
Michael Lange
fe7a656df2 Custom alpha sort with default always on top 2017-10-11 14:06:46 -07:00
Michael Lange
45b8cb067e Gracefully handle the 501 case
Enterprise endpoints return a 501 in the open source build. 5xx
errors throw by default, so handle this one since it's expected
for things such as namespaces.
2017-10-11 14:06:46 -07:00
Michael Lange
5f23b8411a Replace simple dropdown namespace switcher with ember-power-select 2017-10-11 13:45:03 -07:00
Michael Lange
774c4e402a Add ember-power-select 2017-10-11 13:45:03 -07:00
Michael Lange
cf899f66e6 Mock namespaces in mirage 2017-10-11 13:45:03 -07:00
Michael Lange
48cb99c6eb Make namespace a relationship of job 2017-10-11 13:45:03 -07:00
Michael Lange
f1d20d1e50 Refresh the jobs model on namespace change 2017-10-11 13:45:03 -07:00
Michael Lange
c5ee91eb39 Add a namespace switcher to the gutter menu 2017-10-11 13:45:03 -07:00
Michael Lange
c665c7acf0 Support non-link menu items 2017-10-11 13:45:03 -07:00
Michael Lange
a36a8e6ba3 Consider the namespace query param as required for findAll 2017-10-11 13:45:03 -07:00
Michael Lange
7006794284 Add namespaces and active namespace to the system service 2017-10-11 13:45:03 -07:00
Michael Lange
ff35c8f76c New namespaces model 2017-10-11 13:45:03 -07:00
Michael Lange
4dd8ec89b8 Make sure to qualify requests made outside of adapters 2017-10-11 13:45:03 -07:00
Michael Lange
13975ebc0b Throw errors that cause a redirect to make debugging easier 2017-10-11 13:45:03 -07:00
Michael Lange
f7b1c5c15c New test to assert that lazy loading jobs for allocation rows actually happens
Unfortunately it meant inlining the visit into each test
2017-10-05 20:11:17 -07:00
Michael Lange
1ddb2b7889 Fixes issue regarding allocation rows
Sometimes the job name and/or task group name wouldn't show up.
2017-10-05 18:01:19 -07:00
Michael Lange
52bc3706d4 Merge pull request #3323 from hashicorp/f-ui-loading-states
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange
7f55e62908 Merge pull request #3321 from hashicorp/f-ui-error-states
Better error state for allocation stats failure
2017-10-05 17:51:15 -07:00
Michael Lange
810c3d5467 Simple catch-all route for 404s on pages 2017-10-05 14:39:38 -07:00
Michael Lange
1b82586fb6 Test coverage for 404s on resources 2017-10-05 14:39:37 -07:00
Michael Lange
ddf9dae545 Handle allocation 404s 2017-10-05 14:39:37 -07:00
Michael Lange
ae6658dd94 Handle 404s for agents 2017-10-05 14:39:37 -07:00
Michael Lange
1e9b607730 Handle 404s on nodes 2017-10-05 14:39:37 -07:00
Michael Lange
1e817cb35b Handle 404s on jobs 2017-10-05 14:39:37 -07:00
Michael Lange
cb5d220432 Style error pages 2017-10-05 14:39:37 -07:00
Michael Lange
5379ca241a 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
bc3c59c3e0 Add a loading state to job information on allocation row.
This information is already loaded when traversing to an alloc row from
a job, but not when traversing to an alloc row from a node.
2017-10-03 17:18:33 -07:00
Michael Lange
5b0095627d Always reload all jobs
Ember tries to be clever by showing cached jobs instead of a loading spinner
in the event that a user starts on nodes, loads a couple jobs through
allocation relationships, then visits jobs.
2017-10-03 17:17:45 -07:00
Michael Lange
900b218632 Simple loading state for job details in a job row 2017-10-03 16:24:30 -07:00
Michael Lange
033c7432cc Loading templates in places 2017-10-03 16:20:45 -07:00
Michael Lange
c80c4446d4 Better error state for allocation stats 2017-10-03 15:55:10 -07:00
Michael Lange
a8257d39f0 New tooltip scss component 2017-10-03 15:55:10 -07:00
Michael Lange
18ba575368 New loading spinner
Courtesy of SpinKit: https://github.com/tobiasahlin/SpinKit
2017-10-03 15:53:46 -07:00
Michael Lange
abf313a8ce Add new icon helper and the first icon: warning 2017-10-03 10:54:22 -07:00
Michael Lange
74de77970f Add ember-inline-svg dependencies. 2017-10-02 17:02:57 -07:00
Michael Lange
c988de30c5 Empty state for allocations search on task group detail 2017-10-02 12:44:07 -07:00
Michael Lange
945cb3f03e Empty states for servers 2017-09-29 19:20:28 -07:00
Michael Lange
7cae2e92f2 Empty states for clients 2017-09-29 18:33:57 -07:00
Michael Lange
080ebec708 Add empty states to the job list page 2017-09-29 17:41:29 -07:00
Michael Lange
b7e97817d7 Expose the token service in all templates for convenience 2017-09-29 17:41:29 -07:00
Michael Lange
c86d50d15d Merge pull request #3287 from hashicorp/b-ui-firefox-styles
Fix style discrepancies in Firefox
2017-09-29 11:38:50 -07:00
Michael Lange
1ca9c74fe0 Merge pull request #3280 from hashicorp/b-ui-links-in-tables
Links in table rows should get click priority over table rows
2017-09-29 09:37:18 -07:00
Michael Lange
1b23849d69 Align the spacer between right-hand nav items
Firefox doesn't assume vertical centering in this case like chrome and
safari do.
2017-09-26 17:25:55 -07:00