Skip to content

[P1] [doc-drift] FR-3.1.11 column type indicators — data_type fetched but not rendered #414

Closed

Description

@EVWorth

[P1] [doc-drift] FR-3.1.11 column type indicators — data_type fetched but never rendered

Context

DESIGN_REQUIREMENTS FR-3.1.11: "Each column header shows the MySQL data type as a subtle badge or tooltip".

Problem

Per docs/audits/results.md F19.

ColumnMeta.data_type is populated by extract_value (executor.rs:511-516) and available to the frontend, but ResultsGrid.tsx:611-643, 762-801 header renders only the column name. Users cannot tell tinyint(1) from a small integer without clicking through.

Files

  • src/components/grid/ResultsGrid.tsx:611-643, 762-801

Repro (if applicable)

Static analysis only.

Expected

A SELECT * FROM users shows id INT, name VARCHAR(255), created_at DATETIME badges in the header.

Proposed fix

Scope S. Render <span class="text-[9px] uppercase text-muted">{data_type}</span> next to column name in both render paths; title attribute for full type on hover.

Acceptance

Headers show type badges; muted color; full type on hover.

Needs human verify

No (visual)

Labels: audit, area/results, severity/p1, kind/doc-drift

Activity

  1. added
    audit
    severity/p1
    kind/doc-drift
    area/results
    on Jul 31, 2026
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

    area/resultsauditkind/doc-driftseverity/p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions