mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
enhance: add descriptions for DB export options to clarify their purpose
This commit is contained in:
@@ -102,17 +102,19 @@
|
||||
(when db-based?
|
||||
[:div
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-sqlite-db! current-repo)}
|
||||
(t :export-sqlite-db)]])
|
||||
(t :export-sqlite-db)]
|
||||
[:p.text-sm.opacity-70.mb-0 "Primary way to backup graph's content to a single .sqlite file."]])
|
||||
(when db-based?
|
||||
[:div
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-zip! current-repo)}
|
||||
(t :export-zip)]])
|
||||
(t :export-zip)]
|
||||
[:p.text-sm.opacity-70.mb-0 "Primary way to backup graph's content and assets to a .zip file."]])
|
||||
|
||||
(when (and db-based? (not (util/mobile?)))
|
||||
[:div
|
||||
[:a.font-medium {:on-click #(db-export-handler/export-repo-as-db-edn! current-repo)}
|
||||
(t :export-db-edn)]])
|
||||
|
||||
(t :export-db-edn)]
|
||||
[:p.text-sm.opacity-70.mb-0 "Exports to a readable and editable .edn file. Don't rely on this as a primary backup."]])
|
||||
(when-not (mobile-util/native-platform?)
|
||||
[:div
|
||||
[:a.font-medium {:on-click #(export-text/export-repo-as-markdown! current-repo)}
|
||||
@@ -135,7 +137,7 @@
|
||||
[:div
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-debug-transit! current-repo)}
|
||||
"Export debug transit file"]
|
||||
[:p.text-sm.opacity-70.mb-0 "Any sensitive data will be removed in the exported transit file, you can send it to us for debugging."]])
|
||||
[:p.text-sm.opacity-70.mb-0 "Exports to a .transit file to send to us for debugging. Any sensitive data will be removed in the exported file."]])
|
||||
|
||||
(when (and db-based? util/web-platform?
|
||||
(not (util/mobile?)))
|
||||
|
||||
Reference in New Issue
Block a user