Skip to content

Commit

Permalink
Get back HTML, CSV, TXT export formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Oct 30, 2024
1 parent cb1d2da commit 659f886
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "5.6.59",
"version": "5.6.60",
"description": "All-in-one bookmark manager",
"author": "Rustem Mussabekov",
"license": "MIT",
Expand Down
20 changes: 15 additions & 5 deletions src/co/bookmarks/export/popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,24 @@ export default function BookmarksExportPopover({ spaceId = 0, pin, onClose }) {
Download uploaded files
</MenuItem>
</>) : (<>
<MenuSection>
The ZIP file will contain your bookmarks,<br/>
tags, highlights, and any uploaded files.
</MenuSection>
<MenuItem href={`${prefix}/export.html${suffix}`} download>
HTML
</MenuItem>

<MenuItem href={`${prefix}/export.html${suffix}`} download>
CSV
</MenuItem>

<MenuItem href={`${prefix}/export.html${suffix}`} download>
TXT
</MenuItem>
<MenuItem href={`${prefix}/export.zip${suffix}`} download>
Download {selectMode.ids.length ? 'selection' : 'collection'}
ZIP
</MenuItem>

<MenuSection>
Prefer ZIP if you need to<br/>download your uploaded files.
</MenuSection>
</>)}
</Menu>
</Popover>
Expand Down

0 comments on commit 659f886

Please sign in to comment.