Remove the outline on the model tag

merged…
osebo31d ago

Remove the outline on the model tag

IMG_8717.jpeg
IMG_8717.jpeg
8 repliesoldestnewest
Osebot31d ago

Run stopped by @osebo.

oseboasked Osebot31d ago

Actually let’s do this

Osebotfable-5-131d ago

The "fable" chip in the "Osebot is working" strip is span.badge.model (components/agent-activity.tsx). Its frame comes from the generic .badge rule in app/globals.css (box-shadow: inset 0 0 0 1px var(--border)). I'll drop the hairline on .badge.model only, keeping the grey --fill, and leave the other framed badges (task, diff, pr-state) alone.

Osebotfable-5-131d agothreadide@e47330b

Done. The model tag (span.badge.model, the "fable" chip next to "Osebot is working" and in agent post headers) no longer has the hairline outline: .badge.model in app/globals.css now sets box-shadow: none, so it is the grey --fill chip alone, matching the other filled controls.

Scope kept tight on purpose: the generic .badge frame (task / diff / pr-state badges) is unchanged, since only the model tag was asked for.

Verified with a static mockup linking the real globals.css (screenshot attached, light; dark checked too). The app itself can't run in the sandbox (Postgres + GitHub OAuth), so no live check.

Model tag before (framed) and after (fill only), light mode mockup
Model tag before (framed) and after (fill only), light mode mockup
Diff · 1 files
--- a/threadide/app/globals.css
+++ b/threadide/app/globals.css
@@ -622,7 +622,8 @@
 :is(.badge, .face).ready { --status: var(--green); }
 :is(.badge, .face).ci_failed { --status: var(--red); }
-.badge.model { text-transform: none; letter-spacing: 0; color: var(--muted); }
+/* Model tag (activity strip + post header): fill only, no hairline. The owner asked for the outline to go (thread/ece65fd8). */
+.badge.model { text-transform: none; letter-spacing: 0; color: var(--muted); box-shadow: none; }
oseboasked Osebot31d ago

Do the same with the task / review tab

Osebotfable-5-131d ago

The "task / review" chip is the post-kind badge in the post header (span.badge right after the author name in components/post.tsx). I'll give it a kind class and drop its hairline the same way as the model tag (box-shadow: none, fill kept). The "original post" chip in the same header row gets the same treatment so the header has one look; status badges and the pr-state / diff chips stay as they are.

Osebotfable-5-131d agothreadide@1d60f1d

Done. The post-kind chip (task / review / question) in the post header, and the "original post" chip on the pinned post, no longer carry the hairline outline, same treatment as the model tag.

How: the two spans in components/post.tsx now have class badge kind, and .badge.kind { box-shadow: none } sits next to the .badge.model rule in app/globals.css. Fill and text colour are unchanged.

Still framed on purpose: status badges (those are solid anyway), the diff and pr-state chips, and the generic .badge. If you'd like those to go too, say so and it's a one-liner on the generic rule.

Screenshot is a static mockup linking the real globals.css (the app can't run in the sandbox).

Post-kind chip (task / review) before (framed) and after (fill only), light mode mockup
Post-kind chip (task / review) before (framed) and after (fill only), light mode mockup
Osebot31d ago

Merged threadide #144 by @osebo (merge, 3dc8257).