Skip to content

feat: General enhancements for views#3093

Draft
NeloBlivion wants to merge 69 commits intoPycord-Development:masterfrom
NeloBlivion:view_additions
Draft

feat: General enhancements for views#3093
NeloBlivion wants to merge 69 commits intoPycord-Development:masterfrom
NeloBlivion:view_additions

Conversation

@NeloBlivion
Copy link
Member

@NeloBlivion NeloBlivion commented Feb 7, 2026

Summary

Isolates features previously introduced in #3032

  • replace_item added to DesignerView, ActionRow, Section, Container, and MediaGallery
  • add_item supports positioning with parameters before, after, and index
  • get_item supports getting items by any attribute instead of just id and custom_id

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.

@pycord-app
Copy link

pycord-app bot commented Feb 7, 2026

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3093/head:pr-3093
git checkout pr-3093

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3093/head

@NeloBlivion NeloBlivion mentioned this pull request Feb 7, 2026
9 tasks
@NeloBlivion NeloBlivion added this to the v2.8 milestone Feb 7, 2026
@NeloBlivion NeloBlivion added feature Implements a feature on hold components Related to discord components (Views + Modals) labels Feb 7, 2026
@Paillat-dev Paillat-dev linked an issue Feb 7, 2026 that may be closed by this pull request
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

components Related to discord components (Views + Modals) feature Implements a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overloads for DesignerView etc

4 participants