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

style: fix task card, menu and dropdown styles to be uniform [DET-3286] #723

Merged
merged 3 commits into from
Jun 17, 2020

Conversation

hkang1
Copy link
Contributor

@hkang1 hkang1 commented Jun 16, 2020

Description

The progress bar is sticking out of the task card boundary, this corrects the style.

Before:
2020-06-16 at 10 55 AM

After:
2020-06-16 at 10 56 AM

Additional work was done to unify floating UI element styles (task menus and dropdown menus)

Screen Shot 2020-06-16 at 10 56 28 AM

Screen Shot 2020-06-16 at 10 56 14 AM

Screen Shot 2020-06-16 at 10 56 21 AM

Test Plan

Commentary (optional)

@cla-bot cla-bot bot added the cla-signed label Jun 16, 2020
@hkang1 hkang1 changed the title style: fix task card, menu and dropdown styles to be uniform style: fix task card, menu and dropdown styles to be uniform [DET-3286] Jun 16, 2020
@hkang1 hkang1 requested a review from hamidzr June 16, 2020 17:10
Copy link
Member

@hamidzr hamidzr left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -51,23 +51,12 @@ const TaskActionDropdown: React.FC<Props> = ({ task }: Props) => {
params.domEvent.stopPropagation();
try {
switch (params.key) { // Cases should match menu items.
case 'kill':
Copy link
Member

Choose a reason for hiding this comment

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

suggestion: avoid moving the switch cases around to preserve history if there is no real change happening.

Copy link
Member

Choose a reason for hiding this comment

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

I assume the move is to keep the order the same as the menu items?

@hamidzr hamidzr assigned hkang1 and unassigned hamidzr Jun 17, 2020
@hkang1 hkang1 merged commit bdf0036 into determined-ai:master Jun 17, 2020
@hkang1 hkang1 deleted the 3286-fix-task-card-style branch June 17, 2020 22:56
tayritenour pushed a commit to tayritenour/determined that referenced this pull request Apr 25, 2023
…arts of slurm jobs. (FOUNDENG-495) (determined-ai#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at determined-ai#6141.
tayritenour pushed a commit to tayritenour/determined that referenced this pull request Apr 25, 2023
eecsliu pushed a commit to eecsliu/determined that referenced this pull request Jun 23, 2023
…arts of slurm jobs. (FOUNDENG-495) (determined-ai#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at determined-ai#6141.
eecsliu pushed a commit to eecsliu/determined that referenced this pull request Jun 23, 2023
stoksc pushed a commit that referenced this pull request Jun 26, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
stoksc pushed a commit that referenced this pull request Jun 26, 2023
eecsliu pushed a commit that referenced this pull request Jun 28, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
eecsliu pushed a commit that referenced this pull request Jun 28, 2023
eecsliu pushed a commit that referenced this pull request Jun 28, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
eecsliu pushed a commit that referenced this pull request Jun 28, 2023
stoksc pushed a commit that referenced this pull request Jul 20, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
stoksc pushed a commit that referenced this pull request Jul 20, 2023
eecsliu pushed a commit that referenced this pull request Jul 24, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
eecsliu pushed a commit that referenced this pull request Jul 24, 2023
stoksc pushed a commit that referenced this pull request Oct 17, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
stoksc pushed a commit that referenced this pull request Oct 17, 2023
azhou-determined pushed a commit that referenced this pull request Dec 7, 2023
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
azhou-determined pushed a commit that referenced this pull request Dec 7, 2023
wes-turner pushed a commit that referenced this pull request Feb 2, 2024
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
wes-turner pushed a commit that referenced this pull request Feb 2, 2024
@dannysauer dannysauer added this to the 0.12.10 milestone Feb 6, 2024
rb-determined-ai pushed a commit that referenced this pull request Feb 29, 2024
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
rb-determined-ai pushed a commit that referenced this pull request Feb 29, 2024
amandavialva01 pushed a commit that referenced this pull request Mar 18, 2024
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
amandavialva01 pushed a commit that referenced this pull request Mar 18, 2024
eecsliu pushed a commit that referenced this pull request Apr 18, 2024
…arts of slurm jobs. (FOUNDENG-495) (#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at #6141.
eecsliu pushed a commit that referenced this pull request Apr 18, 2024
eecsliu pushed a commit to determined-ai/determined-release-testing that referenced this pull request Apr 22, 2024
…arts of slurm jobs. (FOUNDENG-495) (determined-ai#723)

[FOUNDENG-453](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-453) [PR](https://github.hpe.com/hpe/hpc-ard-capsules-core/pull/765) sets the `--no-requeue` option for SLURM by default in the launcher code. Ideally, this should come from determined as this is the default enforced by determined not the launcher. Added code to determined to pass the `--no-requeue` option to the launcher. Please note that the changes in the launcher code will be reverted as part of the future issue [FOUNDENG-496](https://jira-pro.its.hpecorp.net:8443/browse/FOUNDENG-496). Also, the documentation changes for this issue can be found at determined-ai#6141.
eecsliu pushed a commit to determined-ai/determined-release-testing that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants