Commit Graph

100 Commits

Author SHA1 Message Date
Gabriel Horner
a80a182a8f fix: update publishing setup since there are 2 more assets
Also add compilation flag for code splitting bug
2024-01-19 15:27:02 -05:00
Gabriel Horner
34222b3436 chore: bump nbb-logseq that points to upstream nbb 2024-01-15 18:07:49 -05:00
Gabriel Horner
ca020fcdb3 fix: loading all new deps namespaces in nbb
- bb test:load-all-namespaces-with-nbb now passes for all deps
- Updated nbb-logseq to support cljs.core/Atom
- Adjusted datascript.impl.entity with previous datascript.db require
  so that correct loading occurs in nbb
- fixed missing deps in logseq.outliner
- Converted a minor cljs.spec to malli since malli is nbb compatible
- Changed exists? to some? since they are functionally equivalent for
  the given arg and some? is nbb compatible
2024-01-15 12:43:16 -05:00
Gabriel Horner
a81e18e9a6 fix: update nbb-logseq and make entity-plus nbb compatible
deps can now load in nbb and all nbb tests pass except for db
2024-01-11 13:10:06 -05:00
Gabriel Horner
4fd0b65639 bump nbb-logseq to use datascript with dirty flag fix 2024-01-02 17:07:11 -05:00
Tienson Qin
822001aace Merge branch 'feat/db' into refactor/worker-search 2023-12-22 21:33:53 +08:00
Gabriel Horner
d4f438f228 bump nbb-logseq for latest datascript 2023-12-21 13:00:44 -05:00
Tienson Qin
0e11226d01 fix: remove old transit file when unlink repo
Also, rename demo repo from "local" to "Logseq demo"
2023-12-21 23:41:45 +08:00
Gabriel Horner
52f7afa18f bump nbb-logseq to latest datascript with another storage delete fix
part of LOG-2974
2023-12-19 13:42:13 -05:00
Gabriel Horner
de3d82baba bump to latest nbb-logseq with datascript.storage delete fix 2023-12-18 11:10:59 -05:00
Gabriel Horner
0f4cdbbadf bump outdated nbb-logseq and fix lint 2023-12-11 15:55:38 -05:00
Gabriel Horner
e0901b9d04 bump nbb-logseq to first version
that works for forked datascript. Deps tests pass locally
without needing to rely on local builds
2023-12-11 13:52:15 -05:00
Gabriel Horner
548fa98605 enhance: allow CLI and github action to set color accent 2023-11-28 22:32:34 +08:00
Gabriel Horner
5e547a1663 fix: open db graph urls
Also introduced var for logseq_db_ in deps
2023-11-27 10:55:22 -05:00
Gabriel Horner
d43fb23ef0 enhance: allow CLI and github action to set color accent 2023-11-15 16:37:03 -05:00
Gabriel Horner
edaf9b286a chore: move frontend db namespaces to a dedicated parent ns
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Gabriel Horner
358987d7b3 Fix icon property and update property related fixmes 2023-09-21 16:34:06 -04:00
Gabriel Horner
71060a847e fix publishing lint 2023-09-20 10:45:12 -04:00
Gabriel Horner
6cf19c60f8 fix: exclude-from-graph-view and public properties
Hide them as no need to see them by default but still need to be
accessible to modify. public's queries hadn't been updated to work with db graph yet
2023-09-20 09:26:37 -04:00
Gabriel Horner
3e9c536818 fix: publishing lints that have been broken for awhile
just removing unused code
2023-09-08 12:11:10 -04:00
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
Konstantinos Kaloutas
fb63c32a56 Revert "defer loading html2canvas"
This reverts commit 16e0c3713f.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
b7710e570c Revert "defer loading code-editor"
This reverts commit 4f067f4003.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
20c54c82e3 defer loading code-editor 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
1e30a2030f defer loading html2canvas 2023-07-10 00:54:54 +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