Skip to content

Major improvements to ViewMembersWithRole plugin#2

Open
blancodagoat wants to merge 3 commits into
Ryfters:mainfrom
blancodagoat:main
Open

Major improvements to ViewMembersWithRole plugin#2
blancodagoat wants to merge 3 commits into
Ryfters:mainfrom
blancodagoat:main

Conversation

@blancodagoat
Copy link
Copy Markdown

  • Bug fixes: Fixed directory name typo (componenents → components)
  • Robustness: Improved error handling with ErrorBoundary and null checks
  • Fallbacks: Added fallback mechanisms when Discord API endpoints are unavailable
  • Performance: Changed rolesFetched from Array to Set for O(1) lookups
  • UI: Created RoleCircle component with CSS variable support for dynamic colors
  • Types: Updated to use @vencord/discord-types and improved TypeScript types
  • Accessibility: Added alt/title attributes to images
  • Loading states: Better loading indicators and error messages
  • Code quality: Proper cleanup in useEffect hooks with cancellation flags
  • CSS: Added background-color to role circle with CSS variable support

- Bug fixes: Fixed directory name typo (componenents → components)
- Robustness: Improved error handling with ErrorBoundary and null checks
- Fallbacks: Added fallback mechanisms when Discord API endpoints are unavailable
- Performance: Changed rolesFetched from Array to Set for O(1) lookups
- UI: Created RoleCircle component with CSS variable support for dynamic colors
- Types: Updated to use @vencord/discord-types and improved TypeScript types
- Accessibility: Added alt/title attributes to images
- Loading states: Better loading indicators and error messages
- Code quality: Proper cleanup in useEffect hooks with cancellation flags
- CSS: Added background-color to role circle with CSS variable support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant