-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(plugin): syncCategoryPerms #3811
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
base: main
Are you sure you want to change the base?
Conversation
|
Accidentally committed the change to build.mjs (it was a bug with unix file permissions), please ignore it |
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.
Pull request overview
This PR adds a new plugin called syncCategoryPerms that provides a context menu option for Discord category channels to sync their permissions to all child channels within the category.
- Adds a new plugin that allows users to sync category permissions to all channels in that category with a single click
- Includes permission checking, retry logic for rate limiting, and user confirmations
- Provides helpful feedback via toasts and alerts to inform users of the sync status
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/utils/constants.ts | Adds new developer entry "hackerboi" (DanielE) to the Devs constant |
| src/plugins/syncCategoryPerms/index.tsx | Main plugin implementation with context menu handler, permission sync logic, and retry mechanisms |
| src/plugins/syncCategoryPerms/README.md | Plugin documentation with screenshots showing the context menu and confirmation dialogs |
| scripts/build/build.mjs | Appears to be entire file content shown in diff rather than actual changes - likely unintentional inclusion in the PR |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixed it |
A plugin that adds a context menu option to sync the category permissions to all channels in the category