Skip to content

Consumer request (Recado): single-line text in a compact list item #538

Closed

Description

@egdev6

Pre-flight checks

  • I searched existing issues and found no duplicate.
  • I understand that the design system decides the solution using CATALOGACION.md.

Consumer app

Recado (egdev6/recado): a Tauri floating panel, 440 px wide.

Interface outcome

In a compact list item used as a two-line note card, the title and the secondary line must each stay on a single line and elide overflow, so every card has the same height regardless of text length. The title must read with more emphasis than the secondary line. The item lays out its media, text and trailing action in one row.

Consumer issue link

https://github.com/egdev6/recado/issues/41

Current mitigation

App CSS on .compact-note, .compact-note__title and .compact-note__project in src/styles.css, marked TODO(egdev-design-system#538) with an issue-backed entry in src/design-system-allowlist.ts.

Activity

  1. added
    enhancement
    on Nov 22, 2026
  2. egdev6 commented on Nov 22, 2026

    @egdev6
    OwnerAuthor

    Triage: accepted. Owner decision: add an opt-in truncation option on Text, reusable anywhere including inside ListItem parts, rather than on ListItem itself. ListItem keeps its default promise that content is never clamped (packages/ui/src/molecules/list-item/ListItem.tsx:23).

    The spec must cover:

    • single-line truncation with an ellipsis;
    • keeping the full text reachable (accessible name or tooltip);
    • prop naming: there is no existing entry for truncation or clamping in skills/_shared/prop-naming.json, so a new concept has to be proposed.

    Related to #540, which comes from the same compact note card in Recado: design both together. Until it ships, keep the TODO and allowlist mitigation.

  3. egdev6 commented on Nov 23, 2026

    @egdev6
    OwnerAuthor

    Available in @egdev/ui 0.8.0, @egdev/system 0.10.0 (DS commit 3a038fa). Consumers can upgrade with egdev-ds upgrade. (The issue was closed automatically by the merge of #549, whose description contained the phrase "close #538".)

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions