Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Add specificity to exec allocation URL generation #8463

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

backspace
Copy link
Contributor

Thanks to @notnoop for this UX improvement suggestion.
The allocation’s task group is always known, so it
might as well be preselected in the sidebar when the
exec window opens. Also, if the task group only has
one task, might as well preselect it too.

Review notes:
• this is perhaps at or beyond the limit of where it makes sense to use non-Ember Data pseudo-models in the tests 😶
• testing this locally doesn’t work without the fix in #8460 but I didn’t make that the base because they’re technically orthogonal

Thanks to @notnoop for this UX improvement suggestion.
The allocation’s task group is always known, so it
might as well be preselected in the sidebar when the
exec window opens. Also, if the task group only has
one task, might as well preselect it too.

This is perhaps at or beyond the limit of where it makes
sense to use non-Ember Data pseudo-models in the tests 😶
@backspace backspace self-assigned this Jul 20, 2020
@backspace backspace changed the title Add specificity to exec allocation URL generation UI: Add specificity to exec allocation URL generation Jul 20, 2020
@github-actions
Copy link

Ember Asset Size action

As of b06403f

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +272 B +37 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
nomad-ui.css 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

Ember Test Audit comparison

master b06403f change
passes 1289 1290 +1
failures 0 0 0
flaky 0 0 0
duration 6m 01s 316ms 6m 41s 912ms +40s 596ms

Copy link
Contributor

@DingoEatingFuzz DingoEatingFuzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind the mocks in the tests. Maybe a little utility would make the tests less verbose, but generally speaking I think verbosity in tests is good. Makes it extra clear what's happening and reduces the amount of indirect consequences that could cause a test to fail.

@backspace backspace merged commit 39d3174 into master Jul 20, 2020
@backspace backspace deleted the f-ui/exec-allocation-relations branch July 20, 2020 21:07
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants