Commit Graph

429 Commits

Author SHA1 Message Date
Michael Lange
1f83916058 Remodel task-group-deployment-summary to property use PlacedCanaries 2018-05-23 13:12:52 -07:00
Michael Lange
c35e7f69fe Merge pull request #4254 from hashicorp/f-ui-ss-restart-tracking
UI: Server-side reschedule tracking
2018-05-10 16:17:02 -07:00
Michael Lange
f92d3641aa Merge pull request #4201 from hashicorp/f-ui-fuzzy-job-search
UI: fuzzy and tokenized job search
2018-05-05 09:56:15 -07:00
Michael Lange
4f260e29df Clean up computed property by inverting early return 2018-05-04 20:38:55 -07:00
Michael Lange
94df7bc46a Integration tests for the various reschedule events timeline permutations 2018-05-04 19:36:55 -07:00
Michael Lange
658c8426ca Turn reschedule events timeline into a component for isolated testing 2018-05-04 19:36:55 -07:00
Michael Lange
80c5c16f79 Acceptance tests for allocation rescheduling 2018-05-04 19:36:54 -07:00
Michael Lange
05d095f129 Mirage modeling for rescheduling 2018-05-04 19:36:54 -07:00
Michael Lange
5952cafccb Reschedule events timeline for the alloc detail page 2018-05-04 19:36:54 -07:00
Michael Lange
52c5806819 Add WaitUntil and followUpEvaluation 2018-05-04 19:36:54 -07:00
Michael Lange
86b725c277 New reschedule-event-row component
Intended to be used in a timeline view.
2018-05-04 19:36:54 -07:00
Michael Lange
47a81e2da7 Add rescheduled icon to allocation row 2018-05-04 19:36:54 -07:00
Michael Lange
5db8e6d135 Refactor allocation-row 2018-05-04 19:36:54 -07:00
Michael Lange
8d18997b1c Add follow up eval relationship to allocation 2018-05-04 19:36:54 -07:00
Michael Lange
901ba35ac5 Add shortId properties to reschedule events model 2018-05-04 19:36:54 -07:00
Michael Lange
940210875d New is-narrow modifier for slim table cells
Useful for actions, icons, and checkboxes
2018-05-04 19:36:54 -07:00
Michael Lange
5394ecfbe5 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
edb4e8229d 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
0344715ece Modeling alloc reschedule events 2018-05-04 19:36:54 -07:00
Michael Lange
d50de22b0f New icon for showing history/paper trail
layers.svg from Open Iconic
2018-05-04 19:36:54 -07:00
Alex Dadgar
9a4295aa9c generated files 2018-04-26 16:28:58 -07:00
Michael Lange
8cba531391 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
e5ba6eb94e Test coverage for the changes to the searchable mixin 2018-04-23 16:49:04 -07:00
Michael Lange
b314741ed2 Trim whitespace on the search term
Trailing whitespace messes with tokenization
2018-04-23 16:49:04 -07:00
Michael Lange
d16b3327f7 Add tokenization to fuse search options 2018-04-23 14:58:01 -07:00
Michael Lange
3fc73d15a9 Show how many jobs exist but are being hidden by the serach term 2018-04-23 14:58:01 -07:00
Michael Lange
15a7f2c012 Apply new search features to the job index page 2018-04-23 14:58:01 -07:00
Michael Lange
a7f6af958e Add optional fuzzy search support to the searchable mixin
This time around fuzzy, exact, and regex can all be toggled.
Additionally, each search type gets its own set of keys to search
for. This means fuzzy search can only look at name while regex and
exact match will still look at ID.
2018-04-23 14:58:01 -07:00
Michael Lange
486c85ce9d Bring fuse.js back 2018-04-23 14:58:01 -07:00
Michael Lange
191bf9e463 Test coverage for alloc stats retrying 2018-04-20 18:11:32 -07:00
Michael Lange
07471e9d55 Move resource generation helper to a common place 2018-04-20 18:10:41 -07:00
Michael Lange
71a4411b22 Keep polling for alloc stats when a request fails 2018-04-20 16:50:54 -07:00
Michael Lange
10c9e7ab66 Add button type to the two-step-button buttons 2018-04-20 10:11:21 -07:00
Michael Lange
1d19d825f2 Move job-page helpers and repeat stop tests on the service type 2018-04-19 14:22:05 -07:00
Michael Lange
91c9e092d7 Refactor periodic job tests 2018-04-19 14:22:04 -07:00
Michael Lange
396c4b041c New tests for stop job action 2018-04-19 14:22:04 -07:00
Michael Lange
a3be7ef006 Refactor job-page components to use common title and error parts 2018-04-19 14:22:04 -07:00
Michael Lange
4738144478 New errorMessage format 2018-04-19 14:22:04 -07:00
Michael Lange
67df4dd304 Common error component for job pages 2018-04-19 14:22:04 -07:00
Michael Lange
842ef65487 Move common title parts into a part component 2018-04-19 14:22:04 -07:00
Michael Lange
9899b15bf3 Test coverage for the two-step-button component 2018-04-19 14:22:04 -07:00
Michael Lange
f0cf06a64a New two-step-button
For performing an action that requires confirmation
2018-04-19 14:22:04 -07:00
Michael Lange
67f2fa1734 Add new model action for stopping a job 2018-04-19 14:22:04 -07:00
Michael Lange
61c0b321a0 Track requests in test mode
This is now necessary in mirage 0.4
2018-04-17 10:28:59 -07:00
Michael Lange
c84ae85578 Upgrade ember-cli-mirage 2018-04-17 10:28:58 -07:00
Michael Lange
f5d8324d18 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
69251628f7 Make sure jobs and task groups have no spaces
Faker hacker nouns can sometimes be two words.
2018-04-17 10:28:58 -07:00
Michael Lange
5f9f928735 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
1f08445aec 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
b10efef4b8 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