Commit Graph

19 Commits

Author SHA1 Message Date
Timo 55c2d4ed0d feat: Auto-Sync Next Episode v1.2.0
Adds a new toggleable feature that detects episode transitions via
mediaTitle mutation (loadeddata/MutationObserver), pauses the video,
and waits for all room peers to load the same episode before
executing a coordinated Force Sync play at 0:00.

Protocol:
- Add EPISODE_LOBBY and EPISODE_READY events to shared/constants.js
- Add EPISODE_LOBBY_TIMEOUT (60s) constant
- Relay both new events in server/index.js

Content Script (content.js):
- Layered detection: loadeddata + MutationObserver src-change + heartbeat
- Debounced onEpisodeTransition() sends signal ONLY; no eager pause
- PAUSE_FOR_LOBBY handler pauses only after background confirms feature enabled
- startLobbyPoll() polls title match without premature pause for non-initiators
- checkAndReportLobbyReady() pauses and sends EPISODE_READY_LOCAL on match
- CONTENT_BOOT recovery for re-injection after hard navigation

Background (background.js):
- Episode lobby state persisted in chrome.storage.session with recovery
- EPISODE_CHANGED: checks setting, creates lobby, sends PAUSE_FOR_LOBBY to tab
- EPISODE_LOBBY/READY server event handlers with dedup logic
- 60s timeout cancels lobby (Option B) with Chrome failure notification
- Peer departure handled: removes from readyPeers, re-checks completion
- executeEpisodeLobby() reuses existing Force Sync pipeline at targetTime 0.0
- Lobby cleared on LEAVE_ROOM; status exposed in GET_STATUS

Popup:
- Auto-Sync Next Episode toggle in Settings tab (default: off, opt-in)
- Episode Lobby status card in Sync tab with peer readiness display
- LOBBY_UPDATE message handler for real-time UI updates

Bumps APP_VERSION and manifest to 1.2.0
2026-04-25 16:43:10 +02:00
Timo 01bc95e176 docs: add github link and version info to dev tab (v1.1.4) 2026-04-25 03:49:42 +02:00
Timo 7417c21217 feat: enhance peer list with volume icons, play/pause status, and time interpolation (v1.1.3) 2026-04-25 03:47:57 +02:00
MacBook e40e2e5101 feat(dev): implement extended video metadata and data-attribute inspector 2026-04-22 18:22:59 +02:00
Timo 622db23f38 style: restore classic remote control UI and sync architectural fixes 2026-04-22 13:32:10 +02:00
Timo 221961820a feat: implement visual confirmation system and redesigned Sync tab 2026-04-22 12:20:32 +02:00
Timo 9f004557ed fix: resolve peer isolation and invitation link sync issues 2026-04-22 12:10:26 +02:00
Timo acd18b4d7b ui: move connection status to the top of the dev tab 2026-04-22 11:41:02 +02:00
Timo 3e3fa75f25 docs: clarify noise filtering behavior in settings 2026-04-22 11:40:00 +02:00
Timo 1355022c35 feat: reorganize popup tabs and add video debug diagnostics 2026-04-22 11:27:16 +02:00
Timo 51a5f43130 feat: add username support and fix invitation link server parsing 2026-04-22 11:22:31 +02:00
Timo 9a2ccd27ca fix: resolve duplicate peerList IDs and refine server deduplication emission 2026-04-22 11:18:32 +02:00
Timo 80f3801b79 feat: add visible active room id and server labels to popup 2026-04-22 11:14:36 +02:00
Timo ffbd80881a UI: Refactored Sync tab into a Remote Control interface 2026-04-22 09:24:12 +02:00
Timo 4db23fc685 UI: Context-aware layouts and Smart Invite links (Server-in-URL) 2026-04-22 09:19:49 +02:00
Timo d9e2d6aa77 Logic: Capped reconnection (5m) and manual retry UI 2026-04-22 09:17:01 +02:00
MacBook d558e9d9c4 chore: achieve 100% data sovereignty
- Localized Chrome icon (removed Wikimedia dependency).
- Removed remaining Google Font CDN from extension popup.
- Updated AI_INIT.md with strict 'Zero-External-Requests' policy.
- Verified all website and extension assets are served locally.
2026-04-21 09:00:45 +02:00
MacBook 3e2e9ed7a5 feat: production-ready release v1.0.0
- Integrated 'Koala-Bridge' for seamless web-to-extension communication.
- Implemented dedicated, minimalist invitation page (join.html).
- Added brute-force protection and RAM-cleanup to the relay server.
- Removed external fonts and trackers from the landing page (Privacy First).
- Unified header/footer design across all website pages.
- Added MIT License and comprehensive legal documentation (Impressum/Datenschutz).
2026-04-21 08:46:28 +02:00
MacBook 14033244e5 Initial commit: Production-ready KoalaSync Monorepo with Manifest V3, Socket.IO Relay, and Two-Phase Sync 2026-04-21 07:49:37 +02:00