Skip to content

fix: keep Heart section labels readable at tablet widths #251

Closed

Description

@Jammy2211

Overview

On the published PyAutoHeart board, section names such as “Libraries” and “Worktree drift” are squeezed into a very narrow table column at medium widths. At 768px, the Libraries cell is about 48px wide and breaks midword. Give section names enough width while preserving the stacked phone layout.

Plan

  • Keep section names on one readable line in the table layout.
  • Preserve the current full-width summary cards on phones.
  • Check narrow phone, tablet and desktop widths plus large text for clipping or page overflow.
Detailed implementation plan

Affected Repositories

  • PyAutoHeart (infrastructure organ)

Branch Survey

  • PyAutoHeart: clean main; no active Mind claim. The three prior dashboard PRs are merged.

Suggested branch: feature/heart-dashboard-section-labels

Implementation Steps

  1. Change the Heart-local CSS in heart/dashboard.py so the section-name table cell has a natural minimum width and does not use anywhere wrapping in the table layout.
  2. Keep the existing mobile flex row, name header and full-width summary. Measure “Libraries”, “Worktree drift” and the longer timing labels at 320, 375, 390, 768 and 1280px, and at 200% text.
  3. Check the dashboard renderer tests and responsive browser output. No readiness or JSON payload changes.

Key Files

  • heart/dashboard.py — Heart-local table layout
  • Browser fixture under Mind tmp/ — regression measurements

Authorization

This corrects the mobile/desktop readability issue within the Fable-reviewed dashboard plan the human approved earlier in this session. The human reported the remaining defect after the three phases merged. No merge or release approval is implied.

Original Prompt

User report

The size of things like "Libraries" is meaning the words are over multiple columns making them harder to read, Workt-ee-drift is 3 columns

Activity

  1. Jammy2211 commented on Sep 30, 2026

    @Jammy2211
    ContributorAuthor

    Summary

    At tablet and laptop widths, the Heart checks table squeezed names such as “Libraries” into a roughly 48px column, breaking words across lines. The Heart-local style now keeps section names together. Phone rows retain their stacked layout and the board has no horizontal overflow at the checked sizes.

    Closes #251. This corrects the readability requirement of the approved dashboard plan delivered in #246, #248 and #250.

    API Changes

    None — CSS presentation only; no readiness, score or JSON change.

    Test Plan

    • Heart suite: 1099 passed; targeted dashboard/fix tests: 158 passed.
    • Browser: actual published board HTML with the proposed CSS at 320, 375, 390, 430, 768, 900 and 1280px in light and dark themes. “Libraries”, “Worktree drift” and “Unit-test timing” each render on one line; no horizontal page overflow. 200% text checked at 320 and 768px.
    • Visual review of 768px row before and after. No independent implementation review claimed.
    • No scientific or workspace API changed, so downstream smoke scripts are unaffected.
    Full API Changes (for automation & release notes)

    None.

    Heart development-only override

    Authoritative Heart at 2026-09-30T20:29:52.811107+00:00: RED, score 45. Exact RED reason: release validation FAILED (stage integrate).

    The human previously approved the Fable-reviewed Heart readability plan and, after this exact RED reason was surfaced, authorized development to proceed (“yes go”). The human's current message reports this remaining layout defect in that approved work. This record treats the report as a correction under that same-session development authorization. The passed branch gates are above. Merge requires a later explicit human command and green GitHub checks; release remains blocked. This CSS change does not claim to repair integration.

    Generated by the PyAutoLabs agent workflow.

  2. Jammy2211 commented on Sep 30, 2026

    @Jammy2211
    ContributorAuthor

    Shipped in #252, merged as d3906f0. Exact-head CI run 36773166968 passed Python 3.12 and 3.13 and every executed step. The board layout now keeps Libraries, Worktree drift and timing section names on one line across tested widths without horizontal overflow. Dashboard publisher dispatched after merge.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions