[PR #915] [MERGED] Feat/doc state while resync #997

Closed
opened 2026-03-03 00:24:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/915
Author: @ButteryCrumpet
Created: 4/21/2021
Status: Merged
Merged: 4/23/2021
Merged by: @Rokt33r

Base: masterHead: feat/doc-state-while-resync


📝 Commits (7)

  • f083c55 add 'loaded' state for realtime
  • e6a04d5 display content immediately if loaded from cache
  • 2b8ba08 show syncing state when doc is leaded but not connected/synced
  • a46d8f8 rename initialSyncDone -> initialLoadDone for clarity
  • 7d6b4f2 remove console.log
  • 1528756 fix sync status with refactors
  • 1665530 remove unused SyncStatus component

📊 Changes

3 files changed (+28 additions, -91 deletions)

View changed files

📝 src/cloud/components/molecules/Editor/index.tsx (+22 -7)
src/cloud/components/organisms/Topbar/SyncStatus.tsx (+0 -82)
📝 src/cloud/lib/editor/hooks/useRealtime.ts (+6 -2)

📄 Description

  • Immediately display document if loaded from cache
  • Display 'Syncing' when doc has loaded locally but not yet connected/synced with cloud
  • Expand caching to 1000 documents

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/915 **Author:** [@ButteryCrumpet](https://github.com/ButteryCrumpet) **Created:** 4/21/2021 **Status:** ✅ Merged **Merged:** 4/23/2021 **Merged by:** [@Rokt33r](https://github.com/Rokt33r) **Base:** `master` ← **Head:** `feat/doc-state-while-resync` --- ### 📝 Commits (7) - [`f083c55`](https://github.com/BoostIO/BoostNote-App/commit/f083c55db57b52bbe8dac49818b468b4ec6340c1) add 'loaded' state for realtime - [`e6a04d5`](https://github.com/BoostIO/BoostNote-App/commit/e6a04d5fa2e47573fee0cf3b9fee64fa5ae5dfa0) display content immediately if loaded from cache - [`2b8ba08`](https://github.com/BoostIO/BoostNote-App/commit/2b8ba0876e75898e1d245bf41dbc11386e9dbfa2) show syncing state when doc is leaded but not connected/synced - [`a46d8f8`](https://github.com/BoostIO/BoostNote-App/commit/a46d8f8ad00dff088e8393e0bd2e3621c1fd776c) rename initialSyncDone -> initialLoadDone for clarity - [`7d6b4f2`](https://github.com/BoostIO/BoostNote-App/commit/7d6b4f25bb969ed7d1aa264af937b0eac5b7af12) remove console.log - [`1528756`](https://github.com/BoostIO/BoostNote-App/commit/1528756ddc33a29543d2c9c7a9adbdcfbb137d18) fix sync status with refactors - [`1665530`](https://github.com/BoostIO/BoostNote-App/commit/16655304fd53d8f4dea16fb5b916bb8e2626f86b) remove unused SyncStatus component ### 📊 Changes **3 files changed** (+28 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `src/cloud/components/molecules/Editor/index.tsx` (+22 -7) ➖ `src/cloud/components/organisms/Topbar/SyncStatus.tsx` (+0 -82) 📝 `src/cloud/lib/editor/hooks/useRealtime.ts` (+6 -2) </details> ### 📄 Description - Immediately display document if loaded from cache - Display 'Syncing' when doc has loaded locally but not yet connected/synced with cloud - Expand caching to 1000 documents --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:24:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#997
No description provided.