-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Feature Request] Append to highlight note instead of overwriting. #91
Comments
You're referencing https://github.com/hadynz/obsidian-kindle-plugin? I would need to have a look on how they solved it and see. I'll have to do some brainstorming and come up with something. |
yep, that one. |
Considering the chapter names are returned from the book (ie values that are not user defined), could they be used as references for an incoming import?
not sure how to handle the |
Hi, |
@rsletta yes please open a pull request! Contributions are always welcome. I did not have a chance yet to have a good look at this, so your start will certainly help. |
@tjex are you available to test and see if it fulfils your use case? |
hey. great that this got done! makes the plugin so much more valuable 🙏. I tested:
Features 1 and 2 are definitely the most useful. 3 and 4 would be nice to haves. I'm not sure how much more effort it would take to implement them. For feature 3: if I manually delete the annotation from the markdown doc (it is also deleted from the book itself), and I resync, the annotation is inserted back in. So there is a pretty big functional issue there for deleting annotations. As it stands now, once an annotation is added, it will never be possible to remove the annotation from the markdown file. I also tried to delete the entire markdown file and sync again; the annotation is added back, despite being deleted from the book itself Also, just on a readability / UX standpoint, the Perhaps this was already part of the plan, but just in case, it's worth pointing out for clarity! So this does fulfil the use case, but |
This ensures that when in non edit mode, the type marker is not visible. #91
It looks like I forgot to push a change 🤦🏾 With the way it looks in the screenshot, do you still think the text needs to change due to UX? Regarding deletion, if I understand the code correctly, the current implementation would remove everything within that ID marker if it goes missing from the database. What you’re describing, sounds like when you delete it via the e-reader, the e-reader might not actually delete the entry from the DB? I would need to play around with it and reproduce. Do you mind creating a new issue so we can look into this? I need to investigate your 4th point. Updating the highlight should work if the ID’s are the same. I’ll see if I can reproduce your case with an actual end to end test case. I’ll create a followup issue for this one 👌🏾 |
This ensures that when in non edit mode, the type marker is not visible. #91
I think wrapping in Will make a new issue. Thanks so much :) |
Painfully realised that currently when importing highlights, the entire highlights page is generated fresh.
This means that any caret references, edits to highlight notes are broken / overwritten on each import.
This limits the usefulness of the plugin quite severely as the highlights page can only then ever be used as a visual reference to read and remind ones self (or copy and paste 😵), and therefore not truly integrated into the Obsidian / Zettelkasten note making workflow.
I think the simplest solution around this would be to simply append new highlights / notes to the highlights file instead of overwriting the whole file completely with a fresh import. From memory the Kindle highlights plugin works this way.
Is it realistic to look into something like this? Would be immensely appreciated.
I want to help, but my programming chops are probably not going to do much.
I'd be happy to update and extend the documentation if needs be though.
The text was updated successfully, but these errors were encountered: