202 Commits (c8b95774cb2707f7153ace09b131a5ed2e281f43)

Author SHA1 Message Date
Michael bcea13e993
Allow ui.View initialization without a running event loop 7 months ago
Rapptz 0052878983 Guard against Item.view being None when dispatching 8 months ago
Soheab 9580898c97
Detach view from item when removed 9 months ago
DA344 e2cf721e9c
Fix container items having out of date internal state 10 months ago
Sacul 8f2cb60700
Fix inaccurate total_children_count property in modals 10 months ago
Rapptz 88294fe352 Fix Section.accessory setter not updating view bindings 11 months ago
Rapptz 651699fcd2 Remove buggy and unintentional Container.children setter 11 months ago
Rapptz 8f90b7d534 Add shoutout to Button and Thumbnail accessories for Section 11 months ago
Soheab_ d78636283b Correct supported types in docs for modal components 11 months ago
Soheab_ 178ea664b2 Add missing required kwarg to all select classes 11 months ago
Soheab_ 2d7e0614ad Add support for File Upload component 11 months ago
Soheab_ 944ffe93c7 Handle resolved data for modal components and types 11 months ago
Soheab_ 1d3642d1fe Fix KeyError on custom_id for modal components that don't support it 11 months ago
Rapptz 78ff16621a Fix certain component IDs not being able to be settable afterwards 11 months ago
Lucas Hardt a7f349498a
Upgrade code by using f-strings and yield from 12 months ago
Sacul 44956db033
Update modal example in docstring 12 months ago
Rapptz 89d5cbd78a Move v2 item check from BaseView to View 12 months ago
Rapptz 116107d7ed Add accessory to Section.__repr__ 12 months ago
Rapptz d5946d1cbc Fix bounds for TextInput and Label generic 1 year ago
lmaotrigine 50b0d219b5
Add missing versionadded to some BaseView items 1 year ago
Rapptz 63357e0113 Revert "Add second generic parameter for view for DynamicItem" 1 year ago
Rapptz 9677dada1f Fix Modal not raising when hitting the 5 item limit 1 year ago
Rapptz bb45e050b9 Change Modal inheritance to BaseView instead of View 1 year ago
Rapptz fe7ce982f3 Add second generic parameter for view for DynamicItem 1 year ago
Rapptz 6d5013030b Flip if statement for wrapped ActionRow components in modals 1 year ago
Rapptz de09031899 Allow TextDisplay as a top-level component in modals 1 year ago
Rapptz 9bda89b0d6 Update total count tracking to always consider the wrapper object 1 year ago
DA344 0309aac335
Add a swap method for dynamic item's dispatching 1 year ago
Rapptz 20f4bc40ad Remove outdated comment 1 year ago
Rapptz 59e28af19f Fix Section.accessory being MISSING 1 year ago
Sacul 27d69e98e2
Fix note in button decorator in action row 1 year ago
DA344 24aa98b923
Fix Section.children and accessory's parent being None 1 year ago
Rapptz 9dbf13c2f9 Document Section.accessory as an attribute 1 year ago
Rapptz 44a44e938f Reformat entire project with ruff instead of black 1 year ago
Rapptz 3ef6272e07 Fix error with View.from_message when having multiple items 1 year ago
Rapptz d58c055c5b Remove unused import 1 year ago
Rapptz 5d49f11709 Remove View.from_dict typing 1 year ago
Rapptz fc12a41cdf Run black 1 year ago
Rapptz 064cb7af71 Add View.total_children_count 1 year ago
Rapptz f08c042217 Add content_length method to LayoutView and container items 1 year ago
Rapptz 6f6d990195 Fix type error with ItemCallbackType 1 year ago
Rapptz 4854c56d58 Allow discord.File in places where UnfurledMediaItem or str are allowed 1 year ago
Rapptz 9ef5b054e5 Refactor total children count to an overrideable method 1 year ago
Rapptz 2a69ac4ca8 Document difference between View and LayoutView 1 year ago
Rapptz 24d3a12117 Remove unused row parameter from TextDisplay 1 year ago
Rapptz 4f539b710f Fix type errors in all examples 1 year ago
Soheab 13432591c6
Fix various docs around UI items 1 year ago
Rapptz 38c6407ffd Maintain a reference to View dispatched tasks 1 year ago
Rapptz 3fb627d078 Add support for label components and select in modals 1 year ago
Rapptz 9fb74fd7a1 Remove unnecessary TypeGuard 1 year ago