Skip to content

feat(sync): add Extensions from Sync section - #82

Open
bee-san wants to merge 1 commit into
sohilsayed:mainfrom
bee-san:feat/extensions-from-sync
Open

feat(sync): add Extensions from Sync section#82
bee-san wants to merge 1 commit into
sohilsayed:mainfrom
bee-san:feat/extensions-from-sync

Conversation

@bee-san

@bee-san bee-san commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Remember lightweight manga and anime extension identities (package id + signing hash) in the shared sync payload, without syncing APKs, download URLs, or repositories. Cumulative history is kept in app-state prefs and matched against each device's independently configured catalog to surface installable matches in a new "Extensions from Sync" section shown after "Installed" on both extension screens.

  • Add backward-compatible Backup fields (720/721) + BackupExtension model
  • Union/de-duplicate identities during sync merge; persist returned history before any early return
  • Combine remembered identities with installed extensions before syncing
  • Match exact (pkg+hash) catalog entries; hide unmatched, signature mismatches, installed, and content-filtered entries; de-dupe from language sections
  • Extract testable grouping helpers for both extension screens
  • Tests: protobuf round-trip/compat, sync union/dedupe/history, matcher, and both screen groupings

Add a 👍 reaction to pull requests you find important.

@bee-san

bee-san commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

this is 100% vibe coded too, i made this to make it easier to sync between devices

Remember lightweight manga and anime extension identities (package id +
signing hash) in the shared sync payload, without syncing APKs, download
URLs, or repositories. Cumulative history is kept in app-state prefs and
matched against each device's independently configured catalog to surface
installable matches in a new "Extensions from Sync" section shown right
after "Installed" on both extension screens.

- Add backward-compatible Backup fields (720/721) + BackupExtension model
- Union/de-duplicate identities during the sync merge; persist the
  returned history before any early return
- Combine remembered identities with installed extensions before syncing
- Match exact (pkg + hash) catalog entries; hide unmatched, signature
  mismatches, installed, and content-filtered entries; remove matches
  from the language sections to avoid duplicates
- Existing sync files decode with empty histories; no migration, setting,
  auto-install, manual-backup, or extension-store changes

Tests: protobuf round-trip/compat, sync union/dedupe + extension-only
payload, and the identity matcher (catalog match, installed/unmatched/
signature-mismatch hiding, NSFW and language filters).
@bee-san
bee-san force-pushed the feat/extensions-from-sync branch from 6503764 to 129b931 Compare July 28, 2026 13:16
@bee-san
bee-san marked this pull request as ready for review July 28, 2026 13:47
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