Michael Lange
2959f03806
Test coverage for namespaces
2017-10-11 14:06:46 -07:00
Michael Lange
aabd56a92d
Custom alpha sort with default always on top
2017-10-11 14:06:46 -07:00
Michael Lange
61b988fbb8
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
2340504da8
Replace simple dropdown namespace switcher with ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
1601b0d4fd
Add ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
bf8d9f05b1
Mock namespaces in mirage
2017-10-11 13:45:03 -07:00
Michael Lange
ef55cb910f
Make namespace a relationship of job
2017-10-11 13:45:03 -07:00
Michael Lange
7e0d526c10
Refresh the jobs model on namespace change
2017-10-11 13:45:03 -07:00
Michael Lange
b43b0ba6a4
Add a namespace switcher to the gutter menu
2017-10-11 13:45:03 -07:00
Michael Lange
11f699f8da
Support non-link menu items
2017-10-11 13:45:03 -07:00
Michael Lange
b3312ac429
Consider the namespace query param as required for findAll
2017-10-11 13:45:03 -07:00
Michael Lange
3a0d292337
Add namespaces and active namespace to the system service
2017-10-11 13:45:03 -07:00
Michael Lange
4481e04d43
New namespaces model
2017-10-11 13:45:03 -07:00
Michael Lange
3bb0a9779c
Make sure to qualify requests made outside of adapters
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
a9154b75f6
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
4e606e435d
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
0941c7bec1
Merge pull request #3323 from hashicorp/f-ui-loading-states
...
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange
16c92fc1bb
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
e19740ce33
Simple catch-all route for 404s on pages
2017-10-05 14:39:38 -07:00
Michael Lange
2a1db3a09a
Test coverage for 404s on resources
2017-10-05 14:39:37 -07:00
Michael Lange
ca0b297d47
Handle allocation 404s
2017-10-05 14:39:37 -07:00
Michael Lange
9d9d66b1a7
Handle 404s for agents
2017-10-05 14:39:37 -07:00
Michael Lange
50a5bf4332
Handle 404s on nodes
2017-10-05 14:39:37 -07:00
Michael Lange
35f198d787
Handle 404s on jobs
2017-10-05 14:39:37 -07:00
Michael Lange
af9f76aae5
Style error pages
2017-10-05 14:39:37 -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
877cbe6fbc
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
0cc2c4267e
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
74fce03d4d
Simple loading state for job details in a job row
2017-10-03 16:24:30 -07:00
Michael Lange
e16fe35539
Loading templates in places
2017-10-03 16:20:45 -07:00
Michael Lange
a08d2b5512
Better error state for allocation stats
2017-10-03 15:55:10 -07:00
Michael Lange
ba34cff0bd
New tooltip scss component
2017-10-03 15:55:10 -07:00
Michael Lange
89b7c3ae70
New loading spinner
...
Courtesy of SpinKit: https://github.com/tobiasahlin/SpinKit
2017-10-03 15:53:46 -07:00
Michael Lange
2b8d39ff5e
Add new icon helper and the first icon: warning
2017-10-03 10:54:22 -07:00
Michael Lange
e1d199c696
Add ember-inline-svg dependencies.
2017-10-02 17:02:57 -07:00
Michael Lange
60f4cb8a0a
Empty state for allocations search on task group detail
2017-10-02 12:44:07 -07:00
Michael Lange
c05a09ce33
Empty states for servers
2017-09-29 19:20:28 -07:00
Michael Lange
973e9afb09
Empty states for clients
2017-09-29 18:33:57 -07:00
Michael Lange
315b2ea9d6
Add empty states to the job list page
2017-09-29 17:41:29 -07:00
Michael Lange
ab530d760a
Expose the token service in all templates for convenience
2017-09-29 17:41:29 -07:00
Michael Lange
365706c9f5
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
c9220969f9
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
867f336012
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
Michael Lange
2d1b489cf2
Use an absolute positioning for narrow chart
...
translateY(-50%) doesn't work on svg elements in firefox, apparently?
2017-09-26 17:18:52 -07:00
Michael Lange
4d9c430a87
Rerender the distribution chart when the window resizes
2017-09-26 17:18:22 -07:00
Michael Lange
0c5ec93e7d
Scroll to the top of the page on transition. Like a normal website.
2017-09-26 16:43:34 -07:00
Michael Lange
491f4ff27d
Fix the links in table rows bug
...
Click events were greedily redirecting to the resource pages instead
of first yielding to the anchor tag clicked if an anchor tag was in
fact clicked.
2017-09-26 11:59:42 -07:00
Michael Lange
819fceeac5
Migrate tests over to native helpers as much as possible
2017-09-26 11:59:41 -07:00
Michael Lange
819baa5deb
Switch to native dom helpers
2017-09-26 11:59:41 -07:00