Skip to content

Say when each kept rule was last updated - #407

Merged
hatstand merged 1 commit into
masterfrom
claude/project-thread-wugi27-sync-updated
Nov 6, 2026
Merged

hatstand merged 1 commit into
masterfrom
claude/project-thread-wugi27-sync-updated

Conversation

@hatstand

@hatstand hatstand commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

The first of two PRs for background sync. iOS-Remote#81 does the same on iOS. Once the phone updates what's kept on its own, without the user watching, Kept on this phone should say when that last happened.

Rules set to Every time you connect now read, for example, "Every time you connect · Updated 2 hours ago · 12 songs, 80 MB". The time comes from SyncRule.lastSyncedAt, which the sync store already keeps and SyncEngine sets on each rule that syncs, so no store change is needed. DateUtils.getRelativeTimeSpanString writes the relative time, and anything under a minute says "Updated just now". Rules kept as they are don't show it, because they aren't updated.

The two new strings have notes for translators that match the iOS client's. Like the rest of media sync, this is behind the testing features, so it has no release note.

Tests

  • DownloadsScreenTest.saysWhenWhatsUpdatedLastWas

🤖 Generated with Claude Code

https://claude.ai/code/session_01R2bAq6kZW6eyymkA3zsd4p

Rules set to Every time you connect now say when they last synced in
Kept on this phone, such as "Updated 2 hours ago", from the time the
sync store already keeps. It's for background sync, which updates them
without the user watching. Rules kept as they are don't show it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R2bAq6kZW6eyymkA3zsd4p
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Store screenshots

From run 42293795183, against clementine-it. Left: the store listing of the latest release, v13.12, which shows the dark theme. Right: this pull request, dark and light.

Screen v13.12 This PR, dark This PR
1_player
2_library
2_library_album
3_playlist
4_search
5_connection
6_connect
10_internet –
11_internet_radio –
fold_half_open_player –
fold_inner_player –
fold_outer_player –
settings –

@hatstand
hatstand merged commit 502f802 into master Nov 6, 2026
8 checks passed
@hatstand
hatstand deleted the claude/project-thread-wugi27-sync-updated branch November 6, 2026 21:36
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.

2 participants