-
Notifications
You must be signed in to change notification settings - Fork 128
kraken: allow cancelling install/update operations #3857
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -50,6 +50,11 @@ | |||||||
| </v-expansion-panel> | ||||||||
| </v-expansion-panels> | ||||||||
| </v-card-text> | ||||||||
| <v-card-actions v-if="cancelable" class="justify-end"> | ||||||||
| <v-btn text color="primary" @click="$emit('cancel')"> | ||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I would try to keep the style similar to other popups if possible |
||||||||
| Cancel | ||||||||
| </v-btn> | ||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This is a complement to the |
||||||||
| </v-card-actions> | ||||||||
| </v-card> | ||||||||
| </v-dialog> | ||||||||
| </template> | ||||||||
|
|
@@ -80,6 +85,10 @@ export default Vue.extend({ | |||||||
| type: String, | ||||||||
| required: true, | ||||||||
| }, | ||||||||
| cancelable: { | ||||||||
| type: Boolean, | ||||||||
| default: false, | ||||||||
| }, | ||||||||
| }, | ||||||||
| data() { | ||||||||
| return { | ||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe using a
justify-startor using the same pattern from other popups that is the suggestion above followed by the<v-spacer />on the suggestion bellow so that the button is at the left.This is not a requirement, we just keep most of cancel buttons at the left, but they are usually together with an
applybutton, so if you think that will be more pleasant keep it at the right is ok.