-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Positioned Progress Tasks - Before or After Other Tasks #1250
Positioned Progress Tasks - Before or After Other Tasks #1250
Conversation
Hi @patriksvensson any chance at a quick look? |
Currently on vacation, but perhaps someone in @spectreconsole/maintainers have some spare cycles before I get back |
@patriksvensson doesn't look like anyone else is actively looking at this repository. I haven't seen issues or pull requests decrease in a couple of months. Is there anyone I can tag to get their attention? |
You can always tag @spectreconsole/maintainers, but it won't go any faster since we all watch notifications. We're doing this in our spare time for no pay, and some periods are more busier than others. |
Ah okay. Sorry didn't mean to be a pain. Will be patiently waiting for when you guys have time then :) |
It's no pain @thomhurst, and just to say this repo is alive and well. For me, school holidays and not enough hours in the day mean my involvement dwindles currently. We appreciate the PR and your efforts on this, it's just the cycle times are longer than your typical corporate software development. |
Hi again @spectreconsole/maintainers. Would anyone have any time soon? |
@patriksvensson @FrankRay78 would anyone be able to take a look? It's a very small change, just exposing methods that manipulate the inner list. |
It's not strictly my area of maintainership, but I am empowered to review and merge all going well. As I hate to see good contributions languishing, I will assign this to myself and make time over the next week to review. |
I haven't forgotton @thomhurst, I've got a busy couple of days but it's assigned to myself and I will review this. |
`private ProgressTask AddTaskAtInternal(...)` requires the caller to lock; most of the callers do this directly, however there were a few `AddTask` methods that first created ProgressTaskSettings, and then called other overloads, that did the locking. These suggested code changes, normalises the lock call within all of the public `AddTask` methods, not just the majority of them.
Hi @thomhurst. Firstly, thank you for a high-quality PR, really glad to have reviewed it, and thanks for being so patient with it. I'd most certainly welcome more contributions like this, and I would make time to review them promptly if you tag me in. I normally maintain the CLI sub-section, but am branching out. Secondly, my review seems to have actually committed to your your branch 😱, see above, this commit: 0fe55e1 I like to treat PR reviews as a collaborative endeavour, rather than assuming I know more than the contributor (which very often is not the case). I have not merged the changes yet, as I would like you to cast your eyes over what I've suggested - in the mistaken commit. It's style over substance, but I felt the changes made the code more consistent across all the various Anyhow, great work and much appreciated. |
Thanks @FrankRay78 , really appreciate it! Just reviewed your changes and I'm perfectly happy with them. I originally just called overloads and obviously couldn't double lock, but I agree that your approach is more consistent and probably less prone to bugs if people extend that class in the future. 😄 |
I'll merge this tomorrow. Welcome to being a spectre.console contributor. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Spectre.Console.Testing](https://togithub.com/spectreconsole/spectre.console) | `0.48.0` -> `0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Spectre.Console.Testing/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Spectre.Console.Testing/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Spectre.Console.Testing/0.48.0/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Spectre.Console.Testing/0.48.0/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spectreconsole/spectre.console (Spectre.Console.Testing)</summary> ### [`v0.49.0`](https://togithub.com/spectreconsole/spectre.console/releases/tag/0.49.0) [Compare Source](https://togithub.com/spectreconsole/spectre.console/compare/0.48.0...0.49.0) ##### What's Changed - Cleanup Line-Endings by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1381](https://togithub.com/spectreconsole/spectre.console/pull/1381) - Added spectre.console.cli to quick-start. by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1413](https://togithub.com/spectreconsole/spectre.console/pull/1413) - Fix rendering of ListPrompt for odd pageSizes by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1365](https://togithub.com/spectreconsole/spectre.console/pull/1365) - Remove mandelbrot example due to conflicting license by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1426](https://togithub.com/spectreconsole/spectre.console/pull/1426) - Allow specifying a property to ignore the use of build-time packages for versioning and analysis by [@​baronfel](https://togithub.com/baronfel) in [https://github.com/spectreconsole/spectre.console/pull/1425](https://togithub.com/spectreconsole/spectre.console/pull/1425) - Add the possibility to register multiple interceptors by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1412](https://togithub.com/spectreconsole/spectre.console/pull/1412) - Added the ITypeResolver to the ExceptionHandler by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1411](https://togithub.com/spectreconsole/spectre.console/pull/1411) - Updated typo in commandApp.md by [@​DarqueWarrior](https://togithub.com/DarqueWarrior) in [https://github.com/spectreconsole/spectre.console/pull/1431](https://togithub.com/spectreconsole/spectre.console/pull/1431) - Command with -v displays app version instead of executing the command by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1427](https://togithub.com/spectreconsole/spectre.console/pull/1427) - HelpProvider colors should be configurable by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1408](https://togithub.com/spectreconsole/spectre.console/pull/1408) - Direct contributors to the current CONTRIBUTING.md by [@​tonycknight](https://togithub.com/tonycknight) in [https://github.com/spectreconsole/spectre.console/pull/1435](https://togithub.com/spectreconsole/spectre.console/pull/1435) - Fix deadlock when cancelling prompts by [@​caesay](https://togithub.com/caesay) in [https://github.com/spectreconsole/spectre.console/pull/1439](https://togithub.com/spectreconsole/spectre.console/pull/1439) - Add progress bar value formatter by [@​jsheely](https://togithub.com/jsheely) in [https://github.com/spectreconsole/spectre.console/pull/1414](https://togithub.com/spectreconsole/spectre.console/pull/1414) - Update dependencies and do some clean-up by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1440](https://togithub.com/spectreconsole/spectre.console/pull/1440) - Delete \[UsesVerify], which has become obsolete through the latest update. by [@​danielcweber](https://togithub.com/danielcweber) in [https://github.com/spectreconsole/spectre.console/pull/1456](https://togithub.com/spectreconsole/spectre.console/pull/1456) - Don't erase secret prompt text upon backspace when mask is null by [@​danielcweber](https://togithub.com/danielcweber) in [https://github.com/spectreconsole/spectre.console/pull/1458](https://togithub.com/spectreconsole/spectre.console/pull/1458) - Update dependencies to the latest version by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1459](https://togithub.com/spectreconsole/spectre.console/pull/1459) - Automatically register command settings by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1463](https://togithub.com/spectreconsole/spectre.console/pull/1463) - chore: Update dependency dotnet-example to v3.1.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1470](https://togithub.com/spectreconsole/spectre.console/pull/1470) - chore: Update dependency Roslynator.Analyzers to v4.11.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1473](https://togithub.com/spectreconsole/spectre.console/pull/1473) - Remove \[DebuggerDisplay] from Paragraph by [@​martincostello](https://togithub.com/martincostello) in [https://github.com/spectreconsole/spectre.console/pull/1477](https://togithub.com/spectreconsole/spectre.console/pull/1477) - Selection Prompt Search by [@​slang25](https://togithub.com/slang25) in [https://github.com/spectreconsole/spectre.console/pull/1289](https://togithub.com/spectreconsole/spectre.console/pull/1289) - Update dependency SixLabors.ImageSharp to v3.1.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1486](https://togithub.com/spectreconsole/spectre.console/pull/1486) - Positioned Progress Tasks - Before or After Other Tasks by [@​thomhurst](https://togithub.com/thomhurst) in [https://github.com/spectreconsole/spectre.console/pull/1250](https://togithub.com/spectreconsole/spectre.console/pull/1250) - Added NoStackTrace to ExceptionFormats by [@​gerardog](https://togithub.com/gerardog) in [https://github.com/spectreconsole/spectre.console/pull/1489](https://togithub.com/spectreconsole/spectre.console/pull/1489) - Pipe character for listing options (issue 1434) by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1498](https://togithub.com/spectreconsole/spectre.console/pull/1498) - Improve XmlDoc output by [@​yenneferofvengerberg](https://togithub.com/yenneferofvengerberg) in [https://github.com/spectreconsole/spectre.console/pull/1503](https://togithub.com/spectreconsole/spectre.console/pull/1503) - Revert [`71a5d83`](https://togithub.com/spectreconsole/spectre.console/commit/71a5d830) to undo flickering regression by [@​phil-scott-78](https://togithub.com/phil-scott-78) in [https://github.com/spectreconsole/spectre.console/pull/1504](https://togithub.com/spectreconsole/spectre.console/pull/1504) - AddDelegate uses an abstract type when used in a branch by [@​BlazeFace](https://togithub.com/BlazeFace) in [https://github.com/spectreconsole/spectre.console/pull/1509](https://togithub.com/spectreconsole/spectre.console/pull/1509) - Missing Separator When Headers are Hidden by [@​BlazeFace](https://togithub.com/BlazeFace) in [https://github.com/spectreconsole/spectre.console/pull/1513](https://togithub.com/spectreconsole/spectre.console/pull/1513) - Expose raw arguments on the command context by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1523](https://togithub.com/spectreconsole/spectre.console/pull/1523) - Add token representation to remaining arguments by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1525](https://togithub.com/spectreconsole/spectre.console/pull/1525) ##### New Contributors - [@​baronfel](https://togithub.com/baronfel) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1425](https://togithub.com/spectreconsole/spectre.console/pull/1425) - [@​DarqueWarrior](https://togithub.com/DarqueWarrior) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1431](https://togithub.com/spectreconsole/spectre.console/pull/1431) - [@​tonycknight](https://togithub.com/tonycknight) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1435](https://togithub.com/spectreconsole/spectre.console/pull/1435) - [@​caesay](https://togithub.com/caesay) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1439](https://togithub.com/spectreconsole/spectre.console/pull/1439) - [@​jsheely](https://togithub.com/jsheely) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1414](https://togithub.com/spectreconsole/spectre.console/pull/1414) - [@​danielcweber](https://togithub.com/danielcweber) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1456](https://togithub.com/spectreconsole/spectre.console/pull/1456) - [@​martincostello](https://togithub.com/martincostello) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1477](https://togithub.com/spectreconsole/spectre.console/pull/1477) - [@​slang25](https://togithub.com/slang25) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1289](https://togithub.com/spectreconsole/spectre.console/pull/1289) - [@​thomhurst](https://togithub.com/thomhurst) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1250](https://togithub.com/spectreconsole/spectre.console/pull/1250) - [@​gerardog](https://togithub.com/gerardog) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1489](https://togithub.com/spectreconsole/spectre.console/pull/1489) - [@​yenneferofvengerberg](https://togithub.com/yenneferofvengerberg) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1503](https://togithub.com/spectreconsole/spectre.console/pull/1503) - [@​BlazeFace](https://togithub.com/BlazeFace) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1509](https://togithub.com/spectreconsole/spectre.console/pull/1509) **Full Changelog**: spectreconsole/spectre.console@0.48.0...0.49.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/buehler/dotnet-operator-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ehler#751) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Spectre.Console.Testing](https://togithub.com/spectreconsole/spectre.console) | `0.48.0` -> `0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Spectre.Console.Testing/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Spectre.Console.Testing/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Spectre.Console.Testing/0.48.0/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Spectre.Console.Testing/0.48.0/0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spectreconsole/spectre.console (Spectre.Console.Testing)</summary> ### [`v0.49.0`](https://togithub.com/spectreconsole/spectre.console/releases/tag/0.49.0) [Compare Source](https://togithub.com/spectreconsole/spectre.console/compare/0.48.0...0.49.0) ##### What's Changed - Cleanup Line-Endings by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1381](https://togithub.com/spectreconsole/spectre.console/pull/1381) - Added spectre.console.cli to quick-start. by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1413](https://togithub.com/spectreconsole/spectre.console/pull/1413) - Fix rendering of ListPrompt for odd pageSizes by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1365](https://togithub.com/spectreconsole/spectre.console/pull/1365) - Remove mandelbrot example due to conflicting license by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1426](https://togithub.com/spectreconsole/spectre.console/pull/1426) - Allow specifying a property to ignore the use of build-time packages for versioning and analysis by [@​baronfel](https://togithub.com/baronfel) in [https://github.com/spectreconsole/spectre.console/pull/1425](https://togithub.com/spectreconsole/spectre.console/pull/1425) - Add the possibility to register multiple interceptors by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1412](https://togithub.com/spectreconsole/spectre.console/pull/1412) - Added the ITypeResolver to the ExceptionHandler by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1411](https://togithub.com/spectreconsole/spectre.console/pull/1411) - Updated typo in commandApp.md by [@​DarqueWarrior](https://togithub.com/DarqueWarrior) in [https://github.com/spectreconsole/spectre.console/pull/1431](https://togithub.com/spectreconsole/spectre.console/pull/1431) - Command with -v displays app version instead of executing the command by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1427](https://togithub.com/spectreconsole/spectre.console/pull/1427) - HelpProvider colors should be configurable by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1408](https://togithub.com/spectreconsole/spectre.console/pull/1408) - Direct contributors to the current CONTRIBUTING.md by [@​tonycknight](https://togithub.com/tonycknight) in [https://github.com/spectreconsole/spectre.console/pull/1435](https://togithub.com/spectreconsole/spectre.console/pull/1435) - Fix deadlock when cancelling prompts by [@​caesay](https://togithub.com/caesay) in [https://github.com/spectreconsole/spectre.console/pull/1439](https://togithub.com/spectreconsole/spectre.console/pull/1439) - Add progress bar value formatter by [@​jsheely](https://togithub.com/jsheely) in [https://github.com/spectreconsole/spectre.console/pull/1414](https://togithub.com/spectreconsole/spectre.console/pull/1414) - Update dependencies and do some clean-up by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1440](https://togithub.com/spectreconsole/spectre.console/pull/1440) - Delete \[UsesVerify], which has become obsolete through the latest update. by [@​danielcweber](https://togithub.com/danielcweber) in [https://github.com/spectreconsole/spectre.console/pull/1456](https://togithub.com/spectreconsole/spectre.console/pull/1456) - Don't erase secret prompt text upon backspace when mask is null by [@​danielcweber](https://togithub.com/danielcweber) in [https://github.com/spectreconsole/spectre.console/pull/1458](https://togithub.com/spectreconsole/spectre.console/pull/1458) - Update dependencies to the latest version by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1459](https://togithub.com/spectreconsole/spectre.console/pull/1459) - Automatically register command settings by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1463](https://togithub.com/spectreconsole/spectre.console/pull/1463) - chore: Update dependency dotnet-example to v3.1.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1470](https://togithub.com/spectreconsole/spectre.console/pull/1470) - chore: Update dependency Roslynator.Analyzers to v4.11.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1473](https://togithub.com/spectreconsole/spectre.console/pull/1473) - Remove \[DebuggerDisplay] from Paragraph by [@​martincostello](https://togithub.com/martincostello) in [https://github.com/spectreconsole/spectre.console/pull/1477](https://togithub.com/spectreconsole/spectre.console/pull/1477) - Selection Prompt Search by [@​slang25](https://togithub.com/slang25) in [https://github.com/spectreconsole/spectre.console/pull/1289](https://togithub.com/spectreconsole/spectre.console/pull/1289) - Update dependency SixLabors.ImageSharp to v3.1.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1486](https://togithub.com/spectreconsole/spectre.console/pull/1486) - Positioned Progress Tasks - Before or After Other Tasks by [@​thomhurst](https://togithub.com/thomhurst) in [https://github.com/spectreconsole/spectre.console/pull/1250](https://togithub.com/spectreconsole/spectre.console/pull/1250) - Added NoStackTrace to ExceptionFormats by [@​gerardog](https://togithub.com/gerardog) in [https://github.com/spectreconsole/spectre.console/pull/1489](https://togithub.com/spectreconsole/spectre.console/pull/1489) - Pipe character for listing options (issue 1434) by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1498](https://togithub.com/spectreconsole/spectre.console/pull/1498) - Improve XmlDoc output by [@​yenneferofvengerberg](https://togithub.com/yenneferofvengerberg) in [https://github.com/spectreconsole/spectre.console/pull/1503](https://togithub.com/spectreconsole/spectre.console/pull/1503) - Revert [`71a5d83`](https://togithub.com/spectreconsole/spectre.console/commit/71a5d830) to undo flickering regression by [@​phil-scott-78](https://togithub.com/phil-scott-78) in [https://github.com/spectreconsole/spectre.console/pull/1504](https://togithub.com/spectreconsole/spectre.console/pull/1504) - AddDelegate uses an abstract type when used in a branch by [@​BlazeFace](https://togithub.com/BlazeFace) in [https://github.com/spectreconsole/spectre.console/pull/1509](https://togithub.com/spectreconsole/spectre.console/pull/1509) - Missing Separator When Headers are Hidden by [@​BlazeFace](https://togithub.com/BlazeFace) in [https://github.com/spectreconsole/spectre.console/pull/1513](https://togithub.com/spectreconsole/spectre.console/pull/1513) - Expose raw arguments on the command context by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1523](https://togithub.com/spectreconsole/spectre.console/pull/1523) - Add token representation to remaining arguments by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1525](https://togithub.com/spectreconsole/spectre.console/pull/1525) ##### New Contributors - [@​baronfel](https://togithub.com/baronfel) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1425](https://togithub.com/spectreconsole/spectre.console/pull/1425) - [@​DarqueWarrior](https://togithub.com/DarqueWarrior) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1431](https://togithub.com/spectreconsole/spectre.console/pull/1431) - [@​tonycknight](https://togithub.com/tonycknight) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1435](https://togithub.com/spectreconsole/spectre.console/pull/1435) - [@​caesay](https://togithub.com/caesay) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1439](https://togithub.com/spectreconsole/spectre.console/pull/1439) - [@​jsheely](https://togithub.com/jsheely) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1414](https://togithub.com/spectreconsole/spectre.console/pull/1414) - [@​danielcweber](https://togithub.com/danielcweber) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1456](https://togithub.com/spectreconsole/spectre.console/pull/1456) - [@​martincostello](https://togithub.com/martincostello) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1477](https://togithub.com/spectreconsole/spectre.console/pull/1477) - [@​slang25](https://togithub.com/slang25) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1289](https://togithub.com/spectreconsole/spectre.console/pull/1289) - [@​thomhurst](https://togithub.com/thomhurst) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1250](https://togithub.com/spectreconsole/spectre.console/pull/1250) - [@​gerardog](https://togithub.com/gerardog) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1489](https://togithub.com/spectreconsole/spectre.console/pull/1489) - [@​yenneferofvengerberg](https://togithub.com/yenneferofvengerberg) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1503](https://togithub.com/spectreconsole/spectre.console/pull/1503) - [@​BlazeFace](https://togithub.com/BlazeFace) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1509](https://togithub.com/spectreconsole/spectre.console/pull/1509) **Full Changelog**: spectreconsole/spectre.console@0.48.0...0.49.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/buehler/dotnet-operator-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Spectre.Console.Analyzer](https://togithub.com/spectreconsole/spectre.console) | `0.48.0` -> `0.49.1` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Spectre.Console.Analyzer/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Spectre.Console.Analyzer/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Spectre.Console.Analyzer/0.48.0/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Spectre.Console.Analyzer/0.48.0/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [Spectre.Console.Cli](https://togithub.com/spectreconsole/spectre.console) | `0.48.0` -> `0.49.1` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Spectre.Console.Cli/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Spectre.Console.Cli/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Spectre.Console.Cli/0.48.0/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Spectre.Console.Cli/0.48.0/0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spectreconsole/spectre.console (Spectre.Console.Analyzer)</summary> ### [`v0.49.1`](https://togithub.com/spectreconsole/spectre.console/compare/0.49.0...0.49.1) [Compare Source](https://togithub.com/spectreconsole/spectre.console/compare/0.49.0...0.49.1) ### [`v0.49.0`](https://togithub.com/spectreconsole/spectre.console/releases/tag/0.49.0) [Compare Source](https://togithub.com/spectreconsole/spectre.console/compare/0.48.0...0.49.0) #### What's Changed - Cleanup line endings by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1381](https://togithub.com/spectreconsole/spectre.console/pull/1381) - Added Spectre.Console.Cli to quick-start. by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1413](https://togithub.com/spectreconsole/spectre.console/pull/1413) - Fix rendering of ListPrompt for odd pageSizes by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1365](https://togithub.com/spectreconsole/spectre.console/pull/1365) - Remove mandelbrot example due to conflicting license by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1426](https://togithub.com/spectreconsole/spectre.console/pull/1426) - Allow specifying a property to ignore the use of build-time packages for versioning and analysis by [@​baronfel](https://togithub.com/baronfel) in [https://github.com/spectreconsole/spectre.console/pull/1425](https://togithub.com/spectreconsole/spectre.console/pull/1425) - Add the possibility to register multiple interceptors by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1412](https://togithub.com/spectreconsole/spectre.console/pull/1412) - Added the ITypeResolver to the ExceptionHandler by [@​nils-a](https://togithub.com/nils-a) in [https://github.com/spectreconsole/spectre.console/pull/1411](https://togithub.com/spectreconsole/spectre.console/pull/1411) - Updated typo in CommandApp.md by [@​DarqueWarrior](https://togithub.com/DarqueWarrior) in [https://github.com/spectreconsole/spectre.console/pull/1431](https://togithub.com/spectreconsole/spectre.console/pull/1431) - Command with -v displays app version instead of executing the command by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1427](https://togithub.com/spectreconsole/spectre.console/pull/1427) - HelpProvider colors should be configurable by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1408](https://togithub.com/spectreconsole/spectre.console/pull/1408) - Direct contributors to the current CONTRIBUTING.md by [@​tonycknight](https://togithub.com/tonycknight) in [https://github.com/spectreconsole/spectre.console/pull/1435](https://togithub.com/spectreconsole/spectre.console/pull/1435) - Fix deadlock when cancelling prompts by [@​caesay](https://togithub.com/caesay) in [https://github.com/spectreconsole/spectre.console/pull/1439](https://togithub.com/spectreconsole/spectre.console/pull/1439) - Add progress bar value formatter by [@​jsheely](https://togithub.com/jsheely) in [https://github.com/spectreconsole/spectre.console/pull/1414](https://togithub.com/spectreconsole/spectre.console/pull/1414) - Update dependencies and do some clean-up by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1440](https://togithub.com/spectreconsole/spectre.console/pull/1440) - Delete \[UsesVerify], which has become obsolete through the latest update. by [@​danielcweber](https://togithub.com/danielcweber) in [https://github.com/spectreconsole/spectre.console/pull/1456](https://togithub.com/spectreconsole/spectre.console/pull/1456) - Don't erase secret prompt text upon backspace when mask is null by [@​danielcweber](https://togithub.com/danielcweber) in [https://github.com/spectreconsole/spectre.console/pull/1458](https://togithub.com/spectreconsole/spectre.console/pull/1458) - Update dependencies to the latest version by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1459](https://togithub.com/spectreconsole/spectre.console/pull/1459) - Automatically register command settings by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1463](https://togithub.com/spectreconsole/spectre.console/pull/1463) - Remove \[DebuggerDisplay] from Paragraph by [@​martincostello](https://togithub.com/martincostello) in [https://github.com/spectreconsole/spectre.console/pull/1477](https://togithub.com/spectreconsole/spectre.console/pull/1477) - Selection Prompt Search by [@​slang25](https://togithub.com/slang25) in [https://github.com/spectreconsole/spectre.console/pull/1289](https://togithub.com/spectreconsole/spectre.console/pull/1289) - Update dependency SixLabors.ImageSharp to v3.1.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/spectreconsole/spectre.console/pull/1486](https://togithub.com/spectreconsole/spectre.console/pull/1486) - Positioned Progress Tasks - Before or After Other Tasks by [@​thomhurst](https://togithub.com/thomhurst) in [https://github.com/spectreconsole/spectre.console/pull/1250](https://togithub.com/spectreconsole/spectre.console/pull/1250) - Added NoStackTrace to ExceptionFormats by [@​gerardog](https://togithub.com/gerardog) in [https://github.com/spectreconsole/spectre.console/pull/1489](https://togithub.com/spectreconsole/spectre.console/pull/1489) - Pipe character for listing options (issue 1434) by [@​FrankRay78](https://togithub.com/FrankRay78) in [https://github.com/spectreconsole/spectre.console/pull/1498](https://togithub.com/spectreconsole/spectre.console/pull/1498) - Improve XmlDoc output by [@​yenneferofvengerberg](https://togithub.com/yenneferofvengerberg) in [https://github.com/spectreconsole/spectre.console/pull/1503](https://togithub.com/spectreconsole/spectre.console/pull/1503) - Revert [`71a5d83`](https://togithub.com/spectreconsole/spectre.console/commit/71a5d830) to undo flickering regression by [@​phil-scott-78](https://togithub.com/phil-scott-78) in [https://github.com/spectreconsole/spectre.console/pull/1504](https://togithub.com/spectreconsole/spectre.console/pull/1504) - AddDelegate uses an abstract type when used in a branch by [@​BlazeFace](https://togithub.com/BlazeFace) in [https://github.com/spectreconsole/spectre.console/pull/1509](https://togithub.com/spectreconsole/spectre.console/pull/1509) - Missing Separator When Headers are Hidden by [@​BlazeFace](https://togithub.com/BlazeFace) in [https://github.com/spectreconsole/spectre.console/pull/1513](https://togithub.com/spectreconsole/spectre.console/pull/1513) - Expose raw arguments on the command context by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1523](https://togithub.com/spectreconsole/spectre.console/pull/1523) - Add token representation to remaining arguments by [@​patriksvensson](https://togithub.com/patriksvensson) in [https://github.com/spectreconsole/spectre.console/pull/1525](https://togithub.com/spectreconsole/spectre.console/pull/1525) #### New Contributors - [@​baronfel](https://togithub.com/baronfel) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1425](https://togithub.com/spectreconsole/spectre.console/pull/1425) - [@​DarqueWarrior](https://togithub.com/DarqueWarrior) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1431](https://togithub.com/spectreconsole/spectre.console/pull/1431) - [@​tonycknight](https://togithub.com/tonycknight) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1435](https://togithub.com/spectreconsole/spectre.console/pull/1435) - [@​caesay](https://togithub.com/caesay) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1439](https://togithub.com/spectreconsole/spectre.console/pull/1439) - [@​jsheely](https://togithub.com/jsheely) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1414](https://togithub.com/spectreconsole/spectre.console/pull/1414) - [@​danielcweber](https://togithub.com/danielcweber) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1456](https://togithub.com/spectreconsole/spectre.console/pull/1456) - [@​martincostello](https://togithub.com/martincostello) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1477](https://togithub.com/spectreconsole/spectre.console/pull/1477) - [@​slang25](https://togithub.com/slang25) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1289](https://togithub.com/spectreconsole/spectre.console/pull/1289) - [@​thomhurst](https://togithub.com/thomhurst) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1250](https://togithub.com/spectreconsole/spectre.console/pull/1250) - [@​gerardog](https://togithub.com/gerardog) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1489](https://togithub.com/spectreconsole/spectre.console/pull/1489) - [@​yenneferofvengerberg](https://togithub.com/yenneferofvengerberg) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1503](https://togithub.com/spectreconsole/spectre.console/pull/1503) - [@​BlazeFace](https://togithub.com/BlazeFace) made their first contribution in [https://github.com/spectreconsole/spectre.console/pull/1509](https://togithub.com/spectreconsole/spectre.console/pull/1509) **Full Changelog**: spectreconsole/spectre.console@0.48.0...0.49.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ellosoft/aws-cred-mgr). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Morning, I raised an issue about inserting Progress Tasks into specific positions. My use case is I'm doing stuff asynchronously, and I want to be able to insert tasks before/after other tasks, but I may not immediately know about them. And currently everything just gets appended to the end.
The issue was #1249 .
I thought it'd be easier if I took this on myself. The change is fairly trivial, since it's backed by a standard
List<>
, so we just need to open up some public methods that allow inserting into the list at specific indexes.If you want to see this in action, I wrote a small console application to test it's working as expected.
Console code:
Output: