Skip to content

fix: button-spec subvalues + lobe-ify openai/deepseek action art#95

Merged
anthonybaldwin merged 1 commit into
mainfrom
fix/button-spec-and-icons
May 3, 2026
Merged

fix: button-spec subvalues + lobe-ify openai/deepseek action art#95
anthonybaldwin merged 1 commit into
mainfrom
fix/button-spec-and-icons

Conversation

@anthonybaldwin
Copy link
Copy Markdown
Owner

Summary

Two review-prompted fixes:

  1. Subvalue captions now follow Button Spec §7 — short, source-tagged captions matching Claude/Codex's `"Cost (local)"` precedent. Was using long sentences ("Org cost (admin API)", "Avg daily DeepSeek spend (last 7d)"); now:
    • anthropic admin: `"Cost (admin)"`, `"$/day (7d avg)"`, `"MTD pace"`
    • openai admin: same as anthropic
    • deepseek bridge path: `"Cost (API)"` (the "API" tag disambiguates from chat.deepseek.com), `"$/day (7d avg)"`, `"MTD pace"`, `"Tokens (API)"`
    • deepseek API fallback stubs: `"Needs Helper"`
    • deepseek platform error path: `"Bridge error"` / `"Sign in to platform.deepseek.com"`; full error string still lives in `Snapshot.Error`
  2. Action library + key thumbnails for OpenAI and DeepSeek now use lobe-icons paths matching the runtime button-face glyphs. Earlier sync only covered claude + anthropic; openai stayed on the rosette, deepseek stayed on the CodexBar whale. Mirrors the swap to `docs/provider-icons/` for the marketing pills.
  3. DeepSeek display names tweaked to clarify API platform: each metric `Name` now reads "DeepSeek API …" so PI / tooltips don't conflate the API side with chat.deepseek.com.

Test plan

  • go test ./... — all green
  • dev.sh build + Stream Deck restart — buttons render with new short subvalues; action picker thumbnails for OpenAI / DeepSeek now match the live tile

🤖 Generated with Claude Code

Two fixes prompted by a review:

1. Subvalue captions now follow Button Spec §7. Was using long
   sentence-style captions ("Org cost (admin API)", "Avg daily DeepSeek
   spend (last 7d)"); now uses short, source-tagged captions matching
   the Claude/Codex "Cost (local)" precedent:

   - anthropic admin: "Cost (admin)" for the windows, "$/day (7d avg)"
     for burn rate, "MTD pace" for projected month
   - openai admin: same as anthropic
   - deepseek bridge path: "Cost (API)" for the windows (the "API"
     tag also disambiguates the platform/api source from
     chat.deepseek.com — DeepSeek's consumer chat product, which has
     no public usage signal), "$/day (7d avg)", "MTD pace",
     "Tokens (API)"
   - deepseek API fallback stubs: "Needs Helper"
   - deepseek platform error path: "Bridge error" / "Sign in to
     platform.deepseek.com"; the full error string still lives in
     Snapshot.Error for the PI / logs

2. Action library + key-preview thumbnails for OpenAI and DeepSeek
   now use the lobe-icons paths (matching the runtime button-face
   glyphs from internal/icons/lobe_generated.go). Earlier sync only
   covered claude + anthropic, leaving openai still on the old
   rosette and deepseek on the CodexBar-derived whale path. Mirrors
   the same swap to docs/provider-icons/ for the marketing pills.

Display Names also tweaked to clarify DeepSeek = API platform: each
metric Name now reads "DeepSeek API …" (e.g. "DeepSeek API balance")
so the Property Inspector and tooltips don't conflate the API side
with chat.deepseek.com.

Co-Authored-By: Claude <noreply@anthropic.com>
@anthonybaldwin anthonybaldwin merged commit 4d65b20 into main May 3, 2026
2 checks passed
@anthonybaldwin anthonybaldwin deleted the fix/button-spec-and-icons branch May 3, 2026 15:19
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