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.
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
Update
TabbedContent
with methods to add, remove and clear tabs/panes #2751Update
TabbedContent
with methods to add, remove and clear tabs/panes #2751Changes from 30 commits
2d4183f
69d86fb
290351d
5cf50f7
81edb86
300401c
8f4b40e
7802970
feb07db
d8aa49b
0ac613d
fd243f4
2bf8fd7
21d7049
a6e016d
83633ad
ee59817
5f0f353
2c6d09e
07c445c
617244d
f216686
ffd6db6
6f03566
4af0f83
f5e516d
abc0e80
4dd934a
146b1b8
06c2b97
282f2c6
50d93b5
e4b4aad
832208b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 need to learn more about
__await__
.Is it a "standard" approach to implement
__await__
with a wrapper around what we care about and then call__await__
on the wrapper?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.
Calling @willmcgugan -- I'm mostly just following the pattern laid down by
AwaitMount
andAwaitRemove
; doubtless Will will have the detail.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.
Is there any chance the dev might attempt to set
active
earlier, and there won't be aContentSwitcer
yet?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 think the only way that could arise is if they do that before the widget is composed, but even without this change that would end up with a similar issue due to the triggering of
_watch_active
, right? Attempting to set the active tab to a pane that doesn't even exist yet is never going to go well.