Skip to content

history: plain-text fallback drops information vs Rich, not just style #106

Description

@renaudcepre

Tracked for when the `protest history` browse CLI is reintroduced (code archived on `archive/history-cli`).

Problem

The plain-text `_Output` omits whole columns/blocks that `_RichOutput` shows — not just colour:

View Rich Plain text
`stats` Scores column (trend arrows) absent
`detail` scores_summary block (mean/p50/p95) absent

This conflicts with the no-optional-deps principle: a user without `rich` should lose styling, not content. A graceful fallback degrades rendering, not information.

Proposal

Bring the plain renderer to information parity with Rich (same columns/blocks, ASCII markers instead of colour). Applies to history views and is a good rule to enforce across reporters generally.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand line interfaceenhancementNew feature or requestreportingTest reporting and output

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions