Skip to content

feat: components v2 & View improvements #2707

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

Open
wants to merge 220 commits into
base: master
Choose a base branch
from

Conversation

NeloBlivion
Copy link
Member

@NeloBlivion NeloBlivion commented Feb 6, 2025

Summary

Soon




Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

Reference:

message-components-v2-text-display
message-components-v2-container
message-components-v2-file
message-components-v2-media-gallery
message-components-v2-section
message-components-v2-separator

@Lulalaby Lulalaby added discord limitation Limitation imposed by discord priority: medium Medium Priority status: in progress Work in Progess feature Implements a feature upcoming discord feature Involves a feature not yet fully released by Discord labels Feb 6, 2025
@Lulalaby Lulalaby added this to the v2.7 milestone Feb 6, 2025
@iqnite

This comment was marked as resolved.

Copy link
Contributor

@Paillat-dev Paillat-dev left a comment

Choose a reason for hiding this comment

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

There's something I need to check but can't from GitHub mobile

@VincentRPS VincentRPS changed the title feat: components v2 and general View improvements feat: components v2 & View improvements May 20, 2025
@crashi-c
Copy link

self.disable_all_item() returns error AttributeError: 'MediaGallery' object has no attribute 'disable_all_items'
Screenshot 2025-05-20 111646

NeloBlivion and others added 3 commits May 20, 2025 13:18
Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: UK <41271523+NeloBlivion@users.noreply.github.com>
@Blueskycow

This comment has been minimized.

@iqnite

This comment has been minimized.

@Dorukyum
Copy link
Member

This is not new. It also happens in the stable version. I've complained about it several times, but they haven't fixed it yet.

@iqnite Please create a new issue with the necessary information, we'll look into it.

@Lulalaby
Copy link
Member

discord/discord-api-spec@2a2605c

we have attachment_id on the UnfurledMedia object now

@Lulalaby
Copy link
Member

and the file display component has two more fields: size in bytes and name
ref discord/discord-api-docs#7609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discord limitation Limitation imposed by discord feature Implements a feature hold: changelog This pull request is missing a changelog entry priority: medium Medium Priority status: in progress Work in Progess upcoming discord feature Involves a feature not yet fully released by Discord
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.