Skip to content

Conversation

@krittick
Copy link
Contributor

Summary

Remake of #573 because I broke things in my fork.

Note: Pretty much done, works as expected. Might need some more work on docstrings.

Checklist:

  • Base objects/classes/enums
    • Input Text
    • Modals
  • Docstrings
    • Input Text
    • Modals
  • Examples to show usage

This adds support for input text and modal components.

Closes #490

Checklist

  • 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
  • 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, ...)

Credit to @Chiggy-Playz for their guidance in pointing me toward re-using many of the methodologies from View/Button/Select to quickly get our implementation running.

@Lulalaby Lulalaby enabled auto-merge December 24, 2021 01:01
@Lulalaby Lulalaby added priority: medium Medium Priority discord limitation Limitation imposed by discord feature Implements a feature labels Dec 24, 2021
@Lulalaby Lulalaby disabled auto-merge December 24, 2021 01:02
Lulalaby
Lulalaby previously approved these changes Dec 24, 2021
@BobDotCom BobDotCom added this to the v2.1 milestone Dec 24, 2021
@BobDotCom
Copy link
Contributor

Placed this under 2.1 since it might not release before 2.0 comes out.

@BobDotCom BobDotCom added status: planned Planned in the future status: awaiting review Awaiting review from a maintainer labels Dec 24, 2021
@Lulalaby Lulalaby self-requested a review January 1, 2022 18:20
@Lulalaby Lulalaby added Merge with squash priority: high High Priority and removed discord limitation Limitation imposed by discord priority: medium Medium Priority status: planned Planned in the future labels Jan 7, 2022
@Lulalaby Lulalaby modified the milestones: v2.1, v2.0 Jan 7, 2022
Lulalaby
Lulalaby previously approved these changes Jan 7, 2022
Dorukyum
Dorukyum previously approved these changes Feb 1, 2022
Lulalaby
Lulalaby previously approved these changes Feb 1, 2022
@Lulalaby
Copy link
Member

Lulalaby commented Feb 1, 2022

⚠️ Do not merge yet

# Conflicts:
#	discord/bot.py
@krittick krittick dismissed stale reviews from Lulalaby and Dorukyum via d58cbae February 4, 2022 22:09
krittick and others added 5 commits February 4, 2022 14:10
Co-authored-by: Middledot <78228142+Middledot@users.noreply.github.com>
Co-authored-by: Middledot <78228142+Middledot@users.noreply.github.com>
Co-authored-by: Middledot <78228142+Middledot@users.noreply.github.com>
@krittick krittick enabled auto-merge February 8, 2022 23:51
@krittick krittick disabled auto-merge February 8, 2022 23:51
@krittick krittick enabled auto-merge (squash) February 8, 2022 23:51
@krittick krittick requested a review from Lulalaby February 9, 2022 00:10
@krittick
Copy link
Contributor Author

krittick commented Feb 9, 2022

Since this feature is now released, let's prioritize reviewing this ASAP.

@krittick
Copy link
Contributor Author

krittick commented Feb 9, 2022

Wait, the Text Input Component has released? I thought it was just the form type things. Or are the forms the text input components.

Text Input components are only available in modal dialogs.

@Pycord-Development Pycord-Development locked and limited conversation to collaborators Feb 9, 2022
@Lulalaby Lulalaby disabled auto-merge February 9, 2022 00:32
@Lulalaby Lulalaby enabled auto-merge (squash) February 9, 2022 00:33
@Lulalaby Lulalaby merged commit 8690471 into Pycord-Development:master Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature Implements a feature priority: high High Priority status: awaiting review Awaiting review from a maintainer

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Add Support for Modals & Input Text in Application Commands

6 participants