Skip to content

Conversation

@rogerb831
Copy link
Contributor

Summary

This PR adds toggleable recording preferences with persistence across app restarts.

Changes

  • Added settings fields: defaultRecordScreenAudio and defaultRecordMicrophone to control default recording behavior
  • Connected recorder state: Recorder now loads and saves user preferences automatically
  • Removed restrictions: Users can now uncheck both recording options if desired
  • Added persistence: Recording preferences are saved and restored across app restarts
  • Initialize from settings: Recorder loads user's saved preferences on startup

Benefits

  • Users can set their preferred default recording options
  • Preferences persist across app restarts
  • Both screen audio and microphone can be toggled independently
  • No more forced recording options - users have full control

Testing

  • ✅ Both checkboxes are fully toggleable
  • ✅ State persists across app restarts
  • ✅ Recorder initializes with saved preferences
  • ✅ Can uncheck both options if desired

- Set microphone recording checkbox to be checked by default when starting a new recording
- Added placeholder microphone in initial state to ensure checkbox is checked
- Updated useEffect to replace placeholder with actual default microphone when available
- Improves user experience by reducing steps needed to start recording with microphone
- Add defaultRecordScreenAudio and defaultRecordMicrophone settings
- Connect recorder state to settings for persistence across app restarts
- Remove restrictions preventing unchecking both recording options
- Initialize recorder with user's saved preferences on startup
- Both checkboxes are now fully toggleable and state persists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant