-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Toggle the sound notifications #1536
Conversation
<Checkbox | ||
className='control' | ||
checked={this.props.state.saved.prefs.soundNotifications} | ||
label={'Activate the notification sounds'} |
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.
Nitpick: I would prefer 'Enable notification sounds'.
But since it is both interaction sounds and notification sounds, maybe it should simply be 'Enable sounds'?
@@ -231,6 +250,9 @@ class PreferencesPage extends React.Component { | |||
{this.setDefaultAppButton()} | |||
</PreferencesSection> | |||
{this.setStartupSection()} | |||
<PreferencesSection title='Miscellaneous'> |
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.
I think we should group the startup and sound options under a 'General' section instead.
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.
You're right, looks cleaner to me too 👍
@adriantombu Thanks for the changes! I took the liberty to add some migration handling to your branch as well. Based on the previous feedback I also think it's fine to make this an option. |
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.
Changes do not impede user functionality, and pass test.
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 PR is related to the #1067 issue
As the notificaiton sounds seem a bit controversial, I guess the best way to content everybody would be to allow people to chose what they want, hence this little checkbox to toggle the sounds 😃
Personnally, I'm like @rjmill : sometime I need absolute silence, and sometime I need the notifications.
Anyways, I'm open for feedback 👍