-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: add synchronized reading progress for bookmarks #2302
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
Open
esimkowitz
wants to merge
37
commits into
karakeep-app:main
Choose a base branch
from
esimkowitz:evan/reading-progress
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
38f8580
feat: add synchronized reading progress for bookmarks
esimkowitz a546c28
it works
esimkowitz 587c5e9
align mobile functions
esimkowitz 0abad35
fmt
esimkowitz e41d15e
use generator for webview js fns, remove empty index.ts
esimkowitz 63d9639
revert comments
esimkowitz e65c6d2
move shared fns into core
esimkowitz aced52c
address pr review
esimkowitz 9e7c901
watch core too
esimkowitz cc0945d
address some pr comments
esimkowitz 1ca773c
fix race condition and jump when scrolling
esimkowitz b365f51
fix dead code and error handling, simplify some duplicate logic
esimkowitz 071c694
move reading progress to separate table
esimkowitz 838d35d
remove arbitrary >100 char threshold for updates to progress
esimkowitz e47efc6
only allow reading progress for link bookmarks, error on others
esimkowitz 0a45927
add tests
esimkowitz d58f920
add tests for shared access reading progress
esimkowitz 87095b6
simplify reading-progress hooks, visibility checks, remove char thres…
esimkowitz 39d89a2
remove unnecessary restoration lock
esimkowitz 7d42d06
remove unnecessary exports from reading-progress-core
esimkowitz 1ed82e8
move position restoration to onload, more deterministic
esimkowitz a50f866
cleanup effects
esimkowitz ff45cc0
Update packages/shared-react/hooks/reading-progress.ts
esimkowitz 835fa1e
Merge branch 'main' into evan/reading-progress
esimkowitz 33eea16
Merge branch 'evan/reading-progress' of github.com:esimkowitz/karakee…
esimkowitz c865564
fix function signatures in generated js comment
esimkowitz b4cbc3e
remove verbose comments
esimkowitz fb6f834
Merge branch 'main' into evan/reading-progress
esimkowitz f61b0ff
Merge branch 'main' into evan/reading-progress
esimkowitz 2afe819
add percentage progress fallback
esimkowitz 79600df
address comments
esimkowitz d690d08
Merge branch 'main' into evan/reading-progress
esimkowitz a80151c
some code dedupe and simplification
esimkowitz 6f15640
missed one
esimkowitz c439131
Remove lastKnownPositionRef
esimkowitz f83edfe
remove unnecessary reading-progress-core test
esimkowitz b3d6000
update savePosition comment
esimkowitz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| pnpm preflight | ||
| pnpm exec sherif | ||
| pnpm run --filter @karakeep/open-api check | ||
| pnpm run --filter @karakeep/shared check:webview-js |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.