Michael Lange
077ee297c0
Reschedule events timeline for the alloc detail page
2018-05-04 19:36:54 -07:00
Michael Lange
825d7c4512
Add WaitUntil and followUpEvaluation
2018-05-04 19:36:54 -07:00
Michael Lange
940a5325c7
New reschedule-event-row component
...
Intended to be used in a timeline view.
2018-05-04 19:36:54 -07:00
Michael Lange
46fc0cedc3
Add rescheduled icon to allocation row
2018-05-04 19:36:54 -07:00
Michael Lange
927caa441e
Refactor allocation-row
2018-05-04 19:36:54 -07:00
Michael Lange
97db138ce8
Add follow up eval relationship to allocation
2018-05-04 19:36:54 -07:00
Michael Lange
c2d860955f
Add shortId properties to reschedule events model
2018-05-04 19:36:54 -07:00
Michael Lange
d66ecd3402
New is-narrow modifier for slim table cells
...
Useful for actions, icons, and checkboxes
2018-05-04 19:36:54 -07:00
Michael Lange
3ff8a38972
New is-hollow modifer for boxed-sections
...
An open layout that makes its contents feel less cramped. Useful for
large visualizations.
2018-05-04 19:36:54 -07:00
Michael Lange
2cea40a894
New is-faded modifier for icons
...
For when the icon should be less prominent than the content around it
2018-05-04 19:36:54 -07:00
Michael Lange
ca172e1fc2
Modeling alloc reschedule events
2018-05-04 19:36:54 -07:00
Michael Lange
0c1c66776b
Merge pull request #4195 from hashicorp/b-ui-retry-stats-requests
...
UI: Retry stats requests
2018-04-24 14:13:34 -07:00
Michael Lange
71ca73c19b
Test coverage for alloc stats retrying
2018-04-20 18:11:32 -07:00
Michael Lange
eca7bf5ea2
Keep polling for alloc stats when a request fails
2018-04-20 16:50:54 -07:00
Michael Lange
ff11ca7dbe
Add button type to the two-step-button buttons
2018-04-20 10:11:21 -07:00
Michael Lange
82ca110cd0
New tests for stop job action
2018-04-19 14:22:04 -07:00
Michael Lange
f0cf931c7b
Refactor job-page components to use common title and error parts
2018-04-19 14:22:04 -07:00
Michael Lange
cf7d5543c3
New errorMessage format
2018-04-19 14:22:04 -07:00
Michael Lange
ccd3a91362
Common error component for job pages
2018-04-19 14:22:04 -07:00
Michael Lange
60938b6eb6
Move common title parts into a part component
2018-04-19 14:22:04 -07:00
Michael Lange
bb61fda409
Test coverage for the two-step-button component
2018-04-19 14:22:04 -07:00
Michael Lange
f83eb25c14
New two-step-button
...
For performing an action that requires confirmation
2018-04-19 14:22:04 -07:00
Michael Lange
c7639237ba
Add new model action for stopping a job
2018-04-19 14:22:04 -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
9d60c9db9a
Defer showing alloc addresses until the node is loaded
...
The URLs for addresses are meaningless until the node http addr
is available.
2018-04-10 09:31:35 -07:00
Michael Lange
2ed5b61358
Repeat the relationship unlinking pattern in the serializer
...
It also culls for findAll requests, so it too needs to be
careful about leaving garbage around.
2018-04-06 18:07:57 -07:00
Michael Lange
72cba3b036
Unlink record relationships before unloaded them from the store
...
When simply unloading a record, references to the record are
maintained by the internal relationship state of related models.
This causes refetching and duplicate models local to that relationship
state.
2018-04-06 17:50:40 -07:00
Michael Lange
78f7d57359
Never respond with an empty object from the adapter
...
In production builds only, this will slip into the local store
as a record with no ID, which makes for all sorts of bad news.
2018-04-05 16:50:37 -07:00
Michael Lange
f473d72ceb
Remove an extraneous component of the service job page
2018-04-02 18:19:17 -07:00
Michael Lange
7d5615794d
Merge pull request #4081 from hashicorp/b-ui-service-breadcrumbs
...
UI: Service job breadcrumbs + errant open connections
2018-03-29 15:08:14 -07:00
Michael Lange
a226021a05
Track multiple xhrs per URL rather than overriding
...
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Michael Lange
db4b81a348
Merge pull request #4067 from hashicorp/ui-upgrade-ember
...
UI: Upgrade Ember to LTS + fix job summary issues
2018-03-29 12:43:54 -06:00
Michael Lange
b23bc70bce
Add missing js class for System that extends AbstractJobPage
2018-03-28 16:46:35 -07:00
Michael Lange
7bab2a1f23
Check for a case-sensitive or lowercase header value
2018-03-28 16:10:09 -07:00
Michael Lange
bff7230642
Remove now unnecessary summary fallback
...
Ember Data 2.18 fixed the underlying bug
2018-03-28 15:20:02 -07:00
Michael Lange
b7d833a5e0
Correctly watch the job summary on the task group page
...
It changed from being a relationship to a model
2018-03-28 15:12:27 -07:00
Michael Lange
6967fc2c11
Make the job<->job-summary relationship reflective
...
The job summary needed a JobID
2018-03-28 14:56:15 -07:00
Michael Lange
dbf4b6c242
Clear out the localStorage namespace when it's no longer valid
...
In the event that a namespace in localStorage is not found in the
response for /namespaces, clear the localStorage value and assume
the default namespace.
2018-03-28 14:55:07 -07:00
Michael Lange
679831e96b
Don't allow the alloc status table cell to word-wrap at the swatch
2018-03-28 14:51:54 -07:00
Michael Lange
84141e9d1f
Read the task event message from the DisplayMessage prop
2018-03-28 12:52:02 -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
1413ed1a44
Never duplicate query params, always include query params
...
A couple more edge cases related to watching URLs with query params
2018-03-22 20:14:36 -07:00
Michael Lange
ca98d6b0c8
Allow child adapters specify special xhr keys
...
This is necessary for the namespace query param
2018-03-22 20:14:36 -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
fb17a758da
Poll for allocation stats
2018-03-22 14:34:57 -07:00
Michael Lange
6bf139d094
Refactor the way allocation stats are fetched
...
No longer treat it as a property for relationship, just ephemeral
data that can be fetched on demand.
2018-03-22 14:34:13 -07:00
Michael Lange
729365507f
Merge pull request #4017 from hashicorp/b-ui-error-message-for-force
...
Show an error message when forcing a periodic launch is forbidden
2018-03-22 11:17:14 -07:00
Michael Lange
6ac170d721
Merge pull request #4026 from hashicorp/b-ui-use-native-fetch-in-prod
...
UI: Use native fetch in production when available
2018-03-22 11:16:37 -07:00
Michael Lange
d455b3cdd3
mirageEnabled alone doesn't capture whether or not mirage is enabled
...
Add an isProduction condition to ensure native fetch is used when
possible.
2018-03-21 22:09:10 -07:00
Michael Lange
fc5c4ff093
The initial index value should be 1, not 0
2018-03-21 13:28:56 -07:00