Commit Graph

2083 Commits

Author SHA1 Message Date
Gabriel Horner
28e637e855 chore: merge 2 new property fns together
refactor possible since page-name-sanity-lc in common-util
2024-01-29 09:55:34 -05:00
Tienson Qin
b5b85dd44d fix: lazy load whiteboards 2024-01-29 18:54:52 +08:00
Tienson Qin
eba0fe9545 Lazy load block container 2024-01-29 15:25:42 +08:00
Tienson Qin
752f88de19 Async get block and children 2024-01-29 14:48:41 +08:00
Tienson Qin
3addb5905b perf: load partial data when loading a graph
Instead of all the datoms
2024-01-29 13:17:37 +08:00
Tienson Qin
d9ff061436 fix: don't remove orphaned refs if content hasn't been changed 2024-01-26 22:14:55 +08:00
charlie
4cfd97de3d Merge branch 'master' into enhance/refacotr-ui-x-menu 2024-01-25 12:34:15 +08:00
Tienson Qin
1536d9aff5 fix: regression of unwanted tag pages are created as you type
Fixes LOG-2820
2024-01-25 06:47:36 +08:00
Gabriel Horner
9f4ffbe750 fix lint by refactoring large var 2024-01-24 15:52:24 -05:00
Gabriel Horner
22ed198c29 enhance: add icons to task status
also adds support for properties in initial-data to reference each other
via uuid
2024-01-24 15:39:46 -05:00
Gabriel Horner
24ea74e73a fix: upstream tests and lints failing again 2024-01-24 10:25:35 -05:00
Gabriel Horner
b55fe07768 Merge branch 'master' into feat/db 2024-01-24 09:08:41 -05:00
Gabriel Horner
dc5127b48a enhance: publishing --dev also watches frontend
also provide a dedicated backend command for simpler
rebuilding of backend
2024-01-24 08:53:48 -05:00
Gabriel Horner
3cd7b2d762 enhance: add a --dev mode to publishing that pairs with shadow's watch 2024-01-24 08:53:48 -05:00
Gabriel Horner
ce2341506d fix: publishing not loading correctly
Caused by pulling in the new component system. Fixes #10893
2024-01-24 08:53:48 -05:00
Tienson Qin
d1af653273 chore: ldb/transact! should takes repo instead of conn for UI 2024-01-24 17:35:09 +08:00
Tienson Qin
a64f49dc6f Remove :block/marker and :block/priority from tx-data 2024-01-24 16:38:09 +08:00
Gabriel Horner
77bc1d5d6b chore: update better-sqlite3 and mldoc in deps to match app 2024-01-23 11:36:32 -05:00
Gabriel Horner
0768809a86 fix: lints and disable intermittent failing test
- Reverted config/db-based-graph? check in a db only namespace
- Removed unused ns as it appears we just used another fn instead.
- /cc @RCmerci on failing test
2024-01-23 10:48:14 -05:00
Gabriel Horner
689cf34cc3 fix: lints and a test
nbb test was failing b/c outliner had graph-parser as a dependency
but we hadn't manually added the npm dependency
2024-01-23 09:38:16 -05:00
Gabriel Horner
cc1b8445a8 fix: published graphs that don't have any public pages
This was failing hard but now it shows a blank graph
like before. Fix LOG-3017
2024-01-23 09:18:23 -05:00
Tienson Qin
575624c650 chore: revert inline tags 2024-01-23 21:45:54 +08:00
Gabriel Horner
7831476c70 enhance: add a --dev mode to publishing that pairs with shadow's watch 2024-01-22 14:35:36 -05:00
Gabriel Horner
73cbcc5a1c fix: publishing not building again
caused by new ui script changes
2024-01-22 12:05:01 -05:00
Gabriel Horner
c9ba357a90 fix multiple lints 2024-01-22 09:17:38 -05:00
Tienson Qin
8204c93977 fix: outliner dep test 2024-01-22 12:21:42 +08:00
Tienson Qin
b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
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
Tienson Qin
036f1b5ab7 feat: /todo/other-status and /urgent/other-priority to set property 2024-01-19 02:36:23 +08:00
Tienson Qin
8a846f6f81 feat: add task class and default properties status and priority 2024-01-18 23:16:08 +08:00
Gabriel Horner
f573b8e821 fix: file graph import not persisting to disk 2024-01-17 12:57:16 -05:00
Gabriel Horner
0168ef0082 fix: 2 bugs with file import
These were silently failing and causing a number of pages to
not import
2024-01-16 17:01:23 -05:00
Gabriel Horner
095894b255 Revert most of "fix: new db graph couldn't be created"
Last commit removed built-in pages and was noticed on imports.
Previous bug of new db graphs leading to a blank screen no longer
occurred after I printed transact! transactions
2024-01-16 16:05:02 -05:00
Gabriel Horner
d232a8e08c fix: new db graph couldn't be created
Caused by duplicate transacting of default-pages. Also
removed reference to deleted ns
2024-01-16 11:37:25 -05:00
Tienson Qin
cea105cc34 fix: wrong ns import 2024-01-16 16:01:18 +08:00
Tienson Qin
a619850998 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-16 15:42:18 +08:00
Gabriel Horner
34222b3436 chore: bump nbb-logseq that points to upstream nbb 2024-01-15 18:07:49 -05:00
Gabriel Horner
2305d09cc8 chore: DRY up duplicated vars and needless/confusing aliases 2024-01-15 16:51:27 -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
charlie
38eeb8cc8a enhance(ui): polish the shortcut label 2024-01-15 11:21:03 +08:00
Tienson Qin
774a159451 fix: history e2e tests 2024-01-14 16:55:07 +08:00
Tienson Qin
b55e4e7380 fix: db requests could be dropped if some requests not finished yet 2024-01-14 12:55:55 +08:00
Gabriel Horner
951e7cc841 fix: ns-docstring and large-var deps lints
Also fixed db-and-file-graphs-separate lint and moved gp-property tests
that should be moved since their source code has moved from frontend
to gp-property
2024-01-12 17:03:09 -05:00
Gabriel Horner
66f57104ab fix: fail-invalid? option on in-app db validation
alert can't be called in a worker
2024-01-12 15:12:18 -05:00
Gabriel Horner
690764aa52 fix: unused time dep and duplicated time-ms fns
cljs-time shouldn't be added to nbb.edn since it's already included in
nbb-logseq (since parts of it aren't nbb compatible). duplicated
time-ms fns can now be removed since they are available to all deps
from common dep
2024-01-12 10:41:22 -05:00
Gabriel Horner
98dd1c2b5c fix: published graphs failing on class pages
Bring back get-namespace-pages impl that doesn't add :block/file
to db graphs. :block/file isn't used in db graphs.
Also got kondo lint back to green
2024-01-11 16:40:13 -05:00
Tienson Qin
d5e62ae21f fix: ensure linear sequential transactions for the db worker 2024-01-12 04:14:22 +08:00
Gabriel Horner
cdddce0120 fix deps db test and most lints
Also deleted duplicated gp-util.{page-ref,block-ref} files that were moved to common
and moved a related test to common dep
2024-01-11 14:35:04 -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
Tienson Qin
6173879ca0 fix: test 2024-01-12 00:41:03 +08:00