Skip to content

Flatten daily-driver UI: fewer cards and borders - #732

Merged
currentbits merged 6 commits into
mainfrom
coder/flatten-daily-driver-ui-727
Aug 27, 2026
Merged

currentbits merged 6 commits into
mainfrom
coder/flatten-daily-driver-ui-727

Conversation

@currentbits

@currentbits currentbits commented Aug 27, 2026 •

Copy link
Copy Markdown
Owner

Closes #727

User feedback: the app is functionally great, but the UI is a dashboard of cards and borders. It should read as a continuous page of type and space.

Decision: flatten, daily driver only. Identity stays (Inter, dark/light tokens, blue accent, three-column shell). Functionality stays.

Rule

In-page grouping uses type, space, and hover. background: var(--card) plus a 1px --border is reserved for floating surfaces and the composer.

What changed

CSS-only. Markup and data-*-card attributes are unchanged.

  1. Ghost chrome (icon buttons, Views tabs, pane toggles, non-primary .btn)
  2. Flatten Environment / Agents section tiles (.gitCard, .sessionCard, .teamSection, .workflow)
  3. Flatten transcript tiles (events, tools, Work Log, plan, suggested-work, status strip, user-bubble outline)
  4. Composer keeps a shell; drop the drop-shadow; ghost pills

Contract test: test/flattenDailyDriver.test.ts (parses the CSS modules). Focused renderer tests: 220 pass.

Out of scope

Memory, Skills, Settings, Kanban, Fleet, leftover inner .gitBtn chips, .reviewBar / .inboundCard, marketing screenshots (#690).

Spec / plan

  • docs/superpowers/specs/2026-08-27-flatten-daily-driver-ui-design.md
  • docs/superpowers/plans/2026-08-27-flatten-daily-driver-ui.md

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a1605940fd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const brace = match.index + match[0].length - 1;
const end = css.indexOf("}", brace);
if (end < 0) return "";
return css.slice(brace + 1, end);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Match compound selectors in allRuleBodies

Update this selector scan to include every rule containing the class. As written, \s*\{ requires the opening brace immediately after .card, so declarations in existing selector forms such as .card.toolCard and .body > .card + .card are skipped despite the helper's stated purpose. A later card fill, border, or shadow added through a compound/ contextual selector would therefore bypass the new contract test.

Useful? React with 👍 / 👎.

Comment on lines +45 to +47
function hasTileBorder(body: string): boolean {
return /border:\s*1px solid var\(--border\)/.test(body);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject all tile borders in the flattening contract

Broaden this predicate beyond the exact --border token. The visual contract requires these sections and transcript blocks to have no 1px outline, but border: 1px solid var(--border-soft)—the previous value on .planCard and .specCard—passes every hasTileBorder assertion. Restoring that outline or using another color token would silently regress the flattened UI while this contract remains green.

Useful? React with 👍 / 👎.

@currentbits
currentbits merged commit 6555107 into main Aug 27, 2026
3 of 6 checks passed
currentbits added a commit that referenced this pull request Aug 27, 2026
currentbits pushed a commit that referenced this pull request Aug 28, 2026
The #732 flatten (and the leftover/secondary follow-ups on this tree)
stripped cards, borders, and shadows. Restore the previous boxed chrome
and drop the CSS-lock tests that forbade it.
@currentbits
currentbits deleted the coder/flatten-daily-driver-ui-727 branch October 3, 2026 16:07
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.

Flatten daily-driver UI: fewer cards and borders

1 participant