Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: improve sync reliability #67

Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
28da56e
:bug: Wait for settings to load
tyler-dot-earth Jul 4, 2024
6c0ca1a
:bug: Ensure file exists before using path
tyler-dot-earth Jul 4, 2024
c9444b1
:recycle: Improve sync reliability
tyler-dot-earth Jul 4, 2024
7cec50f
:recycle: use await instead of callback
tyler-dot-earth Jul 4, 2024
ccb4ee6
:recycle: make reimport and startSync async/await
tyler-dot-earth Jul 4, 2024
c49939b
:recycle: simplify reimportFile
tyler-dot-earth Jul 4, 2024
968f5a6
:recycle: clean up refreshBookExport, sync, and removeBooksFromRefres…
tyler-dot-earth Jul 5, 2024
f712494
:bug: Restore missing files when "Resync deleted files" is enabled
tyler-dot-earth Jul 5, 2024
1f74b00
:recycle: improve clean install sync behavior
tyler-dot-earth Jul 5, 2024
a0a3bbe
:recycle: refactor sync flow for clearer async/await-ability, handle …
tyler-dot-earth Jul 6, 2024
90949fe
:recycle: maintain old function name
tyler-dot-earth Jul 6, 2024
1d78510
:recycle: maintain (un-flip) old sync error behavior with extra logging
tyler-dot-earth Jul 6, 2024
0f38e8a
:goal_net: handle failed getExportStatus
tyler-dot-earth Jul 6, 2024
a9a639a
:goal_net: adjust error message
tyler-dot-earth Jul 6, 2024
a2945f1
:recycle: async/await most settings changes (and a couple other things)
tyler-dot-earth Jul 8, 2024
9add84f
:recycle: dedupe booksToRefresh, add logging when items added/removed
tyler-dot-earth Jul 8, 2024
34be86a
:bug: don't add nonexistent book ids
tyler-dot-earth Jul 11, 2024
41ed25b
remove (now-)pointless delete listener
tyler-dot-earth Jul 14, 2024
4da9116
:art: auto-format
tyler-dot-earth Aug 31, 2024
0d72e27
:recycle: reuse variable
tyler-dot-earth Aug 31, 2024
fcdfe0e
:recycle: Rename function for clarity
tyler-dot-earth Aug 31, 2024
b106b23
:recycle: Rename functions for clarity
tyler-dot-earth Aug 31, 2024
2baf6bc
:bug: only fetch missing books when no book IDs explictly requested
tyler-dot-earth Sep 1, 2024
ee20245
:memo: jsdocs for some settings
tyler-dot-earth Sep 1, 2024
f3f5f96
:bug: delete errant character
tyler-dot-earth Sep 1, 2024
3f6d365
:recycle: add dev affordance
tyler-dot-earth Sep 1, 2024
62f2744
:recycle: harden archive entry processing
tyler-dot-earth Sep 1, 2024
bd6f30c
:memo: add note about use of addBookToRefresh
tyler-dot-earth Sep 1, 2024
fe314f2
:fire: remove unnecessary save
tyler-dot-earth Sep 1, 2024
c5fa4a8
:memo: add note about readwise notifications file (+ tweak filename)
tyler-dot-earth Sep 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading