Commit Graph

26 Commits (22ac81a9d5f579fec61ba0487a4bfcb38312072f)

Author SHA1 Message Date
Gabriel Horner bcc37eb298 Update publishing to optionally work with db graphs
Also updated commandline script
2023-08-15 16:35:03 -04:00
Tienson Qin 15cb78fbf7 fix: add pre-configured properties when creating a new db graph 2023-08-02 01:49:23 +08:00
Gabriel Horner 791bd90d88 Fix frontend code breaking a deps library again
Please run `yarn test` in a dep to ensure it still works /cc
@tiensonqin. See 84b80e8b76 for previous
examples
2023-08-01 11:18:10 -04:00
Tienson Qin db5e0a6571 handle pdf annotation properties 2023-08-01 21:23:00 +08:00
Gabriel Horner 4e99e21642 Fix commandline publishing not working e.g. bb dev:publishing
Also fix db dep having a circular dependency. frontend.* namespaces depend on deps/ dependencies
so we can't have frontend namespaces in deps/
2023-06-23 16:52:54 -04:00
Tienson Qin fd6b587235 Merge branch 'master' into feat/db 2023-06-21 14:09:16 +08:00
rcmerci 8a1c54173b [wip] property edit 2023-06-20 18:08:40 +08:00
Gabriel Horner 3f1d32dd6c Update clj-kondo and bb-tasks for deps projects 2023-06-13 14:48:50 +08:00
Gabriel Horner 480429ad23 Fix alias not included in published subgraph
Fixes #4143
2023-06-07 13:47:29 +08:00
Gabriel Horner 5ce75225c7 custom.js should load last in publishing app 2023-05-23 15:57:34 +08:00
Candide U bb203394b8 Add test for custom.js to export_test.cljs
Fixed missing thing
2023-05-23 15:57:34 +08:00
Candide U 2f091b4977 Add test for custom.js to export_test.cljs 2023-05-23 15:57:34 +08:00
Candide U 2feddfe800 Export custom.js 2023-05-23 15:57:34 +08:00
Candide U 4b1114d9e6 Add custom.js script to html 2023-05-23 15:57:34 +08:00
Gabriel Horner 450fb9dae5 custom.js should load last in publishing app 2023-05-22 10:45:01 -04:00
Candide U 3b08b9a7e5 Add test for custom.js to export_test.cljs
Fixed missing thing
2023-05-22 10:45:01 -04:00
Candide U fd8bb11c37 Add test for custom.js to export_test.cljs 2023-05-22 10:45:01 -04:00
Candide U a2cf976161 Export custom.js 2023-05-22 10:45:01 -04:00
Candide U c8312bc6df Add custom.js script to html 2023-05-22 10:45:01 -04:00
Gabriel Horner 47508ac2ac Add :hidden config support to graph-parser.cli
Also fix lints and tests from previous commits
2023-05-18 23:25:15 +08:00
Gabriel Horner a53ebf1750 Fix parse-graph namespace bugs
parse-graph didn't have all the extract-options that the app does.
Adding them fixed the bugs.
Also fix publishing bug where old :all-pages-public? option wasn't
respected
2023-04-14 09:35:55 -04:00
Konstantinos 95149e13f6
Feat: Export to image (#9037)
* feat: export to image

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* fix: loading position

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* Fix any html2canvas related functionality failing in publishing

* fix: portal header gradient on export

* chore: add comment about html2canvas-ignore attr

* fix: use export padding constant

* fix: export collapsed portals with size >  medium

* fix: reset export type

* enhance: export filename

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-12 17:39:22 +08:00
Gabriel Horner 7dc9c41899 Fix nbb.edn paths with latest nbb-logseq
Also upgrade nbb-logseq in other deps
2023-04-12 11:02:43 +08:00
Gabriel Horner ba840399ff Export should error with exit 1 when an error occurs
Also provide skip env var for when not wanting latest publishing
2023-04-09 23:13:33 +08:00
Gabriel Horner 12c0ae38e5 Fix tests and lints
- Fix publishing tests missing dev dep and workaround nbb.edn bug
- Fix regex which fails in cljs tests
- Fix typo
- Fix missing dep in job
2023-04-09 23:13:33 +08:00
Gabriel Horner fef07fe812 Add docs and workflow for dep
Also rename dep to publishing for consistency with existing names
2023-04-09 23:13:33 +08:00