Skip to content

Request scale-sized avatars and drop unused fields - #7

Merged
0x2E merged 1 commit into
mainfrom
chore/avatar-size-and-dead-code
Aug 16, 2026
Merged

0x2E merged 1 commit into
mainfrom
chore/avatar-size-and-dead-code

Conversation

@0x2E

@0x2E 0x2E commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Request GitHub avatars at 18pt × displayScale, rounded up to a multiple of 10 (2x → 40, 3x → 60) so Retina screens are not undersampled.
  • Delete unused notification fields (reason, lastReadAt, subscriptionUrl, latestCommentUrl), the unused AppLog.error API, the dead interval < 1 branch, and a leftover ZStack.
  • Move settings/about links onto GitHubEndpoint and build the notifications query with appending(queryItems:).

Test plan

  • Open the menu bar panel on a Retina display and confirm avatars look sharp and still cache across opens.
  • Hover an avatar and confirm the GitHub login appears as a tooltip.
  • Confirm notifications still decode and list as before (GitHub extra JSON fields are ignored).
  • Open Settings → GitHub / About and confirm the token, repo, and issue links still work.
  • Run GitStatus tests in Xcode (GitStatus scheme).

Ask GitHub for an avatar pixel size that matches 18pt at the current
display scale, and delete model fields, logging, and interval checks
that nothing called.
@0x2E
0x2E merged commit cd585da into main Aug 16, 2026
@0x2E
0x2E deleted the chore/avatar-size-and-dead-code branch August 16, 2026 06:31
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