microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.96k stars 1.43k forks source link

RFC: Progress bar color management #4744

Open Firehawke opened 3 weeks ago

Firehawke commented 3 weeks ago

Description of the new feature / enhancement

While I'm aware that #1920 exists, that covers text which is a fairly significant area that will need a lot of thought.

On the other hand, we've got the progress bar with three existing themes. Here's where I have my questions:

  1. Should this eventually be part of the same configuration effort from #1920? It should be easier to implement customizable colors for that than text, since you're generally not going to be worrying about the background color.
  2. In the meantime, would PRs with alternative themes be accepted? My instincts say "probably not, because you'll want to not clog up the codebase with themes and instead make it user configurable," but that's probably a LONG ways off and very low down the priority list.

Proposed technical implementation details

Either one of:

  1. Allow PRs (at least for the time being) with additional progress bar themes.
  2. Start a discussion, either separate or as part of #1920, on theming of the progress bar. (I feel it probably should be separate since it's a relatively low bar to entry compared to dealing with various VT background colors..)
  3. Put a hard stop on theming and say "We're not going to actually do anything in this area for a substantial amount of time; either until we've worked out how to proceed, or we decide we're not going to allow any theming outside what we already have."
denelon commented 2 weeks ago

I don't know how much those (additional progress bar themes) would add to the size of the package/codebase.

Do you have a few in mind already? I'm happy to chat about options.