GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Misc chrome polish: header badges, plan sidebar, diff panel, empty state by juliusmarminge · Pull Request #3027 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Jun 9, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Ports assorted small fixes from #2451 by @sandersonstabo, rebased onto current main.

  • Chat header: project badge gets a muted folder icon and properly-centered padding; "No Git" becomes a "Git not present" badge with an icon; terminal/diff toggles use a new ghost Toggle variant (no double highlight)
  • Plan sidebar: step icons use shared success/primary tokens, rows are vertically centered, "Plan"/label uses the info Badge, timestamps get tabular-nums
  • Diff panel: header uses the app sans font with aligned, tabular-nums +/- counts
  • "Pick a thread to continue" empty state drops its faint nested card
  • "Plan Ready" banner label becomes a Badge; "Initialize Git" header action gets a branch-plus icon

Part of splitting #2451 into reviewable frontend-only pieces.

🤖 Generated with Claude Code


Note

Low Risk
Visual and CSS-only tweaks with no logic, auth, or data-path changes.

Overview
Frontend-only chrome polish across chat header, plan UI, diff panel, and empty state—no behavior or API changes.

Chat header adds a folder icon and tighter badge layout on the project name, renames the non-git warning to “Git not present” with a merge icon, and switches terminal/diff Toggle controls from outline to a new ghost variant to avoid a double-highlight when pressed.

Plan surfaces (PlanSidebar, ComposerPlanFollowUpBanner) replace ad-hoc labels with the shared info Badge; step status chips use success/primary tokens instead of raw emerald/blue; step rows use items-center; timestamps get tabular-nums.

Diff panel injects CSS so Pierre diff headers use app sans/mono fonts, aligned metadata, and tabular +/- counts; turn-chip timestamps also use tabular-nums.

Misc: “Pick a thread” empty state drops the nested card chrome; Initialize Git shows a branch-plus icon.

Reviewed by Cursor Bugbot for commit 76fd697. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Polish header badges, plan sidebar, diff panel, and empty state UI

  • Removes project name and 'No Git' badges from ChatHeader and switches terminal/diff toggles to ghost variant; adds a new ghost variant to the toggle component
  • Updates PlanSidebar to use semantic color tokens, info badge, and tabular numerals for timestamps; replaces the plan follow-up banner label with a styled 'Plan Ready' badge
  • Fixes file tag chip icons in ChatMarkdown to resolve icons from the bare file path, stripping line/column suffix before lookup
  • Improves DiffPanel typography with explicit font families, tabular numerals, and adjusted spacing
  • Simplifies NoActiveThreadState by removing bordered card styling
📊 Macroscope summarized 26acf66. 11 files reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted

🗂️ Filtered Issues

No issues evaluated.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@coderabbitai

coderabbitai Bot commented Jun 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: d378d161-0032-47d0-807e-20f4ca6774cf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ui/misc-chrome

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Jun 9, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jun 9, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Jun 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs human review

1 blocking correctness issue found. This PR introduces significant backend changes including Claude Tasks support and refactored token usage handling - beyond the UI polish described in the title. Two unresolved review comments identify potential bugs in the new task management logic. These runtime behavior changes warrant human review.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jun 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

🚀 Expo continuous deployment is ready!

  • Project → t3-code
  • Platforms → android, ios
  • Scheme → t3code-preview
  🤖 Android 🍎 iOS
Fingerprint ae17d94b35f91f9c608a63dadbc3ddd9f4ba056e 313e506a7f15a9c3f15b01d787d68a12382432bf
Build Details Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: ae17d94b35f91f9c608a63dadbc3ddd9f4ba056e
App version: 0.1.0
Git commit: 65b35f1684403e2543a127ee2d3dd30bdaa84298
Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: 313e506a7f15a9c3f15b01d787d68a12382432bf
App version: 0.1.0
Git commit: 65b35f1684403e2543a127ee2d3dd30bdaa84298
Update Details Update Permalink
DetailsBranch: pr-3027
Runtime version: ae17d94b35f91f9c608a63dadbc3ddd9f4ba056e
Git commit: 65b35f1684403e2543a127ee2d3dd30bdaa84298
Update Permalink
DetailsBranch: pr-3027
Runtime version: 313e506a7f15a9c3f15b01d787d68a12382432bf
Git commit: 65b35f1684403e2543a127ee2d3dd30bdaa84298
Update QR
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge @codex
fix(web): misc chrome polish — header badges, plan sidebar, diff pane…
76fd697
…l, empty state

Ported from #2451.

Co-authored-by: ss <[email protected]>

Co-Authored-By: Claude Opus 4.8 <[email protected]>

Co-authored-by: codex <[email protected]>
@juliusmarminge
juliusmarminge force-pushed the ui/misc-chrome branch from 7b792af to 76fd697 Compare June 10, 2026 08:38
@macroscopeapp
macroscopeapp Bot dismissed their stale review June 10, 2026 08:38

Dismissing prior approval to re-evaluate 76fd697

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jun 10, 2026
View reviewed changes
@juliusmarminge
Improve Claude task and usage reporting
26acf66
- Track task updates and compact boundaries in provider events
- Use current context usage snapshots when available
- Clean up markdown file tag icons and remove unused chat header badges
@github-actions github-actions Bot added size:XL 500-999 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Jun 10, 2026
@macroscopeapp
macroscopeapp Bot dismissed their stale review June 10, 2026 19:09

