Skip to content

Annotations export/import: merge (keep existing annotations) - #13751

Merged
hius07 merged 4 commits into
koreader:masterfrom
hius07:anno-import-merge
May 13, 2025
Merged

hius07 merged 4 commits into
koreader:masterfrom
hius07:anno-import-merge

Conversation

@hius07

@hius07 hius07 commented May 8, 2025 •

Copy link
Copy Markdown
Member

1


This change is Reviewable

@hius07

hius07 commented May 8, 2025

Copy link
Copy Markdown
Member Author

Bookmark list can be closed by one-finger-swipe-south and any one-finger-multiswipe.
Do we need two-finger-swipe-east?

on_close_ges = {
GestureRange:new{
ges = "two_finger_swipe",
range = Geom:new{
x = 0, y = 0,
w = Screen:getWidth(),
h = Screen:getHeight(),
},
direction = BD.flipDirectionIfMirroredUILayout("east")
}
},

@Frenzie

Frenzie commented May 8, 2025

Copy link
Copy Markdown
Member

The two-finger swipes predate one finger swipes in this context I believe. I never use them myself fwiw.

end,
},
{
text = _("Keep existing annotations on importing"),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preserve existing annotations on import

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with keep, but indeed during/on import or when importing.

{
text = _("Keep existing annotations on importing"),
checked_func = function()
return G_reader_settings:isTrue("annotations_export_keep_existing")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is new, but simply from reading it (and without context), i couldn't tell you what it is or does.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it normal that the text mentions "importing", while the setting "export" ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature now has 3 settings, to have them all together they start with annotations_export_ prefix.

@hius07
hius07 merged commit 082e818 into koreader:master May 13, 2025
@hius07
hius07 deleted the anno-import-merge branch May 13, 2025 15:09
@hius07 hius07 added this to the 2025.05 milestone May 13, 2025
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
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

Successfully merging this pull request may close these issues.

4 participants