Disabled Progress should not start attached Live#1125
Merged
willmcgugan merged 4 commits intoTextualize:masterfrom Mar 26, 2021
JoshKarpel:really-disable-pbar
Merged
Disabled Progress should not start attached Live#1125willmcgugan merged 4 commits intoTextualize:masterfrom JoshKarpel:really-disable-pbar
willmcgugan merged 4 commits intoTextualize:masterfrom
JoshKarpel:really-disable-pbar
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1125 +/- ##
==========================================
+ Coverage 99.77% 99.84% +0.06%
==========================================
Files 69 69
Lines 6322 6323 +1
==========================================
+ Hits 6308 6313 +5
+ Misses 14 10 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Member
|
Thanks for this. Would you mind also testing the output? i.e. confirm that when |
Member
|
Thanks. |
1 task
4 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Type of changes
Checklist
Description
If you make a
Progressthat is disabled, it will still display an initial version of itself because it is the renderable of its attachedLive, and theLiveis started unconditionally inProgress.start. Example:Running this produces this output:

With this patch, it produces this:

I added some tests for this, but they're poking around the internals to do it - let me know if this isn't your preferred style.