Commit Graph

316 Commits (7a96fc0e32d14abc318b7841eea0cd4c065bee9b)

Author SHA1 Message Date
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
Gabriel Horner de6c6aedd2 chore: bump nbb-logseq for datascript bump in #11483 2024-08-26 11:22:40 -04: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
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
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
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 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 2b36f67836 fix: enable property value blocks to be moved 2024-08-13 17:32:00 +08:00
Tienson Qin bcf2fb9977 fix: class properties 2024-08-12 11:11:40 +08:00
Gabriel Horner b90137199d fix typos 2024-08-08 09:24:02 -04:00
Tienson Qin b4a887c026 fix: can't paste headings
fixes https://github.com/logseq/db-test-cn/issues/7
2024-08-08 20:28:11 +08:00
Tienson Qin a6004f416d fix: ensure all pages list pages only 2024-08-08 16:07:18 +08:00
Tienson Qin 72552d6224 fix: avoid :block/refs self cycle 2024-08-06 15:21:13 +08:00
Tienson Qin c1c6197b9b fix: pages of different types can use the same name 2024-08-06 13:08:35 +08:00
Tienson Qin f46372b346 chore: keep using class instead of tag for internal usage 2024-08-06 07:15:41 +08:00
Tienson Qin 825b6d0678 fix: allow closed values to be deleted when they've been refed 2024-08-05 19:04:18 +08:00
Tienson Qin 411b05e7ba Prefer to use ldb/{type}? check when possible 2024-08-05 17:51:24 +08:00
Tienson Qin ccc9c99744 fix: outliner test 2024-08-05 15:46:01 +08:00
Tienson Qin 4083a2d0a0 enhance: prefer tag instead of class on UI
Some users are confused with Classes/Objects, so on UI it'll be
Tags/Nodes.
2024-08-05 15:06:54 +08:00
Tienson Qin 8bef1d7742 Merge branch 'refactor/boolean-not-ref-type' into refactor/single-block-type 2024-08-03 15:37:17 +08:00
Tienson Qin 4cb9cb63a6 Merge branch 'feat/db' into refactor/single-block-type 2024-08-03 15:34:40 +08:00
Tienson Qin 390b44985c chore: bump mldoc to 1.5.9 2024-08-03 15:19:51 +08:00
Tienson Qin a85fcdb842 Merge branch 'feat/db' into refactor/boolean-not-ref-type 2024-08-03 15:10:53 +08:00
Gabriel Horner eb63add1f0 enhance: provide a built-in description property
that is used by properties and closed values and can easily be used by
other blocks. Also removes :block/schema for closed values and schema
:description for properties which helps get away from data modeling debt
of :block/schema
2024-08-03 00:13:13 -04:00
Tienson Qin 09ad9d6d97 fix: outliner tests 2024-08-03 00:51:08 +08:00
Gabriel Horner 2e13c9758b enhance: add a table for property pages
that display all nodes for the current property.
Property pages now behave like classes and display a table instead of blocks.
Also update linter to include objects ns
2024-07-31 15:25:03 -04:00
Tienson Qin d26e620a82 refactor: update :block/type to cardinality one instead of many 2024-07-31 19:35:26 +08:00
Gabriel Horner 3767f1d3c7 chore: rename task class ident
Only class ident name that wasn't capitalized and didn't match its
title. Considered renaming :logseq.task but unsure if it even makes
sense for their names to match since they aren't sharing a common ns.
:logseq.task may be better off under :logseq.property.*
2024-07-30 17:09:27 -04:00
Gabriel Horner 37cbdf7f47 fix: outliner test broken by #11433
Also fix lint
2024-07-30 11:53:51 -04:00
Tienson Qin dac75b7794 chore: remove debug 2024-07-30 12:55:22 +08:00
Tienson Qin b3a786db02 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-29 13:36:00 +08:00
Gabriel Horner d3f9defb6d chore: bump nbb to latest datascript 2024-07-26 21:27:10 -04:00
Gabriel Horner 15b66b1cfb fix: public built-in properties not being linked to blocks
properties like status should be visibly linked to their tasks
2024-07-26 14:28:56 -04:00
Tienson Qin 50eb74927b chore: bump datascript 2024-07-25 22:28:21 +08:00
Tienson Qin cada6e2d9b fix: delete tagged block 2024-07-22 21:14:59 +08:00
Tienson Qin d847023dc1 Refactor: rename :block/content to :block/title 2024-07-10 22:33:44 +08:00
Tienson Qin a1f352773b refactor: rename :block/original-name to :block/title 2024-07-10 21:43:03 +08:00
Tienson Qin dc456c0c72 fix: get children classes' objects too for a parent class 2024-07-05 22:08:26 +08:00
Tienson Qin 31305e1904 Merge branch 'feat/db' into feat/tables 2024-07-04 14:48:55 +08:00
Tienson Qin d078974ee2 fix: loop recur of get-class-parents 2024-07-03 18:05:21 +08:00
Gabriel Horner ba9d8d7920 Bump nbb with latest datascript
Test fixes are reasonable as datascript catches more invalid uses of
query
2024-07-02 20:17:02 +08:00
Tienson Qin 6c653094dd wip: class objects table 2024-06-29 00:50:30 +08:00
Gabriel Horner e24b386079 Bump nbb with latest datascript
Test fixes are reasonable as datascript catches more invalid uses of
query
2024-06-27 18:07:44 -04:00
Tienson Qin b6bdc4b1d5 chore: update datascript version 2024-06-27 00:35:37 +08:00
Tienson Qin 039804d87a chore: bump upstream datascript 2024-06-27 00:26:31 +08:00