Commit Graph

187 Commits

Author SHA1 Message Date
John Cowen
74b14d0856 Address PR feedback
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
3ce79e9337 Add more assertions for basic message checking 2018-01-19 13:59:19 +00:00
John Cowen
0a9faaa805 Add in data-test attrs to hook into, decide on test case granularity 2018-01-19 13:59:19 +00:00
John Cowen
1307970412 Move cleanWhitespace to utils, readd data-test attribute for PF's
1. cleanWhitespace > /test/utils/clean-whitespace.js
2. Missd the data-test attribute for placement failures in previous
conflict
2018-01-19 13:59:19 +00:00
John Cowen
f0363675ef Move placement failures to a component, begin separate integration tests
1. Simple move of placement-failures template code to a component
2. Start adding integration tests - hit `inc` surprise
2018-01-19 13:59:19 +00:00
Michael Lange
249fe6fd94 Add breadcrumbs to the styleguide 2018-01-17 09:04:01 -08:00
Michael Lange
c8fcb4c710 Reorganize the styleguide using components for sections 2018-01-17 09:04:01 -08:00
Michael Lange
89118a0505 Add boxed-section component to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
ab6c443edf Add basic elements to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
a6e8007d06 Add jumbo distribution bar to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
62dbb27365 Move distribution bar styleguide material to a component 2018-01-17 09:04:00 -08:00
Michael Lange
78d1671253 Move button styleguide material to a component 2018-01-17 09:04:00 -08:00
Michael Lange
44b8f97d39 Fix syntax highlighting in the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
cff01570d6 Fix a class name bug in the distribution bar 2018-01-17 09:04:00 -08:00
Michael Lange
f8e563ba71 A new place to put styles only the styleguide uses 2018-01-17 09:04:00 -08:00
Michael Lange
856b01148b Run prettier on all files
Since prettier updated, some files have out of date formatting.
2018-01-17 09:04:00 -08:00
Michael Lange
7526295e88 Use ember-test-selectors for integration tests 2018-01-17 09:03:59 -08:00
Michael Lange
4c36907505 Use data-test- selectors in acceptance tests 2018-01-17 09:03:59 -08:00
Michael Lange
13e63ea1d5 Strengthen the .tag override selector
In 0.5.2, Bulma excludes the body element from the selector to work around
an issue with Wordpress.
2018-01-17 09:03:59 -08:00
Michael Lange
85dff27e5d Remap $info to $blue
Bulma defaults $info to $cyan in 0.6.0
2018-01-17 09:03:59 -08:00
Michael Lange
8228c45ba6 Specify color overrides in navbar
Bulma 0.5.2 introduced color modifiers for navbar
2018-01-17 09:03:59 -08:00
Michael Lange
10a9370289 Replace nav with navbar
Bulma introduced navbar while deprecating nav in 0.4.3
Bulma removed deprecated nav in 0.6.0
2018-01-17 09:03:59 -08:00
Michael Lange
dbdbde4f9a Replace custom breadcrumbs CSS with new Bulma provided CSS 2018-01-17 09:03:59 -08:00
Michael Lange
d458ae7e4e Update variable names 2018-01-17 09:03:58 -08:00
Michael Lange
2c7cb11a72 Default to 100% wide tables
Bulma 0.5.0 makes tables auto by default and adds the
full-width modifier.
2018-01-17 09:03:58 -08:00
Michael Lange
c65fff82ca Shuffle around styles to better organize around net new code and bulma overrides 2018-01-17 09:03:58 -08:00
Michael Lange
54e083538e Remove the MODEL_FACTORY_INJECTIONS cruft 2018-01-17 09:02:05 -08:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
8100dc94e4 Update the reason why the router service is still not used 2018-01-17 09:02:04 -08:00
Michael Lange
cb3e4a3905 Never use native fetch when mirage is enabled
Unfortunately, Mirage/Pretender don't support fetch
2018-01-17 09:02:04 -08:00
Michael Lange
d53849d2a5 Disambiguate what to do with the child task for the task logger
linked tasks are killed when the parent task is killed.
2018-01-17 09:02:04 -08:00
Michael Lange
fbdf3ed3cb Don't warn intentional errors in tests
It's too noisy
2018-01-17 09:02:04 -08:00
Michael Lange
534376ac62 Don't dot twice after an @each 2018-01-17 09:02:03 -08:00
Michael Lange
e482a9927f Never fetch a job with null as the namespace 2018-01-17 09:02:03 -08:00
Michael Schurter
4c859dc0aa Include credentials in fetch requests
Fixes #3701

Relevant spec section:
https://fetch.spec.whatwg.org/#concept-request-credentials-mode
2018-01-08 12:18:03 -08:00
Michael Lange
b09974e221 Merge pull request #3631 from hashicorp/b-ui-expand-definition
UI Show full job definition by default
2017-12-07 14:42:01 -08:00
Michael Lange
a78a2e333c Merge pull request #3607 from hashicorp/f-ui-modify-time-over-modify-index
UI Use ModifyTime instead of ModifyIndex in allocation lists
2017-12-07 14:25:28 -08:00
Michael Lange
f75123026d Expand the entire job definition by default 2017-12-07 14:06:51 -08:00
Michael Lange
5acb3e8c6f Merge pull request #3621 from hashicorp/b-ui-timezones
UI: Drop timezones from timestamps
2017-12-06 14:16:08 -08:00
Michael Lange
289b52aa21 Merge pull request #3623 from hashicorp/f-ui-warn-uncaught-exceptions
UI: Warn uncaught exceptions to console
2017-12-06 14:11:22 -08:00
Michael Lange
b1cc6280b0 Make sure the code element within a cli-window takes the full height 2017-12-06 13:36:18 -08:00
Michael Lange
ee7faa5561 Warn errors in prod 2017-12-06 10:33:03 -08:00
Michael Lange
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00
Michael Lange
a034708196 Remove UTC timezone tag 2017-12-05 19:12:18 -08:00
Michael Lange
b4ee45a2d6 Acceptance tests for evaluations 2017-11-29 20:12:45 -08:00
Michael Lange
f30772556e Be clear about what the placment failures number next to task groups is 2017-11-29 20:12:12 -08:00
Michael Lange
a7b0541676 List placement failures on the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
3f3b31614c Add a table of evaluations to the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
0af56f3af4 Associate jobs, task groups, and evaluations 2017-11-29 20:12:12 -08:00
Michael Lange
c72cb2ee4f Models evaluation data 2017-11-29 20:12:12 -08:00