Dismissing prior approval to re-evaluate 26acf66

macroscopeapp[bot]
macroscopeapp Bot reviewed Jun 10, 2026
View reviewed changes
Comment thread apps/server/src/provider/Layers/ClaudeAdapter.ts
Comment on lines +726 to +730
function readStringArray(value: unknown): Array<string> {
return Array.isArray(value)
? value.filter((entry): entry is string => typeof entry === "string" && entry.length > 0)
: [];
}

@macroscopeapp macroscopeapp Bot Jun 10, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟢 Low Layers/ClaudeAdapter.ts:726

readStringArray includes whitespace-only strings like " " because it checks entry.length > 0 without trimming, while readString trims before validation. This inconsistency allows whitespace-only dependency IDs to enter task.blockedBy via blockedBy, addBlockedBy, or removeBlockedBy — these IDs will never match any real task ID (which readString would reject), creating logical inconsistencies where tasks appear blocked by non-existent dependencies. Consider trimming strings in readStringArray to match readString's behavior.

 function readStringArray(value: unknown): Array<string> {
   return Array.isArray(value)
-    ? value.filter((entry): entry is string => typeof entry === "string" && entry.length > 0)
+    ? value.filter((entry): entry is string => typeof entry === "string" && entry.trim().length > 0)
     : [];
 }
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/server/src/provider/Layers/ClaudeAdapter.ts around lines 726-730:

`readStringArray` includes whitespace-only strings like `"   "` because it checks `entry.length > 0` without trimming, while `readString` trims before validation. This inconsistency allows whitespace-only dependency IDs to enter `task.blockedBy` via `blockedBy`, `addBlockedBy`, or `removeBlockedBy` — these IDs will never match any real task ID (which `readString` would reject), creating logical inconsistencies where tasks appear blocked by non-existent dependencies. Consider trimming strings in `readStringArray` to match `readString`'s behavior.

Evidence trail:
apps/server/src/provider/Layers/ClaudeAdapter.ts lines 722-729 (readString vs readStringArray definitions), lines 772-781 (task IDs validated by readString, blockedBy populated by readStringArray), lines 794-798 (TaskCreate uses readStringArray for blockedBy), lines 823-832 (addBlockedBy/removeBlockedBy use readStringArray).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/provider/Layers/ClaudeAdapter.ts
blockedBy: new Set(readStringArray(task.blockedBy)),
});
}
return tasks.size > 0;

@macroscopeapp macroscopeapp Bot Jun 10, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟡 Medium Layers/ClaudeAdapter.ts:784

In the TaskList branch, tasks.clear() is called unconditionally, but the return value tasks.size > 0 only reflects whether tasks exist after processing, not whether the state actually changed. If the previous map had tasks and resultTasks is an empty array, the function clears all tasks (a meaningful state change) but returns false, causing callers to miss that the task list was cleared. Consider tracking whether any change occurred by comparing pre/post state or returning true after tasks.clear() to signal the map was modified.

-    return tasks.size > 0;
+    return true;
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/server/src/provider/Layers/ClaudeAdapter.ts around line 784:

In the `TaskList` branch, `tasks.clear()` is called unconditionally, but the return value `tasks.size > 0` only reflects whether tasks exist after processing, not whether the state actually changed. If the previous map had tasks and `resultTasks` is an empty array, the function clears all tasks (a meaningful state change) but returns `false`, causing callers to miss that the task list was cleared. Consider tracking whether any change occurred by comparing pre/post state or returning `true` after `tasks.clear()` to signal the map was modified.

Evidence trail:
apps/server/src/provider/Layers/ClaudeAdapter.ts lines 751-784 (function definition, TaskList branch with tasks.clear() and return tasks.size > 0), line 2458-2467 (caller that gates emitClaudeTaskPlanUpdated on the return value)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@juliusmarminge
juliusmarminge merged commit 343061a into main Jun 10, 2026
15 of 16 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the ui/misc-chrome branch June 10, 2026 19:25
@juliusmarminge juliusmarminge mentioned this pull request Jun 16, 2026
Fix Claude context usage normalization for UI meter, Fixes #2034 #2551
Closed
3 of 4 tasks
Morphexe pushed a commit to Morphexe/t3code that referenced this pull request Jul 30, 2026
@juliusmarminge @codex @Morphexe
Misc chrome polish: header badges, plan sidebar, diff panel, empty st…
dcebe04
…ate (pingdotgg#3027)

Co-authored-by: codex <[email protected]>
NeilTheFisher pushed a commit to NeilTheFisher/t3code that referenced this pull request Aug 18, 2026
@juliusmarminge @codex
Misc chrome polish: header badges, plan sidebar, diff panel, empty st…
57d70ee
…ate (pingdotgg#3027)

Co-authored-by: codex <[email protected]>
darjss pushed a commit to darjss/t3code that referenced this pull request Aug 26, 2026
@juliusmarminge @codex
Misc chrome polish: header badges, plan sidebar, diff panel, empty st…
0fcb141
…ate (pingdotgg#3027)

Co-authored-by: codex <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.