103 Commits (beeffdce966fb515328447ce2fe4e477c176ff1f)

Author SHA1 Message Date
Michael bcea13e993
Allow ui.View initialization without a running event loop 6 months ago
Rapptz 0052878983 Guard against Item.view being None when dispatching 7 months ago
Soheab 9580898c97
Detach view from item when removed 8 months ago
DA344 e2cf721e9c
Fix container items having out of date internal state 8 months ago
Soheab_ 944ffe93c7 Handle resolved data for modal components and types 10 months ago
Rapptz 89d5cbd78a Move v2 item check from BaseView to View 10 months ago
lmaotrigine 50b0d219b5
Add missing versionadded to some BaseView items 10 months ago
Rapptz 9bda89b0d6 Update total count tracking to always consider the wrapper object 11 months ago
DA344 0309aac335
Add a swap method for dynamic item's dispatching 11 months ago
Rapptz 44a44e938f Reformat entire project with ruff instead of black 11 months ago
Rapptz 3ef6272e07 Fix error with View.from_message when having multiple items 11 months ago
Rapptz d58c055c5b Remove unused import 11 months ago
Rapptz 5d49f11709 Remove View.from_dict typing 11 months ago
Rapptz fc12a41cdf Run black 11 months ago
Rapptz 064cb7af71 Add View.total_children_count 11 months ago
Rapptz f08c042217 Add content_length method to LayoutView and container items 11 months ago
Rapptz 9ef5b054e5 Refactor total children count to an overrideable method 11 months ago
Rapptz 2a69ac4ca8 Document difference between View and LayoutView 11 months ago
Rapptz 38c6407ffd Maintain a reference to View dispatched tasks 11 months ago
Rapptz 3fb627d078 Add support for label components and select in modals 11 months ago
Rapptz 9fb74fd7a1 Remove unnecessary TypeGuard 11 months ago
DA344 50caa3c82c
Add support for components V2 11 months ago
Leonardo 7f16a06479
Copy Select options when creating View class 1 year ago
Rapptz 8953938a53 Update Pyright to v1.1.394 1 year ago
DA344 6ab747f9e5
Add support for sending views in stateless webhooks 1 year ago
Soheab 2248fc1946
Fix various code around Message.interaction(_metadata) 2 years ago
ナニカ dc6d33c303
copy over original row position for dynamic items 2 years ago
Rapptz 76666fbcf4 Properly check for maximum number of children 2 years ago
Rapptz 078b500657 Fix dynamic item views having a timeout causing it to evict 3 years ago
Soheab_ 698363e76b
Refactor from_components for Select classes 3 years ago
z03h e67d00502d
Fix View.from_message not creating other Selects 3 years ago
Rapptz 94655cd804 Skip adding views to the synced message store if fully dynamic 3 years ago
Rapptz f793af0456 Add item parameter to DynamicItem.from_custom_id 3 years ago
Rapptz 7c3868ef3b Add Client.remove_dynamic_items 3 years ago
Rapptz a852f90358 Add support for dynamic items that parse custom_id for state 3 years ago
Takagi Tasuku f7e9795495
Call super for __init_subclass__ in View 3 years ago
Rapptz 6cb9a84898 Fix views not being removed from message store backing 3 years ago
Trevor 5009c83bc9
Implement New Select Types 4 years ago
ster 95b6bd8782
Add coro tag to docstrings that were missing it 4 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 4 years ago
Bryan Forbes b12b4b18fd
Mark public callbacks as positional-only 4 years ago
Rapptz 6327402730 Update View timeout only if interaction_check passes 4 years ago
Mikey 9c38cf3aef
Fix ui.Select.values in modals 4 years ago
Rapptz efdda635fb Fix View.from_message not respecting ActionRow row order 4 years ago
mniip 1be36c9c3e
Change View, Modal, and AudioPlayer to use logger instead of stderr 4 years ago
Lilly Rose Berner 7267d18d9e
Improve component typing 4 years ago
Rapptz a0dfdb9b1d Fix multiple view instances not dispatching in app commands responses 4 years ago
Rapptz e198a0e7e6 Avoid re-creating View children on edit 4 years ago
Snaptraks 0fa9bfc925
Correct order of arguments in View.on_error 4 years ago
Rapptz c68ea67213 Properly handle inheritance overriding in View subclasses 4 years ago