Michael Lange
9e584e6486
Specialized No Leader error page
2018-08-20 14:11:50 -07:00
Michael Lange
dcd8133461
Remove the old json viewer
2018-08-13 17:04:15 -07:00
Michael Lange
ee08e40071
Delete the removed "depth" aspect of json viewer from the styleguide
2018-08-13 17:04:14 -07:00
Michael Lange
8291373d24
Theme CodeMirror
...
Borrowed heavily from Vault
2018-08-13 17:04:14 -07:00
Michael Lange
19d7202bd1
Use ivy-codemirror in the JSON Viewer component
2018-08-13 17:04:14 -07:00
Michael Lange
b58c229625
Introduce ivy-codemirror
2018-08-13 17:03:20 -07:00
Michael Lange
a61ad7ac59
List the new region mirage env var in the environment file
2018-08-13 16:18:53 -07:00
Michael Lange
3192267039
Use the model hook and setupController hook instead of afterModel
...
This is a more idiomatic way to handle the QP resetting in the
application controller.
2018-08-13 16:18:06 -07:00
Michael Lange
95e8259447
Acceptance tests for the region switcher
2018-08-10 12:52:05 -07:00
Michael Lange
ae464a01dc
Unit test coverage for adding the region param to requests
2018-08-09 20:27:54 -07:00
Michael Lange
dbc18c9d46
Properly model regions in Mirage
2018-08-09 19:57:21 -07:00
Michael Lange
c55df8ff4b
Specify the request type for token self
...
Without this, the data (query params) get json stringified
2018-08-09 18:22:39 -07:00
Michael Lange
362aff0fab
Simplify the control flow around changing namespaces and regions
...
The UI will no longer try to redirect to the appropriate namespace or
region if one is found in localStorage. Instead, it will assume that
the lack of query param means the default namespaces or region is
desired.
2018-08-09 18:22:39 -07:00
Michael Lange
b767a87422
Update tests to handle region switching
2018-08-09 18:22:39 -07:00
Michael Lange
822d99833b
Handle errors when getting regions or the default regions
...
This protects against volatility in the server and, more commonly, ACLs
returning forbidden responses.
2018-08-09 18:22:39 -07:00
Michael Lange
fe315fe6d1
Address an issue with certain dependent keys
2018-08-09 18:22:39 -07:00
Michael Lange
ae0bf90b79
Only deal with the region param (in the app and in api calls) when necessary
2018-08-09 18:22:39 -07:00
Michael Lange
d690709462
Get the server's region (aka default region) from the API
...
The default region shouldn't be used as a qp since no qp means the same
thing.
2018-08-09 18:22:38 -07:00
Michael Lange
c5439df03a
Add the region qp to all requests made through the token service
2018-08-09 18:22:38 -07:00
Michael Lange
4473bb90c5
The application route doesn't need to fetch namespaces
2018-08-09 18:22:38 -07:00
Michael Lange
61bdc3bfe7
Sidestep a transpilation bug.
...
Default params don't make it into arguments which were being splatted
into the call to super.
2018-08-09 18:22:38 -07:00
Michael Lange
a5da73da31
Repeat the new namespace pattern for region
2018-08-09 18:22:38 -07:00
Michael Lange
4715696959
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
7e6f02d0c0
Account for the service:system dependency due to region
2018-08-09 18:22:38 -07:00
Michael Lange
134ab34373
Remove the gutter menu from the allocations page
2018-08-09 18:22:38 -07:00
Michael Lange
d77504c539
Never show the menu divider for the first menu item
2018-08-09 18:22:38 -07:00
Michael Lange
95fcbda60a
Line breadcrumbs up flush with section content
2018-08-09 18:22:38 -07:00
Michael Lange
610db7c8c7
Make the dropdown ever so slightly off-white
2018-08-09 18:22:38 -07:00
Michael Lange
3f262143b6
Move the region switcher out of the secondary nav and into the gutter when the gutter is collapsed
2018-08-09 18:22:37 -07:00
Michael Lange
47210b3c93
Add region switcher to the global header
2018-08-09 18:22:37 -07:00
Michael Lange
8c3e5b2e1f
Only show the region switcher when there are multiple regions
2018-08-09 18:22:37 -07:00
Michael Lange
8d36ac8ece
Fetch regions and namespaces in the application route
2018-08-09 18:22:37 -07:00
Michael Lange
840069de2b
Harden up the system service for the event of store unloading
2018-08-09 18:22:37 -07:00
Michael Lange
2e26a61302
Reset the system service when unloading the store
2018-08-09 18:22:37 -07:00
Michael Lange
200b3c339b
Add the region qp to every api request
2018-08-09 18:22:37 -07:00
Michael Lange
27308a884c
Styles for the region switcher
2018-08-09 18:22:37 -07:00
Michael Lange
dc1a031460
Add three-way region property (query param, service, localStorage)
2018-08-09 18:22:37 -07:00
Michael Lange
ccae1fb1d6
Bare minimum Mirage support for regions
2018-08-09 18:22:37 -07:00
Michael Lange
ce117bffb2
Align the hamburger menu and ensure that it's full area is clickable
2018-08-06 11:21:54 -07:00
Michael Lange
191131bedf
Remove extra whitespace
2018-08-06 11:21:54 -07:00
Michael Lange
84be4f3183
Make the hamburger menu look more traditional
2018-08-06 11:21:54 -07:00
Michael Lange
178642efe0
Test coverage for gutter menu interactions
2018-08-06 11:21:54 -07:00
Michael Lange
a69f5f15ac
Make it "feel" mobile with a backdrop that closes the gutter menu on tap
2018-08-06 11:21:54 -07:00
Michael Lange
3a81b0e8ab
Visual treatment for the collapsed gutter menu
2018-08-06 11:21:54 -07:00
Michael Lange
9258534f45
Treat the nomad logo and the hamburger menu as their own css components
2018-08-06 11:21:53 -07:00
Michael Lange
4eadc9f6ed
Refactor navbar markup
2018-08-06 11:21:53 -07:00
Michael Lange
823c12ea26
Style the hamburber menu icon
2018-08-06 11:21:53 -07:00
Michael Lange
05273c7c36
Add open/close functionality to the gutter-menu when it's collapsed
2018-08-06 11:21:53 -07:00
Michael Lange
b06ee4f1a7
Hide the gutter menu at low width resolutions
2018-08-06 11:21:53 -07:00
Michael Lange
cae126168c
Undo the responsive styles that come with bulma
2018-08-06 11:21:53 -07:00