Skip to content

[WISE] Draw the iOS usage bar pacing marker and track like the Mac - #551

Merged
swu-wise[bot] merged 2 commits into
mainfrom
wise/ios-bar-parity
Nov 25, 2026
Merged

swu-wise[bot] merged 2 commits into
mainfrom
wise/ios-bar-parity

Conversation

@jaywedgeworth22

@jaywedgeworth22 jaywedgeworth22 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Aligns the iOS CompanionUsageBar pacing marker and track with the Mac bar for visual parity. No issue link, rationale, or test evidence was provided with the changes.

Changes

  • Updates iOS track color to faint black in light mode and faint white in dark mode to match the Mac track token.
  • Adjusts pacing marker halo opacity in light mode from 0.75 to 0.7.
  • Changes pacing marker geometry to a 3 pt line standing 2 pt proud of the bar with a 1 pt halo, sized from bar height.
  • Adds centering logic to keep the marker clear of the bar’s rounded ends, as the Mac bar does.

User-visible impact

Usage bars on iOS should look consistent with Mac, with matching track tone and marker size and placement. Behavior at extreme elapsed fractions and very narrow widths remains unverified.

Risks and unresolved review findings

  • No tests added or reported as run were visible in the diff.
  • Automated review reported two low-severity unverified layout concerns that are not addressed in this diff: halo may overflow the bar edge instead of clamping to bar bounds, and narrow-bar clamping may center the marker off the bar.

Summary

Aligns the iOS companion usage bar pacing marker with the Mac bar. It positions the 3 pt marker at the elapsed-time fraction while keeping it clear of the rounded ends, and trims the 1 pt halo to the bar bounds centered on the marker. It uses a fixed 18 pt marker height for the marker and halo. No test evidence is included in the changes, so visual parity remains unverified.

@swu-wise

swu-wise Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

@kody start-review

@kody-ai

This comment has been minimized.

@kody-ai

kody-ai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Automatic approval held

Kody's assessment:

Risk was identified in this PR.

@kody-ai

kody-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

@swu-wise

swu-wise Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Update to the description above: the 18 pt marker height is a pinned, tested choice (#145, testCompanionUsageBarPacingMarkerProminence), and the Mac Glance bar also uses 18, so this PR keeps it.  What remains is the placement parity with the Mac: the marker stays off the rounded ends, the halo is 1 pt wide on each side at 0.7 opacity and trimmed to the bar, a bar narrower than the marker centers it, and the track uses the Mac faint black/white.  Head 387b483.  @kody start-review

@swu-wise
swu-wise Bot merged commit c6ffe28 into main Nov 25, 2026
11 checks passed
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