-
-
Notifications
You must be signed in to change notification settings - Fork 482
feat: redo CV2 and New Modal implementation #2904
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
NeloBlivion
wants to merge
100
commits into
Pycord-Development:master
Choose a base branch
from
NeloBlivion:cv2_fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 96 commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
2fcd3a9
downgrade view
NeloBlivion 027527d
Merge branch 'master' into cv2_fixes
NeloBlivion b319d13
skeleton for actionrow
NeloBlivion fcb0849
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d1f33ea
cleanup
NeloBlivion 8efedd3
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 54afda3
Merge branch 'master' into cv2_fixes
Lulalaby 6d6ce3e
eh..... going through it... don't judge yet................
NeloBlivion f13f5e0
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b322b42
correct
NeloBlivion c0022f1
v2
NeloBlivion e830df4
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] be236bf
Merge branch 'master' into cv2_fixes
NeloBlivion 23f296d
better separation of views
NeloBlivion 57a0d98
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] eaa2c30
import
NeloBlivion c6c4fbf
)
NeloBlivion 57282b8
))
NeloBlivion 1da73f6
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2b981d3
attempt modal conversion
NeloBlivion c929c67
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e61064d
types
NeloBlivion d8e3d4f
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 057a26b
container uses actionrow instead of button/select, remove decorator s…
NeloBlivion b7a8f6b
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 166f540
types
NeloBlivion a7346cd
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 836998d
imports
NeloBlivion 16b4886
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5255da1
remove Select.label & Select.description
NeloBlivion a1068fb
update refresh logic
NeloBlivion e199c8c
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0dc7522
typext
NeloBlivion bfd4aed
reduce further
NeloBlivion 1223dea
fix __all__
NeloBlivion 3a82843
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 25fbd2a
typecheck
NeloBlivion 3ee00e0
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 61a1433
__
NeloBlivion edb4951
dispatch
NeloBlivion d9c465b
ComponentType
NeloBlivion 1ae1c77
types ?
NeloBlivion bd60e9b
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 090af2e
typecheck again
NeloBlivion 00faca4
attrs
NeloBlivion 5c7a02b
fixes
NeloBlivion 1975f6d
adjust
NeloBlivion 2816b1b
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e615190
actionrow components
NeloBlivion 93fb09a
arc
NeloBlivion 0517d2e
button priority
NeloBlivion e32fdad
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] bdb6d21
maybe?
NeloBlivion 20aae0f
no
NeloBlivion a846b43
update examples
NeloBlivion 7caf4f5
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0060e0f
remove v2 from weights
NeloBlivion 8308615
misc
NeloBlivion 5410e00
adjust Label args (first arg label)
NeloBlivion d4dc1c5
add select overloads
NeloBlivion b619025
actionrow clarification
NeloBlivion f90a3bc
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 35e4cb1
all items in actionrow have the disabled attribute
NeloBlivion 65a1116
fixes
NeloBlivion e453e01
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e9ac8bc
more imports
NeloBlivion b2ed0d1
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9ca373a
docs and typing cleanup
NeloBlivion 0acb103
update _component_to_item
NeloBlivion 43df60f
fix to_component_dict
NeloBlivion 0b58904
attempt splitting into ViewItem and ModalItem
NeloBlivion 3a8bb10
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 64f3c4f
more
NeloBlivion 45a5c44
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4ee4b70
guys don't you love typing changes
NeloBlivion fd67ea2
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 148535a
types
NeloBlivion bcc1a7a
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 712cd3c
this is required apparently
NeloBlivion ef78980
self.modal
NeloBlivion 9cf2886
set modal
NeloBlivion 62ffcdf
no weights in basemodal
NeloBlivion a961d49
undo on_modal_error change
NeloBlivion 8664272
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fbac652
define Item.type
NeloBlivion c2bd6b5
further consolidate
NeloBlivion 9255c39
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8fdc3f1
oops
NeloBlivion 8a9fe8f
fix modal init
NeloBlivion 38352c2
actual fix
NeloBlivion 1d790da
forgot modal children thing
NeloBlivion 846b14d
clarify
NeloBlivion 157d8c7
adjust item docs
NeloBlivion fb01cfe
copyright
NeloBlivion 340b5d5
children
NeloBlivion 3f3ae31
Update discord/ui/action_row.py
NeloBlivion be9eb51
add Webhook.parent
NeloBlivion cf49aa3
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 017f15f
add Webhook.from_interaction
NeloBlivion bba29af
slots
NeloBlivion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No overloads for DesignerView and no content, embeds etc?
Same thing for all the other send methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i probably should but god it's a pain