Skip to content

Comments

Notify user after failing to start recording#715

Closed
ComputelessComputer wants to merge 5 commits intomainfrom
update-listen-button-handling
Closed

Notify user after failing to start recording#715
ComputelessComputer wants to merge 5 commits intomainfrom
update-listen-button-handling

Conversation

@ComputelessComputer
Copy link
Collaborator

  • Added error handling to the start action in the ongoingSessionStore to return a promise and reset the store state on errors
  • Added error handling for failed recording sessions, displaying a toast notification if the main window is visible or a system notification if it's not

@yujonglee yujonglee linked an issue May 4, 2025 that may be closed by this pull request
2 tasks
@fastrepl fastrepl deleted a comment from ComputelessComputer May 4, 2025
@ComputelessComputer ComputelessComputer force-pushed the update-listen-button-handling branch 3 times, most recently from e358f97 to ad7098f Compare May 6, 2025 03:24
ComputelessComputer and others added 4 commits May 6, 2025 18:06
Adds error handling to the `start` action in the `ongoingSessionStore`.
The `start` action now returns a promise so that errors can be caught by
callers. If an error occurs while starting the session, the store state is
reset to the initial state and a new error is thrown with a descriptive
message.
This commit adds error handling for when a recording session fails to start. If the
session fails to start, it checks if the main window is visible and displays a toast
notification with the error message. If the main window is not visible, it checks if
the user has granted notification permissions and displays a notification instead.

This change ensures that users are informed when a recording session fails to start,
providing them with more context and guidance on how to resolve the issue.
The changes made in this commit improve the user experience when recording
fails. Instead of displaying a generic error message, the app now shows a
more specific notification with a clear call to action for the user to try
the recording again. Additionally, the notification is now displayed using
the desktop notification API, providing a more seamless and native
experience for the user.
@ComputelessComputer ComputelessComputer force-pushed the update-listen-button-handling branch 2 times, most recently from 1129cd5 to b71ea05 Compare May 7, 2025 04:57
@ComputelessComputer ComputelessComputer force-pushed the update-listen-button-handling branch from b71ea05 to e567475 Compare May 7, 2025 05:08
@yujonglee yujonglee closed this Jun 23, 2025
@yujonglee yujonglee deleted the update-listen-button-handling branch June 23, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notify user after failing to start recording

2 participants