-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Send notification when recording has finished. #142
Conversation
Thanks for working on this @igordsm! I left a comment on the original issue; as a note, it can be helpful to make sure an issue is confirmed and has input from @elementary/ux before jumping into implementation. That said, if this could be changed to a toast, I think it could be useful. See: #113 (comment) |
2a0c934
to
bd3df4c
Compare
@cassidyjames Thank you the input on #113 . I have updated the code to reflect the new design using Toast. Feel free to comment when you have the time. |
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.
This works fine if the video is saved OK. My only quibble is that there is no checking of the path returned and it could in theory be "", in which a different message should be displayed.
I've noticed that this doesn't highlight the relevant file in the folder. It is possible to do this by getting the However, we could follow up with that later. |
Co-authored-by: David Hewitt <davidmhewitt@users.noreply.github.com>
…t if location == "".
@jeremypw If location is empty it now shows the following toast: @davidmhewitt I'm now using |
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.
Works as expected. I think, overall it is clearer to use a second toast, as you have done, than try to modify one toast according the outcome.
Leaving open as there is an outstanding question for @davidmhewitt |
…cording-notification # Conflicts fixed in: # src/Widgets/CameraView.vala
This seems to work OK for me now. Adding the AppLaunchContext seems to fix the problem that if Files is already open on another workspace then nothing seems to happen. Now Gala switches workspace to the one that Files is on. |
Not sure how FlatPaking this will affect the functionality though. |
Closes #113 .
This is very open for comments. I had never used notifications and actions before, so this may not be the best or even correct way of doing this. If this is indeed garbage, I would appreciate some pointers on how to do this right.
Best regards,