-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Plugin: FixedForumTags #3124
base: dev
Are you sure you want to change the base?
Plugin: FixedForumTags #3124
Conversation
The purpose of this plugin seems very confusing, what even is a moderated tag? |
a tag that only moderators can add discord uses the same function to select tags for your own post for the overflow searching menu |
|
||
## After Fixed Forum Tags | ||
|
||
![image](https://github.com/user-attachments/assets/c5fc3349-d998-448f-a6e2-130327128df4) |
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.
alt text should either be meaningful if this image is relevant for blind people, or blank to make this image not be included in screen reader
// patches the dropdown menu where overflow forum tags are listed, | ||
// sets the second parameter to true to not ignore moderated forum tags | ||
{ | ||
find: "\"-all-tags-dropdown-navigator\"", |
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.
find: "\"-all-tags-dropdown-navigator\"", | |
find: '"-all-tags-dropdown-navigator"', |
{ | ||
find: "\"-all-tags-dropdown-navigator\"", | ||
replacement: { | ||
match: /((\i)=\(0,\i\.\i\)\(\i)(\))(?=.*children:\2\.map\()/, |
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 is very ugly try making this better idk what the code looks like but generally you should try getting some less generic string or token in there
allows you to search by moderated forum tags