Size the status icon's dot and number to the logo, and mirror them #193

Merged
nectenda-agent merged 1 commit from worktree-nec-134-icon-proportions into main 2026-09-27 09:09:04 +01:00
Collaborator

Task: NEC-134 — https://projectron.nerchure.com/tasks/134

Follow-up to #192. The status icon's dot and number are now sized from the logo and mirrored around it. The proportions were agreed with the user after trying them in their own vaults.

  • Logo at Obsidian's native size in each place: ribbon 18 px, note header 16 px, status bar 16 px. The earlier 14 px status bar override is removed.
  • Dot 0.39 of the logo; number 0.6 tall with text 0.42. They were fixed pixels, which grew relative to the logo as it shrank.
  • Both are placed against the logo, not the button's corner. Each is centred 0.05 of the logo inside its corner (dot top right, number bottom right), so the two mirror each other.

Tested: sync-status.test.ts measures all three places. It checks proportions within 0.02, identical offsets and the mirroring. A fixed 7 px dot, button-corner anchoring, and a dot moved off the mirror each make it fail.

Changelog

The dot and number on the Nectenda status icon now scale with the icon and sit evenly at its corners, wherever it appears.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NnpsVLx9NmMG2N2nJnA8mR

Task: NEC-134 — https://projectron.nerchure.com/tasks/134 Follow-up to #192. The status icon's dot and number are now sized from the logo and mirrored around it. The proportions were agreed with the user after trying them in their own vaults. - Logo at Obsidian's native size in each place: ribbon 18 px, note header 16 px, status bar 16 px. The earlier 14 px status bar override is removed. - Dot 0.39 of the logo; number 0.6 tall with text 0.42. They were fixed pixels, which grew relative to the logo as it shrank. - Both are placed against the logo, not the button's corner. Each is centred 0.05 of the logo inside its corner (dot top right, number bottom right), so the two mirror each other. Tested: `sync-status.test.ts` measures all three places. It checks proportions within 0.02, identical offsets and the mirroring. A fixed 7 px dot, button-corner anchoring, and a dot moved off the mirror each make it fail. ## Changelog The dot and number on the Nectenda status icon now scale with the icon and sit evenly at its corners, wherever it appears. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01NnpsVLx9NmMG2N2nJnA8mR
Size the status icon's dot and number to the logo, and mirror them
All checks were successful
Release note / release-note (pull_request) Successful in 13s
CI / build (pull_request) Successful in 4m39s
CI / e2e (pull_request) Successful in 5m25s
CI / promote (pull_request) Has been skipped
CI / e2e (push) Successful in 5m15s
CI / build (push) Successful in 4m44s
CI / promote (push) Successful in 31s
01fe78bb11
Each place draws the logo at Obsidian's own size for it (ribbon 18 px,
note header and status bar 16 px; the status bar had been forced down to
14). The dot and number were fixed pixels, so they grew relative to the
logo as it shrank, and they were placed from the button's corner, so their
distance from the logo varied with each place's padding.

Now both are sized from the logo — dot 0.39 of it, number 0.6 tall with
text 0.42 — and each is centred 0.05 of the logo inside its corner, the dot
top right and the number bottom right, as mirror images. Agreed with the
user by looking at it in their own vaults, 27 Sep 2026.

sync-status.test.ts measures all three places against their logo:
proportions within 0.02, the same offsets everywhere, and the two marks
mirrored. A fixed 7 px dot, button-corner anchoring, and a dot moved off
the mirror each fail it.

Task: NEC-134

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NnpsVLx9NmMG2N2nJnA8mR
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Nectenda/nectenda!193
No description provided.