Skip to content

Add support of discords "new" components v2!#193

Merged
ItzDerock merged 7 commits into
ItzDerock:masterfrom
TheMonDon:components-v2
Sep 12, 2025
Merged

Add support of discords "new" components v2!#193
ItzDerock merged 7 commits into
ItzDerock:masterfrom
TheMonDon:components-v2

Conversation

@TheMonDon
Copy link
Copy Markdown
Contributor

This pull request adds support for the new discord components v2. There isn't much else to say about it.

Copy link
Copy Markdown
Owner

@ItzDerock ItzDerock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm, will test it over weekend. Just some small changes needed.

Comment thread src/generator/renderers/components.tsx
Comment thread src/generator/renderers/components.tsx Outdated
Comment thread src/generator/renderers/components/styles.ts Outdated
Comment thread src/generator/renderers/components/styles.ts Outdated
Comment thread src/generator/renderers/components/utils.ts Outdated
Comment thread src/generator/renderers/components/utils.ts Outdated
@TheMonDon
Copy link
Copy Markdown
Contributor Author

Alright, feel free to take a look now. All the requested changes should be done as well as some fixes I missed last time

Copy link
Copy Markdown
Owner

@ItzDerock ItzDerock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one last change. This PR introduces a lot of components declared using the const ... syntax. Existing components are declared using the function ... syntax. To be consistent, refactor the const over to function. I marked out the first two I saw, but I think there's a few more.

Comment thread src/generator/renderers/components/Button.tsx Outdated
Comment thread src/generator/renderers/components/Select Menu.tsx Outdated
@TheMonDon
Copy link
Copy Markdown
Contributor Author

Alright, that should be all of them. I also changed spelling on a few things.

@ItzDerock ItzDerock merged commit 136b972 into ItzDerock:master Sep 12, 2025
3 checks passed
@TheMonDon TheMonDon deleted the components-v2 branch September 12, 2025 03:57
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.

2 participants