Add text-based UI management functions, based on Rich.

Review Request #13476 — Created Jan. 3, 2024 and submitted

Information

rbinstall
master

Reviewers

The installer now depends on rich, a Python library that makes it
easier to handle color, emoji, and layout in text-based applications.

We build upon those primitives, adding light/dark themes,
non-interactive prompt handling, headers, admonitions, multi-paragraph
display, terms, key/value display, ordered lists, and our own defaults
for progress bars.

This will be used by the upcoming install wizard.

Some of this may later be reworked into a shared library, for use in
both rbinstall and rb-site.

Made extensive use of this in the wizard.

As this is purely visual work, there's no unit tests for this module.

Summary ID
Add text-based UI management functions, based on Rich.
The installer now depends on `rich`, a Python library that makes it easier to handle color, emoji, and layout in text-based applications. We build upon those primitives, adding light/dark themes, non-interactive prompt handling, headers, admonitions, multi-paragraph display, terms, key/value display, ordered lists, and our own defaults for progress bars. This will be used by the upcoming install wizard. Some of this may later be reworked into a shared library, for use in both `rbinstall` and `rb-site`.
b52a8f4c21b58ebd0b6c4d945ed22dcbcca4a4ad
david
  1. Ship It!
  2. 
      
maubin
  1. Neat.

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (0dccba7)