phildenhoff / logseq-raindrop

A Raindrop plugin for Logseq
MIT License
62 stars 5 forks source link

First crack at single-page imports #50

Closed phildenhoff closed 1 year ago

phildenhoff commented 1 year ago

This is the first step towards #38 — it adds a single-page import process similar to how Omnivore works.

There is no attempt at upserting at the moment — if a Raindrop has been updated after the sync time, it's re-inserted.

I think, at the moment, everything is appended to the bottom. We probably don't want that. There's also no formatting, nor are user's default tags setting respected.

There's tons of clean up / code reorganization to do. Having one giant "importHighlightsSinceLastSync" function gives me no joy, but it does sort of work!

Here's a demo: note that the plugin does not redirect to the page by default.

https://github.com/phildenhoff/logseq-raindrop/assets/17505728/bc1ee3d8-967c-4cf6-9f08-39dcca1d1125

phildenhoff commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

phildenhoff commented 1 year ago

@phildenhoff started a stack merge that includes this pull request via Graphite.

phildenhoff commented 1 year ago

@phildenhoff merged this pull request with Graphite.