Repository navigation
Releases
Releases · Helloxiaolaodi/Zotero-StaticSync
Zotero StaticSync v0.0.6
Highlights
- Fixed the Zotero report-date auto-transition: when a claimed item reaches its report date, the plugin now physically moves it into the configured Reported collection and removes it from Claimed, To Read, and any direct membership in the synced mother collection.
- Auto-transition now recognizes
claim_date:,report-date:, andreport_date:tags, addsauto_reportedandreport_date:, and repairs stuck items that already carryauto_reportedbut are still in the wrong workflow collection. - DOI additions, claim, report, undo claim, and undo report actions now route items into the correct workflow collection and remove stale collection membership, including direct synced-root membership.
- After local workflow changes, the plugin silently syncs the updated Zotero state back to Supabase so the web Assigned and Reported views match Zotero.
Also Included
- Bidirectional web-to-Zotero sync with 15-second pending-action polling.
- Collection-aware DOI routing for To Read and Assigned submissions.
- DOI deduplication, batch/claimed-section metadata resolution, and undo-add support.
- No auto-created workflow folders; existing Zotero collections are used.
- CSV export and menu fixes for Zotero 7+ group libraries.
- Subfolder grouping and instant web updates in the collaboration UI.
Zotero StaticSync 0.0.5
✨ Release Notes: v0.0.5
Phase 2.3: Feedback, Backup & Sort
- Action History Backup: Added a "Backup" button (top-right) that opens a modal displaying a detailed log of recent collaborative actions (claim, report, add by DOI, and their undo states). It tracks timestamps, users, item titles, and DOIs, and includes a CSV export feature for full history downloads.
- Section Sorting Controls: Introduced a sorting dropdown in the toolbar of every bucket. Users can now toggle between sorting by Title (A–Z, default) and Year (Newest first).
- Global Toast Notifications: Implemented auto-dismissing toast alerts for all actions. These provide instant visual feedback while acting as a synchronization buffer between the web client and Zotero.
Phase 2.3: Bug Fixes
- Undo Button Scoping: Resolved UI clutter by ensuring the
undo-addbutton exclusively appears in the "To Read" section for newly added DOIs, removing the redundant button from the "Claimed" section. - Responsive Undo Claims: Replaced immediate data fetching with a 1.5-second
delayedRefetch(). This gives the server adequate time to process updates, fixing previous issues where undoing actions felt sluggish, required multiple clicks, or needed manual page refreshes. - Optimistic UI Synchronization: Expanded the
delayedRefetch()mechanism across all submission actions (claims, reports, DOI imports). This ensures optimistic UI states persist smoothly until final background reconciliation with the server is complete.
Zotero StaticSync 0.0.4
Release Notes: v0.0.4
Here is the refined and simplified changelog for version 0.0.4 (compared to 0.0.3), formatted for readability and professionalism.
🚀 Phase 2.1: Core Features & Fixes
- Disabled Auto-Folder Creation: Replaced
findOrCreateCollectionwithfindCollection. The plugin no longer auto-generates empty folders ("To Read", "Claimed", "Reported") and only moves items to existing, user-created folders. - Smart Claim for Existing DOIs: When importing DOIs via the web, existing Zotero items are no longer silently skipped. They are now automatically tagged as claimed and moved to the corresponding folder. (Also fixed a group item count mismatch).
- Dynamic Library IDs: Removed hardcoded library IDs for
add_by_doi. Group library imports will no longer mistakenly save to the personal library. - Background Two-Way Sync (
silentSyncBack): Introduced a new method to automatically push Zotero's latest state back to Supabase immediately after processing web actions. - Universal Undo for Web Imports: Ensured the
added_by:webtag is consistently applied, guaranteeing the "Undo" button is available for all web-imported DOIs (single, bulk, or claimed). - Auto-Refresh Metadata: Triggered metadata fetching immediately after bulk DOI imports to instantly replace raw DOI strings with proper titles and authors.
- Syntax Fix: Resolved a duplicate variable declaration (
const url) error infetchPendingActions().
🛠️ Phase 2.2: Sync & Routing Improvements
- Core Sync Fix (Slug Resolution): Fixed an issue in
pushToSupabase()that caused background syncs to create duplicate records instead of updating existing ones. Manual Zotero syncs now correctly reflect updates on the web client. - Smart Folder Routing: Web-added items are now dynamically routed to the correct Zotero folders ("To Read" or "Claimed") based on their source zone or existing
reporter_name. - Instant Status Syncing: Synchronized the updating of
statusandreadingStatusacross all actions (claim, report, and their undo states). This resolves UI issues where items failed to move between sections on the web client after an undo action.
Zotero StaticSync v0.0.3
Supabase Realtime Updates
- WebSocket Subscription: The web frontend now subscribes to Supabase Realtime via WebSocket (
postgres_changeson theshared_collectionstable). - Instant Refresh: When the Zotero plugin pushes updated data, the page refreshes instantly—eliminating the need for polling.
- Hourly Fallback: An hourly re-derive fallback is retained specifically for date-based auto-transitions.
Tag-Based Auto-Transition
- Automatic Promotion: Claimed items with a
claim_date:orreport_date:/report-date:tag whose date is today or earlier are automatically promoted to the Reported bucket. - Zero Manual Effort: No manual reporting is needed; items transition automatically when the target date arrives.
Undo Report Action
- "Undo Report" Button: Reported items now feature an "Undo report" button.
- Selective Tag Removal: Clicking this button removes only report-related tags (e.g.,
auto_reported,reported_by:*,report_date:*) and moves the item back to the Claimed bucket. Original claim tags are preserved. - Plugin-Side Handling: The plugin-side
undo_reporthandler executes the move back to the Claimed collection and strips the necessary report tags.
Release Manifest
This release is used to host update.json, please do not delete or modify it!
Updated in UTC 2026-08-22T08:20:50.899Z for version 0.0.6

