Skip to content

Remove the per-widget wide size option#78

Merged
danielchalmers merged 1 commit into
mainfrom
claude/epic-ellis-83b0db
Jun 27, 2026
Merged

Remove the per-widget wide size option#78
danielchalmers merged 1 commit into
mainfrom
claude/epic-ellis-83b0db

Conversation

@danielchalmers

Copy link
Copy Markdown
Owner

What

Removes the per-widget Size customization. Widgets could be set to a wide size that spanned two board columns; this drops that option so every widget renders at the single standard size, and it is no longer possible to make a widget wide.

Why

The wide size was a fluff option — the board has no real layout support to make a two-column-spanning widget genuinely useful, so it mostly produced an awkwardly stretched card. Removing it clears the way for a better approach later: a smarter layout that decides width on its own, or a more deliberate UI/UX flow, rather than a manual toggle that does not earn its place.

Changes

  • src/lib/types.ts — drop the WidgetSize type and the optional size field on WidgetBase.
  • src/components/ItemDialog.tsx — remove the Size <select> and its updateSize handler / import.
  • src/components/BoardRow.tsx — stop emitting the board-row--wide class.
  • src/styles/global.css — remove the .board-row--wide grid rules.
  • AGENTS.md — update Product Direction to reflect a single standard size.
  • Tests — remove the unit and e2e coverage for the wide size.

Backward compatibility

Storage keeps unknown fields as-is (no migration layer by design), so any synced board that already stored size: "wide" simply renders as standard — the field becomes inert. No data migration needed. The board-level column count setting (Auto / 1–4) is untouched.

Verification

  • npm run typecheck — clean
  • npm test — 114 passed
  • npm run build and npm run build:edge — both succeed
  • npm run e2e — 43 passed

Widgets could be set to a "wide" size that spanned two board columns, but
the board has no real layout support to make that useful — it was a fluff
option that mostly just produced an awkwardly stretched card. Drop it so
every widget renders at the single standard size.

This clears the way for a better approach later: a smarter layout that
decides width on its own, or a more deliberate UI/UX flow, rather than a
manual toggle that does not earn its place.

Removes the WidgetSize type and the optional size field, the Size select in
the edit dialog, the board-row--wide rendering and CSS, and the unit/e2e
coverage for it. Storage keeps unknown fields as-is, so any board that
already stored size: "wide" simply renders as standard — no migration
needed.
@danielchalmers danielchalmers merged commit a382506 into main Jun 27, 2026
5 checks passed
@danielchalmers danielchalmers deleted the claude/epic-ellis-83b0db branch June 27, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant