Repository navigation
feat(recommendations): mark a movie or series Not interested on phone and TV #1105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Rhainland
wants to merge
10
commits into
Silo-Server:main
Choose a base branch
from
Rhainland:feat/not-interested
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,998
−158
Open
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
23302e3
feat(recommendations): mark a movie or series Not interested on phone…
Rhainland f96b7d7
fix(settings): keep a Not Interested title from wrapping beside its b…
Rhainland 9c8f7c0
refactor(recommendations): share Not Interested helpers and fix TV li…
Rhainland ddfdb0d
fix(recommendations): keep Not Interested state current across reads …
Quick104 302fe77
chore(i18n): sync translations local-ec136c7f8672 with the catalog pu…
Quick104 8d5fa96
fix(recommendations): reload the Not Interested list once a profile s…
Quick104 7a91997
test(tv): find the Home sections control button now that it is internal
Quick104 56b08c2
fix(recommendations): drop a capability answer a profile switch left …
Quick104 0743817
fix(recommendations): keep reading the Not Interested list past a pag…
Quick104 4f97c8e
fix(recommendations): keep a Not Interested row from clearing the nex…
Quick104 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| platform=android | ||
| version=2026.11.23-73e6a54 | ||
| sha256=86e06e01b86d10bf79d824a9cd2c5307fbee294857b81bd655246f4ce6b86498 | ||
| version=local-ec136c7f8672 | ||
| sha256=- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # Generated by silo-translations 2026.11.23-73e6a54 from catalog/*.arb; do not edit. | ||
| # Generated by silo-translations local-ec136c7f8672 from catalog/*.arb; do not edit. | ||
| # Resource qualifiers per app, for androidResources.localeFilters. | ||
| phone=en,es,de,fr,pt-rBR,nl,it,pl,tr,sv,da,nb,fi,cs,hr,ru,uk,ja,ko,b+zh+Hans,b+zh+Hant,ar,hu,ro,sk,sl,bg,el,ca,lt,lv,et,vi,pt-rPT,in,ms,iw,hi,th | ||
| tv=en,es,de,fr,pt-rBR,nl,it,pl,tr,sv,da,nb,fi,cs,hr,ru,uk,ja,ko,b+zh+Hans,b+zh+Hant,ar,hu,ro,sk,sl,bg,el,ca,lt,lv,et,vi,pt-rPT,in,ms,iw,hi,th |
15 changes: 15 additions & 0 deletions
15
...oid-shared/src/androidMain/kotlin/org/siloserver/silo/common/catalog/NotInterestedText.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| package org.siloserver.silo.common.catalog | ||
|
|
||
| import androidx.compose.runtime.Composable | ||
| import androidx.compose.ui.res.stringResource | ||
| import org.siloserver.silo.common.R | ||
| import org.siloserver.silo.common.i18n.LocaleFormat | ||
| import org.siloserver.silo.common.i18n.currentNumberLocale | ||
| import org.siloserver.silo.model.catalog.BrowseItem | ||
|
|
||
| /** A Settings → Not Interested row's caption: "2004 · Movie", or the kind alone without a year. */ | ||
| @Composable | ||
| fun BrowseItem.notInterestedCaption(): String = listOfNotNull( | ||
| year.takeIf { it > 0 }?.let { LocaleFormat.integer(it, currentNumberLocale()) }, | ||
| stringResource(if (type == "series") R.string.settings_notInterested_series else R.string.settings_notInterested_movie), | ||
| ).joinToString(" · ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definite not-interested clear refusals are treated as unknown outcomes
A definite 4xx refusal from
clearNotInterestedis sent to reconciliation and can remain unresolved if the follow-up read fails. Surface definite refusals directly while continuing to reconcile ambiguous network and 5xx outcomes.Also found in:
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/data/sync/MembershipOutbox.kt:70-70Kody rule violation: Reconcile ambiguous mutation outcomes without replaying them
Prompt for LLM
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not changed: this is the outbox's rule for every membership kind. Favorites and Watchlist send a 4xx to reconciliation the same way on main, and
docs/membership-api-v2.mddocuments it (single attempt, then a read). Not interested only joins that path.🤖 Claude Code (claude-opus-5-5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification. Since the existing membership contract explicitly specifies a single mutation attempt followed by reconciliation, and this change applies that same behavior to Not Interested, I would not require a separate 4xx handling change in this PR.
The possibility of an unresolved outcome if the follow-up read fails is a broader outbox concern, not a regression introduced by this change.