feat: import && export graph datoms transit

This commit is contained in:
Tienson Qin
2024-12-29 15:05:23 +08:00
parent 23b97bd8ee
commit 665207dc0d
8 changed files with 157 additions and 117 deletions

View File

@@ -94,9 +94,9 @@
(t :export-zip)]])
(when db-based?
[:div
[:a.font-medium {:on-click #(export/export-repo-as-debug-json! current-repo)}
"Export debug JSON"]
[:p.text-sm.opacity-70 "Any sensitive data will be removed in the exported json file, you can send it to us for debugging."]])
[:a.font-medium {:on-click #(export/export-repo-as-debug-transit! current-repo)}
"Export debug transit file"]
[:p.text-sm.opacity-70 "Any sensitive data will be removed in the exported transit file, you can send it to us for debugging."]])
(when (util/electron?)
[:div