-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Search first
- I searched and no similar issues were foundTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
What Happened?
I imported my existing graph for the first time, and one of the most noticeable issues I encountered is that the Edn files were not imported. It seems these files contain my highlights from a PDF. However, when I open the corresponding PDF files, my highlights no longer appear, and any references to these highlights are also broken (appears in yellow), as shown below.
EDN file content
{:highlights [{:id #uuid "647f43c6-7439-4c97-851f-a4286c04b11e", :page 73, :position {:bounding {:x1 11, :y1 4, :x2 674, :y2 359, :width 682.0000000000001, :height 383.62500000000006}, :rects (), :page 73}, :content {:text "[:span]", :image 1686062020889}, :properties {:color "yellow"}}], :extra {:page 81}}
100's of similar errors were shown after import.
Reproduce the Bug
Import a page with any PDF highlighting.
Expected Behavior
No response
Files
No response
Browser, Desktop or Mobile Platform Information
No response
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Activity
[-]Import - Skipped file since its format is not supported (edn file)[/-][+]Import - Add support for pdf highlights[/+]logseq-cldwalker commentedon Jan 13, 2025
Hi. This is a known todo as described in https://github.com/logseq/docs/blob/feat/db/db-version.md#importer-todos. We'll get to this at some point. The more people that upvote or comment this issue, the sooner we'll address it
logseq-cldwalker commentedon Jan 13, 2025
In the meantime I have improved the import ux so that only notification is displayed for all ignored files
yingzhu146 commentedon May 29, 2025
Basically the main missing thing for me to be able to use the DB version. So many PDF annotations :)
Sininho commentedon May 31, 2025
Yes, it is a big problem for me too ;-( Large parts of my graph are unusable because they rely on pdf annotations...
kerim commentedon Jul 10, 2025
I just tested this, creating the following graph with one PDF attachment and two annotations, and then trying to import it. The two annotations are marked as invalid blocks on import.
annotation test.zip
fix: some pdf annotations weren't imported
fix: some pdf annotations weren't imported
3 remaining items