kaiiiz / obsidian-raindrop-highlights-plugin

An Obsidian.md plugin that syncs highlights from Raindrop.
MIT License
228 stars 13 forks source link

Deleted Bookmarks Not Updating #37

Open LehanMusthafa opened 1 year ago

LehanMusthafa commented 1 year ago

After running the SYNC command from the command palette in Obsidian all my Raindrop.io bookmarks gets synced and I'm very much happy with it. But when deleting a bookmark from Raindrop, it doesn't get updated and stays in my Obsidian vault itself.

Any fix for this issue?

kaiiiz commented 1 year ago

I consider this as a dangerous operation and may cause data loss. Maybe a clean unneeded raindrop command that creates a dialog showing the unneeded posts and the user can choose which posts to delete is a proper implementation for this feature.

LehanMusthafa commented 1 year ago

Yeah, that would be a great enhancement!

ShubhamVerma1811 commented 1 year ago

I think the plugin shouldn't be worried about this case.

It's Raindrop that would anyways ask users confirmation before deleting the bookmark

Also, users have a choice to restore the bookmark from the Trash collection.

We could just delete the folders and start the sync again which I believe is the only way to fix this issue.

I think even the Readwise's Obsidian plugin does the same.

ShubhamVerma1811 commented 1 year ago

@kaiiiz, Can this be reopened to be worked on?

Maybe have a config that deletes the local files that were deleted from Raindrop. And as I've mentioned above, Raindrop already handles the deletion confirmation.

kilabyte commented 1 month ago

I would also very much love this so that my files in Obsidian are 1-1 within Raindrop. It definitely should be a separate command so that i can execute it knowingly

kilabyte commented 1 month ago

created PR for this

83