feat(sync-menu): sync dialog progress, resilient auto-connect, forced badge & teardown fixes#8
Open
x-limitless-x wants to merge 1 commit into
Open
feat(sync-menu): sync dialog progress, resilient auto-connect, forced badge & teardown fixes#8x-limitless-x wants to merge 1 commit into
x-limitless-x wants to merge 1 commit into
Conversation
…, dialog teardown - Determinate progress bar with processed/total across servers - Fix 'Connecting to active sync' hang: fetch status fresh on open instead of a cached SWR onSuccess that never fired on reopen - 'Forced refresh' badge when a run bypasses hash-skip (server reports forced via sync-status so it survives auto-connect) - Always-mount the dialog so Headless UI runs its close teardown (conditional unmount stranded the page-wide pointer-events lock) - Harden fetchProcesses: per-server timeout + webhook auth + concurrent fetch
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Split out from
feat/media-activity-monitoringso the Sync Media dialog work is reviewable on its own.Changes
processed / totalacross all servers in the Sync dialog.onSuccessthat never fired on reopen.forcedviasync-statusso it survives auto-connect.isOpen. Conditionally unmounting a Headless UIDialogwhile open stranded the page-widepointer-eventslock and made the app unclickable until reload.fetchProcesseshardening — per-server timeout + webhook auth header + concurrent fetch, so the Active Processes endpoint can't hang or 401.Files
src/components/Admin/SyncMediaPopup.jssrc/components/Admin/OverviewPage.jssrc/components/Admin/Media/SyncButton.jssrc/utils/server_track_processes.jssrc/utils/sync.jssrc/utils/sync/core/events.tssrc/app/api/authenticated/[...admin]/route.js