element-hq / element-hq/element-web

Notifications: Keyword validation

Open
#18,839 0 comments 0 reactions 1 assignee Claimed by @kerryarchibald View on GitHub
A-Notifications O-Uncommon S-Minor T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

Have my input validated for entering keywords to ensure I don't enter broken/impossible keywords. Example: https://github.com/vector-im/element-android/pull/3894

#### Why would you like to do it?

so things don't break

#### How would you like to achieve it?

We have a built-in validation system for fields that we can use. Examples include most password entries and alias fields - copying logic from there would be good.

### Have you considered any alternatives?

_No response_

### Additional context

Consistency with mobile.
To get there go to Settings -> Notifications -> Mention and keywords.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.