[feat] Word filter case sensitivity #431
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#431
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
As it stands, the Settings > Filtering > Wordfilter input appears to be case-insensitive.
The issue author ran into some existing issues with mentions of regular expression filters, but is unsure if they're directly related and/or if said issues are still up to date.
This is a proposal for case sensitivity within said textarea input.
Said feature has been very briefly tested via the issue author's instance, and the patch with the minimal tweaks required onto the front end code can be seen in the link below:
c9ab0c813d
The reasoning
If implemented, this allows for case-sensitivity within the front-end filters/word-mutes without more elaborate involvement within the back end.
Ideally, the user would be able to choose which input is meant to be case-sensitive, so as to retain backwards compatibility with the expectation of all wordfilters being case-insensitive, but that would probably require further tweaks.
Have you searched for this feature request?