added a confirm message to the remove recording method#38
Open
simonjcarr wants to merge 2 commits intoackzell:masterfrom
Open
added a confirm message to the remove recording method#38simonjcarr wants to merge 2 commits intoackzell:masterfrom
simonjcarr wants to merge 2 commits intoackzell:masterfrom
Conversation
|
🔨 Explore the source changes: eaa98aa |
Author
|
I will take a look and submit a PR.
…On Sun, 2 Aug 2020 at 17:55, Axel Uriel Martínez Castillo < ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Thank you!
I added a comment.
------------------------------
In components/RecordingsList.vue
<#38 (comment)>:
> + if (!confirm('Are you sure you want to remove this record?')) {
+ return
+ }
Thanks for your contribution @simonjcarr <https://github.com/simonjcarr>!
Much appreciated :)
We have an issue (#5 <#5> )
related to this. I will update it to describe better the approach I would
like to take.
Vuetify has a dialog component
<https://vuetifyjs.com/en/components/dialogs/#modal> that we can use in
this case.
Wanna use that instead?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#38 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALH6TSIHVRGICLIST6GHK3R6WK7FANCNFSM4PSQNDRA>
.
|
Owner
|
Thanks a lot for your contribution @simonjcarr! I have some feedback still 😬 In the image you can see the dialog grows as wide as there is space available in the window. Can we make that not the case and constrain the width? As for the buttons, I was thinking to align them to the right and change the colors to be:
If possible, maybe some space around them to not be too close to the edges of the dialog. (I glanced on the docs and I think that is the default spacing, so that would be okay to remain the same). |
Author
|
I will have another look as soon as I can, I have some priorities at work
at the moment and have recently started writing on Medium, which I am
really enjoying but that is also taking my time at the moment.
I will also have to see if I can get my dev environment tied into Google
for uploading the recordings, which is the reason why I was not able to
test before I submitted the last PR. When time allows I will see if I can
get this working, so I can visualize the results before submitting another
PR. Feel free to make any changes yourself, I won't be offended.
Thanks and take care
Simon
…On Tue, 11 Aug 2020 at 02:48, Axel Uriel Martínez Castillo < ***@***.***> wrote:
Thanks a lot for your contribution @simonjcarr
<https://github.com/simonjcarr>!
I have some feedback still 😬
In the image you can see the dialog grows as wide as there is space
available in the window. Can we make that not the case and constrain the
width?
As for the buttons, I was thinking to align them to the right and change
the colors to be:
- Cancel: Secondary
- Delete: Primary
If possible, maybe some space around them to not be too close to the edges
of the dialog. (I glanced on the docs and I think that is the default
spacing, so that would be okay to remain the same).
[image: Pasted_Image_8_10_20__8_39_PM]
<https://user-images.githubusercontent.com/601266/89847529-e1772980-db49-11ea-9664-a73848c603f2.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#38 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALH6TUNLIVIOQVZON53Q63SACPO7ANCNFSM4PSQNDRA>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Added a confirm dialog message before a recording is deleted.