Gabriel Horner
5397ca4d87
chore: remove unused vars in property.type
...
We used to use these vars when :block/schema contained cardinality and
classes
2024-08-29 14:00:05 +08:00
Gabriel Horner
41907e6063
fix(regression): checkbox can't have :many cardinality
...
Also fixed property type enabled in publishing and fixed lint
2024-08-29 14:00:05 +08:00
Tienson Qin
133d586831
chore: migration
2024-08-29 13:58:54 +08:00
Tienson Qin
d3f394761a
fix: change journal title format
2024-08-29 01:55:52 +08:00
Tienson Qin
0643c862d9
wip: journal custom title
2024-08-28 16:50:48 +08:00
Tienson Qin
4dff1a42c1
fix: update :block/name for pages when using outliner-core/save-block
2024-08-27 23:22:27 +08:00
Tienson Qin
8e8e97c7a6
enhance: unify page/block editor
2024-08-27 23:22:27 +08:00
Gabriel Horner
d2b4b15106
fix: all CLI scripts failing basic operations
...
Update sqlite.cli fns to match changes from #11483 in db-worker
2024-08-26 12:21:40 -04:00
Gabriel Horner
de6c6aedd2
chore: bump nbb-logseq for datascript bump in #11483
2024-08-26 11:22:40 -04:00
Tienson Qin
7a977dbba3
enhance: mod+p to set icon and able to set block's icon
...
A block can use its tags' icon if it doesn't has its own icon.
2024-08-26 18:46:00 +08:00
Tienson Qin
0ffca2b6f6
Merge branch 'feat/db' into fix/ensure-db-safety
2024-08-26 12:31:55 +08:00
Gabriel Horner
f2b38b5963
fix: stop shadowing vars in deps and turn on related lint
...
Follow up to last commit. Added some exceptions for cljs.core
to minimize change for now
2024-08-23 16:58:08 -04:00
Tienson Qin
652de8d544
fix: removing a node-reference to a page deletes the page
...
fixes https://github.com/logseq/db-test/issues/35
2024-08-23 16:12:58 +08:00
Tienson Qin
f11932e0c5
fix: putting the text "#Task" in a block breaks creating new tasks
...
fixes https://github.com/logseq/db-test/issues/24
2024-08-23 14:37:46 +08:00
Gabriel Horner
9291e8b3b0
enhance: users can navigate to public built-in nodes like task ones
...
We spent a good amount of effort making tasks customizable. It should
be easy for users to navigate to Task or status page to customize them
2024-08-23 01:05:31 +08:00
Tienson Qin
0ddde1f024
fix: migrate kvs table
2024-08-22 22:36:48 +08:00
Gabriel Horner
e8ab1cea49
enhance: users can navigate to public built-in nodes like task ones
...
We spent a good amount of effort making tasks customizable. It should
be easy for users to navigate to Task or status page to customize them
2024-08-22 10:33:34 -04:00
Tienson Qin
a7d330af83
fix: add sqlite kvs table migration
2024-08-22 22:03:54 +08:00
Tienson Qin
fa493f72dc
chore: bump datascript
2024-08-22 21:39:54 +08:00
Tienson Qin
674dbfb890
fix: don't delete rows from kvs if they're still used by other rows
2024-08-22 21:28:44 +08:00
Gabriel Horner
fbcaeb5e20
fix: example edn uses outdated property type
2024-08-20 17:10:28 -04:00
Gabriel Horner
85e358e57b
fix: not able to create case sensitive classes
...
Also important to keep db graphs decoupled from file specific
:block/name. Made sure that related fix in logseq/db-test#9 still works
2024-08-20 17:08:14 -04:00
Gabriel Horner
3a4cc55cda
fix: graph-parser test and lint
...
Removed test as no error handling is needed for ident generation. Also
removed all related downstream uses of catch for
db-ident/create-db-ident-from-name that are no longer needed
2024-08-19 15:40:28 -04:00
Gabriel Horner
eff0d5e7d4
refactor: db ident generation with tests
...
Add tests for recent db ident fixes. Add check that backup keyword is valid
edn. Also generate correct keyword for cases like logseq/db-test#4 as
catch should be relied only for unexpected cases
2024-08-19 15:17:20 -04:00
Tienson Qin
562c83eab2
fix: cut and Paste does not copy the contents of properties
...
fixes https://github.com/logseq/db-test/issues/20
2024-08-19 11:02:45 +08:00
Tienson Qin
f28ab33bda
fix: block property lost cursor when there're multiple instances
...
fixes https://github.com/logseq/db-test/issues/5
2024-08-17 10:34:47 +08:00
Tienson Qin
c59fac647f
fix: distinct initial datoms
2024-08-16 18:10:06 +08:00
rcmerci
dacbf11a03
fix: assert will be skipped in release, use throw instead
2024-08-16 17:30:26 +08:00
Tienson Qin
b465ec7d33
fix: db ident can't start with number
2024-08-16 16:30:33 +08:00
Tienson Qin
3aae90b7fb
fix: can't create tag from existing page
2024-08-16 10:57:12 +08:00
Tienson Qin
5c63b9fe7c
fix: safe check block title when saving inline tags
2024-08-15 21:11:32 +08:00
Tienson Qin
e3dd075a55
enhance: Tag support inline display
2024-08-15 19:02:49 +08:00
Tienson Qin
f39e62678e
fix: convert page to tag does not work with special chars
...
fixes https://github.com/logseq/db-test/issues/4
2024-08-13 22:47:23 +08:00
Tienson Qin
046e81bb31
fix: property sort column
2024-08-13 18:19:43 +08:00
Tienson Qin
6c403fe506
fix: sort nodes by closed value properties and task deadline
2024-08-11 10:07:57 +08:00
Tienson Qin
b9f9fa0ca6
wip: Demo switch to use db graph
2024-08-10 13:42:37 +08:00
Tienson Qin
4b9875cde0
fix: don't mark a page as loaded if it doesn't ask for children
2024-08-09 17:20:17 +08:00
rcmerci
c7c17e3dd2
fix: able to delete properties not built-in for the specific class
2024-08-09 17:12:16 +08:00
Tienson Qin
b62715ebd8
enhance: replace inline tags with node references
2024-08-09 10:50:17 +08:00
Gabriel Horner
4a69e75e88
fix: import doesn't fail if it has a page with new class name
...
fixes LOG-3039
2024-08-08 15:16:21 -04:00
Gabriel Horner
b90137199d
fix typos
2024-08-08 09:24:02 -04:00
Gabriel Horner
c660096937
fix: common test failing due to code organization
...
datascript based utils should be in db dep. common is for dependency free
namespaces
2024-08-08 09:24:02 -04:00
rcmerci
d132f41cab
enhance: validate :block/type change
2024-08-08 17:11:44 +08:00
Tienson Qin
a6004f416d
fix: ensure all pages list pages only
2024-08-08 16:07:18 +08:00
Tienson Qin
9b8a8e7da5
enhance: implement ISeqable and IPrintwithwriter for EntityPlus
2024-08-08 13:43:18 +08:00
Tienson Qin
75463c4df4
fix: don't depend frontend.(db|state) in worker ns
2024-08-08 10:34:03 +08:00
Gabriel Horner
f74e5fbad7
fix: remove unused built-in property
...
Stop being used in #11311
2024-08-06 15:56:50 -04:00
Gabriel Horner
4b4fa45ae2
fix: db import broken by type changes in #11458 and other import bugs
...
New data model of allowing a single :block/type failed a lot of import tx
because properties and class types could be overwritten by a single page ref.
Also this fixes page-properties-tx which wasn't just transacting the
page properties. Also fixes importing pages like 'Tags' which were
incorrectly getting associated to built-in properties with the same name
2024-08-06 15:35:21 -04:00
Tienson Qin
c1c6197b9b
fix: pages of different types can use the same name
2024-08-06 13:08:35 +08:00
Tienson Qin
9c60742519
Merge branch 'feat/db' into refactor/single-block-type
2024-08-06 07:24:29 +08:00