Commit Graph

22332 Commits

Author SHA1 Message Date
Jai Bhagat
b72bf6f5a8 test: add tests for not auth behavior for job-client-status-summary 2022-01-24 11:08:33 -05:00
Jai Bhagat
3de0a88c57 fix: auth node requests with mirage 2022-01-24 11:07:17 -05:00
Jai Bhagat
55d1dbb339 fix: protect route if not auth 2022-01-24 11:07:17 -05:00
Jai Bhagat
e536e800e2 feat: add conditional rendering logic to template for not auth concern 2022-01-24 11:07:15 -05:00
Jai Bhagat
e634a41ea4 fix: prevent async request for node relationship on alloc 2022-01-24 11:06:30 -05:00
Jai Bhagat
ecbc327231 fix: update component props for glimmer syntax 2022-01-24 11:06:10 -05:00
Jai Bhagat
c423bfe274 fix: update conditional rendering of clients tab 2022-01-24 11:06:08 -05:00
Jai Bhagat
1751f5b32b fix: move node loading to jobs.job route and add auth logic 2022-01-24 11:05:50 -05:00
Luiz Aoqui
0eff35dde0 ui: add "read client" ability 2022-01-24 11:05:48 -05:00
Jai Bhagat
1a9b70688a refact: move gotoClients logic down to component 2022-01-24 11:04:52 -05:00
Jai Bhagat
2778fa1ffa fix: remove debugger 2022-01-24 11:04:51 -05:00
Jai Bhagat
d64df8ba68 fix: router expect identifier instead of model for trans to job page 2022-01-24 11:04:51 -05:00
Jai Bhagat
9f1d22595c refact: move gotoJob to component 2022-01-24 11:04:51 -05:00
Jai Bhagat
6b26fe80df chore: prettify job/index controller 2022-01-24 11:04:51 -05:00
Jai Bhagat
2979538d13 chore: prettify children template 2022-01-24 11:04:51 -05:00
Jai Bhagat
6bbcc10182 chore: prettify jobs index template 2022-01-24 11:04:51 -05:00
Jai Bhagat
da2f574c45 chore: prettify job-row template 2022-01-24 11:04:51 -05:00
Jai Bhagat
432758916e refact: move gotoTaskGroup action to component
Previously, the router service was not available to components. Now that it is,
we no longer need to prop-drill this linking action.
2022-01-24 11:04:48 -05:00
Jai Bhagat
6f2e16cb2a chore: prettify task-groups template 2022-01-24 11:04:15 -05:00
Jai Bhagat
8c2ce12ef9 refactor: compute jobClientStatus in summary backing class component 2022-01-24 11:04:14 -05:00
Jai Bhagat
204cbea29d refact: move conditional rendering logic from job-page to job-client-status-summary 2022-01-24 11:04:12 -05:00
Jai Bhagat
dec6a68ca4 refact: remove unused backing component classes and extend periodic and param-child to use Glimmer 2022-01-24 11:02:26 -05:00
Jai Bhagat
4aa035b6fa refact: job-page/batch template to use contextual components 2022-01-24 11:02:06 -05:00
Jai Bhagat
4076e26ad7 refact: job-page/parameterized-child template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
e40fab4edb refact: job-page/parameterized template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
c3b88112e9 refact: job-page/periodic-child template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
0fb0ad32ab refact: job-page/periodic template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
646509037e refact: job-page/service template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
a8888cd330 refact: job-page/sysbatch template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
9613d163e2 refact: job-page/system template to use contextual components 2022-01-24 11:02:05 -05:00
Jai Bhagat
184bc1165b feat: create job-page contextual component 2022-01-24 11:02:04 -05:00
Jai Bhagat
4d93ca67ea fix: remove sourceMaps false in ember-cli-build
There was previously a bug with sourceMaps that slowed down the build.
This issue has been resolved by Ember and now we can expect the default
behavior of sourceMaps being enabled in dev and disabled in prod.
2022-01-24 11:02:04 -05:00
Jai Bhagat
74bc21e26b ui: prepare rebase for contextual job-page 2022-01-24 10:58:28 -05:00
Jai
81f7d7d3e3 Merge pull request #11754 from hashicorp/b-ui/fix-linter
ui:  fix linter and prettier
2022-01-24 09:08:47 -05:00
Jai Bhagat
a6b3836d85 fix: mirage fixtures are randomized so we cant assert.expect 2022-01-20 10:55:36 -05:00
Jai Bhagat
cae4bec3c9 ui: fix remaining linting errors 2022-01-20 10:39:02 -05:00
Jai Bhagat
2032813bb6 ui: apply new qunit linting rules to tests
Async tests should use  in integrations tests.
Acceptance tests are using Mirage and can't use
since we can't know the number of assertions.
2022-01-20 10:01:35 -05:00
Jai Bhagat
8c600acb35 ui: prettify js files 2022-01-20 09:54:56 -05:00
Jai Bhagat
635e937033 ui: upgrade prettier to match 3.28 ember-new-output 2022-01-20 09:46:50 -05:00
Jai Bhagat
ba9d95c34d ui: disable no-string-protype-extensions where its currently in use 2022-01-20 09:46:49 -05:00
Jai Bhagat
e540aa349e ui: turn off tagless components linting error
Classic components still use tagName decorator
2022-01-20 09:46:49 -05:00
Jai Bhagat
1975f43d35 ui: turn off no-component-lifecycle-hooks
Classic components use lifecycle hooks.
2022-01-20 09:46:49 -05:00
Jai Bhagat
56d24d841c ui: turn off no-classic-components
This is a mixed codebase and still uses classic components
2022-01-20 09:46:49 -05:00
Jai Bhagat
2701de50d2 ui: storybook accesses private routing service 2022-01-20 09:46:49 -05:00
Jai Bhagat
d8faa5e56b ui: replace this.render with render test-helper in tests 2022-01-20 09:46:49 -05:00
Jai Bhagat
720bfa82a7 ui: disable linting on files that use controllerFor 2022-01-20 09:46:49 -05:00
Jai Bhagat
acb818504c ui: turn off no-computed-properties-in-native-classes
We have ~60 uses of computed properties across routes (for watcher system), components,
and models.
2022-01-20 09:46:48 -05:00
Jai Bhagat
4fe64bbcff ui: turn off no-class-classes rule
We still use classic classes because this is a mixed
codebase between Octane and Classic.
2022-01-20 09:46:48 -05:00
Jai Bhagat
d0f8322786 ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
Jai Bhagat
ba92ba367d ui: match eslint script with ember-new-output 2022-01-20 09:29:10 -05:00