Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add option to disable typing notifications #3494

Closed
wants to merge 3 commits into from
Closed

Add option to disable typing notifications #3494

wants to merge 3 commits into from

Conversation

schwukas
Copy link
Contributor

@schwukas schwukas commented Sep 30, 2019

Resolves this riot-im issue.

Signed-off-by: Lukas Schwarz ghub@posteo.se

@t3chguy
Copy link
Member

t3chguy commented Sep 30, 2019

Re sign-off:

I believe as per the contributing doc it has to be name and e-mail address.

Also your name has to fit within:

We accept contributions under a legally identifiable name, such as your name on government documentation or common-law names (names claimed by legitimate usage or repute). Unfortunately, we cannot accept anonymous contributions at this time.

@schwukas
Copy link
Contributor Author

That's alright. I fixed it :)

@t3chguy t3chguy requested a review from a team September 30, 2019 09:55
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First step here I think is a product decision on whether we want this option.

Code-wise, I'd be a lot happier about merging this if it came with a test, otherwise it's liable to just end up getting broken at some point down the line and we won't notice.

@schwukas
Copy link
Contributor Author

schwukas commented Oct 1, 2019

I don't see any reason why this option would be unwanted. I've heard several people wishing for it because the typing notifications are distracting to them. I just find them unnecessary. Since this options defaults to "show typing notifications" anyway, I don't understand the problem of including it. However, this decision is not up to me.
If you find it to be a worthy inclusion just tell me, and I'll gladly add a test.

@t3chguy
Copy link
Member

t3chguy commented Oct 1, 2019

I'd say given Tom labelled it as a feature with a priority it seems like having it behind a default-off setting should be fine

supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Show typing notifications"),
default: true,
invertedSettingName: 'dontShowTypingNotifications',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be here - there's no legacy setting to maintain.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you referring solely to line 231? It's a bit unclear from how github marked it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, 231. The invertedSettingName is a backwards compatibility thing, but there's nothing to be backwards compatible with here.

@turt2live
Copy link
Member

I'd say given Tom labelled it as a feature with a priority it seems like having it behind a default-off setting should be fine

It's also been a year - we should double check.

@t3chguy
Copy link
Member

t3chguy commented Jul 16, 2020

image

This is now a thing

@t3chguy t3chguy closed this Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add option to disable typing notification
4 participants