Skip to content

Components v2 & QoL/Bug fixes#14

Merged
AlexFlipnote merged 32 commits into
masterfrom
feat/components_v2
Apr 19, 2025
Merged

Components v2 & QoL/Bug fixes#14
AlexFlipnote merged 32 commits into
masterfrom
feat/components_v2

Conversation

@AlexFlipnote
Copy link
Copy Markdown
Owner

@AlexFlipnote AlexFlipnote commented Feb 21, 2025

Implementing the new components to work alongside the discord_http.View builder

Easy install test

pip install git+https://github.com/AlexFlipnote/discord.http.git@feat/components_v2

@AlexFlipnote
Copy link
Copy Markdown
Owner Author

AlexFlipnote commented Feb 22, 2025

Todo

  • Backwards compatability with v2 on View.from_dict()
  • A way to parse file/media to either Message.attachment or a new object for this purpose

@AlexFlipnote AlexFlipnote added the enhancement New feature or request label Feb 22, 2025
@AlexFlipnote AlexFlipnote self-assigned this Feb 22, 2025
@AlexFlipnote AlexFlipnote marked this pull request as ready for review February 22, 2025 07:37
@AlexFlipnote
Copy link
Copy Markdown
Owner Author

It's considered beta, need to now just make sure that things works as it should and polish more probably

@AlexFlipnote
Copy link
Copy Markdown
Owner Author

Quick demo of progress

Send and Edit works fine (as far as I know..)

DiscordDevelopment_2025-02-22_08-56-31.mp4

@AlexFlipnote AlexFlipnote changed the title WIP: Implementing Components v2 Implementing Components v2 Feb 23, 2025
@AlexFlipnote
Copy link
Copy Markdown
Owner Author

Need to make sure nothing breaks, backwards compatability works fine and check if there are any missing things left

@AlexFlipnote
Copy link
Copy Markdown
Owner Author

discord_http.View has been rewritten completly, which also introduces a breaking change. This update will push it to v2.2 due to this. ActionRow is not longer automatic and is required to do manually.

@AlexFlipnote
Copy link
Copy Markdown
Owner Author

I also realise that I have been resolving other issues with the library while working on components v2, so consider this rather Components v2 + QoL + Bug fixes

@AlexFlipnote AlexFlipnote changed the title Implementing Components v2 Components v2 & QoL/Bug fixes Feb 23, 2025
@AlexFlipnote AlexFlipnote added bug Something isn't working help wanted Extra attention is needed labels Feb 23, 2025
@AlexFlipnote
Copy link
Copy Markdown
Owner Author

funny labels, I has bugs that I fix, I scream for help, but I fix alone :)

Comment thread discord_http/view.py Outdated
Copy link
Copy Markdown

@SirRomey SirRomey left a comment

Choose a reason for hiding this comment

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

Yay!!

@AlexFlipnote
Copy link
Copy Markdown
Owner Author

Release of components v2 has been delayed until April/May, I might consider releasing this sooner..

@AlexFlipnote AlexFlipnote merged commit 220c097 into master Apr 19, 2025
1 check passed
@AlexFlipnote AlexFlipnote deleted the feat/components_v2 branch April 19, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants