Tienson Qin
dbd6f7d780
fix: disable renaming for built-in pages
2024-08-30 08:22:22 +08:00
Gabriel Horner
9d2c3ff5e2
fix: outliner lint - part of LOG-3197
2024-08-29 17:53:43 -04:00
Gabriel Horner
fb2eeefbfe
enhance: add duplicate detection for pages without tags
...
Also added tests for duplicates and improved error ux.
Fixes LOG-3197
2024-08-29 17:25:46 -04:00
Gabriel Horner
2fc8c0a843
fix: outliner query should be fast - part of LOG-3197
2024-08-29 10:13:58 -04:00
Gabriel Horner
c8316a2600
fix: validity of new graphs
...
When new property namespaces are introduced, should update the
var that validates them
2024-08-29 08:40:34 -04:00
Tienson Qin
2293d11a2b
chore: rename :logseq.property/title-format to
...
:logseq.property.journal/title-format
2024-08-29 14:29:22 +08:00
Tienson Qin
2aa4ac4de0
fix: lint
2024-08-29 14:12:32 +08:00
Gabriel Horner
84a20a23fe
fix: validate uniqueness for pages and object
...
by name and tag. More todo. Part of LOG-3197 and part of LOG-3209
2024-08-29 14:00:05 +08:00
Gabriel Horner
632ed42275
fix: create and edit choices with a :many property
2024-08-29 14:00:05 +08:00
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
8ccf7aa506
fix: remove :block/pre-block? for db graphs
2024-08-29 13:25:06 +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
Gabriel Horner
7a96fc0e32
fix: show blank page error to user instead of silent failure
...
also fix outdated lint
2024-08-27 17:11:36 -04:00
Tienson Qin
4859ecd7ea
fix: page title shouldn't be blank
2024-08-27 23:22:27 +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
charlie
3d582c9cda
enhance(ux): support do not remind me for the shui confirm dialog
2024-08-26 16:34:53 +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
3d1ed4ca54
fix: :default property value objects shouldn't reference
...
their parent block. For logseq/db-test#36
2024-08-22 17:23:37 -04: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
charlie
ac2417a9fb
enhance(ux): WIP dropdown property editor
2024-08-20 12:49:02 +08: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
Gabriel Horner
658ea25a21
fix: two db importer bugs introduced last week
...
- Graphs with description page failed to import
- Graphs that had a page with a built-in class name mangled the block
types. Reverted fix for logseq/db-test#17
- Also updated test for datom count as some parser changes were made
last week to alter it
2024-08-19 12:45:12 -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
Tienson Qin
7778e0fa7e
fix: unable to create page if tag exists
...
fixes https://github.com/logseq/db-test/issues/6
2024-08-16 17:32:57 +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
8ce71bd413
fix: can't create a new date property
...
Fixes https://github.com/logseq/db-test/issues/17
2024-08-16 10:18:26 +08:00
rcmerci
138900ccad
fix(shui): limit value's type before compare when sorting
2024-08-16 02:31:39 +08:00
Tienson Qin
5c63b9fe7c
fix: safe check block title when saving inline tags
2024-08-15 21:11:32 +08:00