| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) please retry static |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-static-analysis |
Sorry, something went wrong.
There was a problem hiding this comment.
Due to feedback from another PR I strongly encourage not going with the hard-coded yellow
Sorry, something went wrong.
|
Also, this would be the second location the inverse escape sequence is hard coded in our code... We need to figure out what we're going to do about that in the future. |
Sorry, something went wrong.
|
Coloring is very sensitive area. Windows has a special team for this. I'd prefer classic color scheme. This color kaleidoscope is distracting and annoying. |
Sorry, something went wrong.
|
Coloring is nice for demo on a conference stand. For normal daily work, when the console is started dozens of times, it can tire your eyes. |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) please retry static |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-static-analysis |
Sorry, something went wrong.
|
Ilya (@iSazonov) I've started adding more color settings to $host.PrivateData (it's unfortunate that member is named that...) so users can opt out or customize. |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) I pulled #10778 to fix static CI. |
Sorry, something went wrong.
Oh, it would be great to have modern design (RFC?) - PowerShell is power and I'd expect that we could do coloring gracefully, smart and powershelly :-) |
Sorry, something went wrong.
|
Agreed. We shouldn't bury it in a $host API unless we also plan on exposing it via a cmdlet when it is reasonably feature-complete. 🙂 Couldn't we store color settings in the settings JSON file? |
Sorry, something went wrong.
|
Rain Sallow (/u/ta11ow) (@vexx32) we should probably have a new issue to discuss that |
Sorry, something went wrong.
|
#10780 new issue for coloring. |
Sorry, something went wrong.
|
Joey Aiello (@joeyaiello) Please review the user experience of the notification message. |
Sorry, something went wrong.
|
Christoph Bergmeister (@bergmeister) Can you please also review this? |
Sorry, something went wrong.
There was a problem hiding this comment.
String looks fine to me for now, we can easily iterate it over time. Steve Lee (@SteveL-MSFT) and I discussed possibly doing an "upgrade doc" that we can point to generically (/cc Sean Wheeler (@sdwheeler)) that would describe how updating should be done on each platform.
Sorry, something went wrong.
There was a problem hiding this comment.
Lgtm, nice colour block
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
If terminal doesn't support VT, no colors are used. Also added aka.ms shortcut. Padding had to be calculated to make sure it looks nice which means
if the message line lengths change, the code may need to be updated as it expects the first line to be longest and the first and last line to include
the release tag. The stable version is the same but the word stable in place of preview.
Before:

After:

PR Context
PR Checklist