Commit Graph

15144 Commits (ed72c7d00a12e84efc30f01e8ca6b3e5ac51f4dc)

Author SHA1 Message Date
Tienson Qin ed72c7d00a fix: whiteboard page properties 2024-04-04 15:57:49 +08:00
Tienson Qin a78c20eeed fix: whiteboard links 2024-04-04 15:57:48 +08:00
Tienson Qin c018f1517d perfer to use get-page instead of get-first-page-by-name 2024-04-04 15:57:48 +08:00
Tienson Qin 5f08e17a85 fix: more redirects use uuid instead of page name 2024-04-04 15:57:48 +08:00
Tienson Qin 2c29cbd495 fix: favorites 2024-04-04 15:57:48 +08:00
Tienson Qin 86f540bb6b fix: page url for whiteboards in recents 2024-04-04 15:57:48 +08:00
Tienson Qin 1f32893547 fix most issues on whiteboards 2024-04-04 15:57:48 +08:00
Tienson Qin 4a63f78aa8 fix: zoom into block 2024-04-04 15:57:48 +08:00
Tienson Qin 27a29a3fbe fix: lint warnings 2024-04-04 15:57:48 +08:00
Tienson Qin 9df8918f94 Remove more :block/name lookup ref usage 2024-04-04 15:57:48 +08:00
Tienson Qin 50e3ef5157 Handle more block/name lookup refs 2024-04-04 15:57:48 +08:00
Tienson Qin 96c9605b82 Recents store page db ids instead of uuids or page names 2024-04-04 15:57:48 +08:00
Tienson Qin 60d4fca0ba wip: remove :block/name uniqueness for db based graphs
This PR also remove supports for:
1. merge pages when renaming a page to existing page
2. namespaces such as a/b/c
3. nested page such as [[a [[nested page]]]]

Pages merge might be added back depends on RTC, but it should be
decoupled from renaming, otherwise it's too complex.

Namespaces and nested pages have been contributed some critical bugs
that lead data-loss, they're so complex together with page alias,
it's just impossible to have a good test coverage and ensure the app
is stable, especially when page rename and RTC.
2024-04-04 15:57:48 +08:00
Gabriel Horner c448e9a0d0 enhance: convert has-page-property rule with tests
also started on page-property rule. Tests confirm that
binding won't be an issue unlike the previous version
of these rules
2024-04-03 17:20:44 -04:00
Gabriel Horner 30d218169e fix: regression on editable property values in publishing 2024-04-03 13:58:27 -04:00
Gabriel Horner fbe84d3db6 fix: regression on allowing user to delete built-in pages 2024-04-03 13:55:30 -04:00
Gabriel Horner 438763d530 fix: unable to add a class property 2024-04-03 13:36:33 -04:00
Gabriel Horner 97f617bdd6 fix: unable to enter logseq.table* properties
also fix using renamed properties since their db-idents
aren't currently updated on rename
2024-04-03 10:20:28 -04:00
Gabriel Horner a8a2afbf4a chore: allow query script to fetch by entity 2024-04-03 09:00:38 -04:00
Tienson Qin 7084b53dad Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-03 20:29:11 +08:00
rcmerci a7c8451ce4 refactor(undo): update ns frontend.worker.undo-redo (wip) 2024-04-03 17:59:13 +08:00
rcmerci 6339d76db0 refactor: use defmethod to collect all db-listen-handlers 2024-04-03 12:04:19 +08:00
Gabriel Horner 661cdc8636 fix: built-in properties with :name have incorrect names
Properties like logseq.table.version weren't available to add.
Also added conflict detection on properties graph which is how I
indirectly found this bug
2024-04-02 15:57:33 -04:00
Gabriel Horner 8a38390ff2 fix: bring back configuring property from page
This is the only way to configure a closed value property
without being forced to add one to a block
2024-04-02 14:22:04 -04:00
Gabriel Horner 3d49585078 fix: create properties graph and validate graph script 2024-04-02 13:58:52 -04:00
Tienson Qin 298555d36c Still treat properties as pages 2024-04-02 23:11:52 +08:00
Gabriel Horner 12c667fabb Update nbb-logseq to latest datascript 2024-04-02 09:36:28 -04:00
rcmerci bbe15990a3 refactor(undo): generate undo-op from db tx-data 2024-04-02 18:38:15 +08:00
charlie 6ade79ba3c Merge branch 'master' into feat/db 2024-04-02 17:06:26 +08:00
KaMeHb-UA 87dbf5ca21 add build support for linux arm64 2024-04-02 15:56:31 +08:00
KaMeHb-UA 5366cd5435 update dugite to 2.5.1 2024-04-02 15:56:31 +08:00
charlie 369b5ece15 fix(editor): incorrect behavior of the delete key for deleting the last char 2024-04-02 13:28:50 +08:00
Tienson Qin 13a5f91cd4 fix: use property db/ident instead of name 2024-04-02 11:59:57 +08:00
Gabriel Horner c4fc3a193e fix: new graph should be valid
closed values were invalid. Also fixed a couple db tests
2024-04-01 16:40:01 -04:00
Gabriel Horner 93846fe62f enhance: add import support for priority, scheduled and deadline
fixes LOG-3030
2024-04-01 12:31:39 -04:00
Tienson Qin 0c8639994d fix: db malli schema 2024-04-01 23:35:49 +08:00
Tienson Qin f2b6df255a fix: tags select 2024-04-01 22:49:22 +08:00
Gabriel Horner 745fcdb7a3 enhance: import tasks
Part of LOG-3030
2024-04-01 10:48:25 -04:00
Tienson Qin 419104abf3 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-01 22:42:31 +08:00
charlie f6f4cfa1b9 enhance(ux): incorrect tab focus for the right sidebar resizer separator 2024-04-01 17:01:25 +08:00
charlie 0b9409f035 enhance(ux): auto focus for the editing date property value 2024-04-01 16:49:10 +08:00
Tienson Qin 1987c455e7 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-01 15:47:43 +08:00
Tienson Qin be24a26f1c fix: lint warnings 2024-04-01 15:39:02 +08:00
Tienson Qin 54989b47b8 fix: tags 2024-04-01 15:22:20 +08:00
Tienson Qin d48e45eaa7 enhance: property db ident doesn't allow # 2024-04-01 14:53:25 +08:00
Tienson Qin 02643a1561 fix: tests 2024-04-01 14:25:39 +08:00
Tienson Qin 21d550de12 Remove :block/macros 2024-04-01 14:22:15 +08:00
Tienson Qin 74a368555f fix: db-based model tests 2024-04-01 14:04:52 +08:00
Tienson Qin 76464cdbe5 fix: closed value test 2024-04-01 14:02:13 +08:00
Tienson Qin 1ea6b6fff3 fix: property tests 2024-04-01 13:54:04 +08:00