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

[FR] overwrite updated highlights #34

Open
louis030195 opened this issue Feb 2, 2023 · 4 comments
Open

[FR] overwrite updated highlights #34

louis030195 opened this issue Feb 2, 2023 · 4 comments

Comments

@louis030195
Copy link

Sometimes I add tags, edit highlights, edit doc metadata, edit template, etc on readwise and it does not update on obsidian so I regularly have to delete all my obsidian highlights and resync which takes a while (>1200 highlights)

Desired usage:

checkbox in settings "overwrite on update" or something like that, just overwrite old highlights

Thanks ❤️

@TristanH
Copy link
Member

TristanH commented Feb 3, 2023

Hey @louis030195 -- there's actually already a way to do this, at least on the per-note level. From inside of obsidian, open the note you want to refresh and do the "delete and reimport" command:

CleanShot 2023-02-03 at 13 15 51@2x

But it sounds like you might want a setting to always do this on all updates?

@louis030195
Copy link
Author

Yes :)
I am aware of the single note command, but it's not scalable

@tyler-dot-earth
Copy link
Contributor

I would also like this - basically the equivalent of Delete and reimport this document every time a Readwise document has updates rather than simply appending new highlights.

That said.. Having worked with the codebase, I'm not sure how this would be achieved with the current API. I believe that new highlights come in piece-meal from the backend. I think the API would need to support the ability to signal that updated documents should get the full document (eg with a ?reimportIfUpdated querystring param or something)

@TristanH
Copy link
Member

TristanH commented Jul 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants