Skip to content

Show what a workbook's cell colors say — fills, colored text and strike-throughs reach neither the reader nor the assistant today #255

Open

Description

@bencode

Problem

Spreadsheet authors mark meaning with style: a status column filled green or red, negative figures in red text, a superseded value struck through rather than deleted. Gamma Reader drops all of it. formats/xlsx-package.ts:67-81 reads only numFmtId from xl/styles.xml — the fillId and fontId every cell's xf also carries are never parsed, and conditional-format styles are not looked at; the cell model is value-only (formats/xlsx.ts:3); the grid renders plain text cells (features/reader/xlsx-reader/sheet-grid.tsx), and every agent view of a sheet is tab-separated text (sheetText/selectCells, formats/xlsx.ts:95-136). So a struck-through number reads as live data and a red-flagged row reads like any other — the meaning the author encoded in style reaches neither the reader nor the assistant, the same two-surface loss as the cell notes (#210) and hidden rows (#245).

Proposal

  • Parse cell fills and font color/strike-through from xl/styles.xml, alongside the number formats already read there.
  • Show fill and text color in the xlsx grid's cells, and strike-through as struck-through text.
  • Carry the markings into the agent's sheet views, the way merged blocks and notes already travel — e.g. a struck value rendered 12.4 (struck), or a legend line Filled red: B3, B9 on the sheet's heading.
  • Static styling first; conditional-format rules can follow the same channel later.

Goal

After this, a question like "which rows did the author flag" or "is that figure still current" answers from what the workbook itself holds: the marking is visible in the grid and named in the assistant's reading of the sheet, instead of both surfaces reporting an unmarked value.

Verification

grep -q "fillId" ui-packages/web/src/formats/xlsx-package.ts
pnpm --filter @gamma-reader/web test --silent
pnpm check

Refs

Activity

  1. added
    enhancement
    source:scheduled
    on Oct 27, 2026
  2. bencode commented on Oct 27, 2026

    @bencode
    OwnerAuthor

    Independent review — posted by the scheduled issue-reviewer loop, independent of the authoring session, under the maintainer's standing instruction.

    Evidence audit (against main@ad4bc66): every citation confirmed.

    Duplicate check: the cell-titled family (#245 hidden rows, #207 truncation, #157/#161/#170 error/number/merge fidelity) covers different dimensions — fills/font color/strike-through is unclaimed. No duplicate.

    Sensor: lint ✓, verify ✗ — the fillId gate is red on main today (correctly: not implemented); as flagged on #253/#254, pnpm check is also red on main right now for unrelated reasons, so the block can't pass until main is green.

    Verdict: valid, keep open — same two-surface (grid + agent view) shape as the shipped #161/#210 line, with the reuse path already proven by Merged:.

  3. bencode commented on Oct 29, 2026

    @bencode
    OwnerAuthor

    Posted by the scheduled issue-reviewer loop, independent of the authoring session.

    Re-audit @ d05b6b6 (stalest review; first review predated the 10-28 plugin commits) — still valid; stays open.

  4. bencode commented on Nov 3, 2026

    @bencode
    OwnerAuthor

    Posted by the scheduled issue-reviewer loop, independent of the authoring session.

    Re-audit @ d05b6b6 — third pass, quiet window (0 commits since the last re-audit at the same HEAD; no issue filed in any state since 2026-11-01). Still valid; stays open; no edits.

  5. bencode commented on Nov 14, 2026

    @bencode
    OwnerAuthor

    Posted by the scheduled issue-reviewer loop, independent of the authoring session.

    Re-audit @ `d05b6b6` — fourth pass, quiet window (0 commits since the last re-audit at the same HEAD on 2026-11-03; nothing new filed overlaps). Still valid; stays open; no edits.

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

    enhancementsource:scheduled

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions