Commit Graph

17000 Commits (9d62813fbc26e0b9faf10dc61d86c77521d1f4b4)

Author SHA1 Message Date
charlie d151ec755f enhance(ux): catch component errors 2024-08-06 14:17:29 +08:00
charlie 8fe21b2405 enhance(ui): refs link 2024-08-06 13:43:24 +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 e3883822c5 fix: block self reference 2024-08-06 12:05:29 +08:00
charlie b0ce9a0e83 fix(ui): font class 2024-08-06 10:56:47 +08:00
charlie 07ad321eed enhance(ux): quick modal pane for the appearance customize 2024-08-06 10:50:37 +08:00
Tienson Qin 5b22451ae5 fix: block/type filter limits to :is and :is-not operators 2024-08-06 07:42:23 +08:00
Tienson Qin 38533aef8b
Merge pull request #11458 from logseq/refactor/single-block-type
refactor: cardinality one for :block/type
2024-08-06 07:25:04 +08:00
Tienson Qin 9c60742519 Merge branch 'feat/db' into refactor/single-block-type 2024-08-06 07:24:29 +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 beb3472fec Disable lint rules for db :property and :page-property 2024-08-05 17:12:24 -04:00
Gabriel Horner e5c72f9393 fix: show db graph import for file graphs
db graph import also works in file graphs.
Most users will be in file graphs when using it so doesn't to make
sense to hide it for them
2024-08-05 16:31:24 -04:00
Gabriel Horner 512dd6b543 chore: update linters to use latest deps 2024-08-05 16:29:28 -04:00
Gabriel Horner 94b67d95f2 fix: db import from UI having some intermittent invalid blocks
Some imported blocks in UI have :block.temp/fully-loaded? but db on disk
doesn't.  Unsure what recent change caused this. Also improve console
import errors
2024-08-05 15:26:31 -04:00
Gabriel Horner e9d1ec1cef fix: db import of properties that conflict with new built-in property names
Fixes LOG-3039. This was noticed because new description built-in
conflicted with file graphs that had the same name. This fixes the issue
for :description but also any of the other new db built-in property
names
2024-08-05 15:13:10 -04:00
Tienson Qin 5d2cd70142 Support db migration for :block/type update 2024-08-05 21:23:16 +08:00
charlie 1f8788f5ad enhance(ux): unlink graphs 2024-08-05 19:47:35 +08:00
Tienson Qin 004806d63e fix: can't switch type back to :node when no value created yet 2024-08-05 19:16:45 +08:00
Tienson Qin f88ae50472 fix: edit state lost after zoom in and back 2024-08-05 19:10:46 +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 0a9320c234 Disable lint rules for db :property and :page-property 2024-08-05 17:06:47 +08:00
Tienson Qin 93320879dc fix: tests 2024-08-05 16:52:59 +08:00
charlie 6d693367d3 enhance(ui): shortcut label 2024-08-05 16:37:47 +08:00
charlie 12aa626d8b feat(ui): custom editor font 2024-08-05 16:30:17 +08:00
Tienson Qin bbfdf92511 fix: lint warning 2024-08-05 15:47:39 +08:00
Tienson Qin ccc9c99744 fix: outliner test 2024-08-05 15:46:01 +08:00
Tienson Qin 4d7e3d33c8 Merge branch 'feat/db' into refactor/single-block-type 2024-08-05 15:19:32 +08:00
Tienson Qin 69912f3dce fix: lint 2024-08-05 15:19:04 +08:00
Tienson Qin 4507684a37 Merge branch 'feat/db' into refactor/single-block-type 2024-08-05 15:12:17 +08:00
Tienson Qin 8f4bd7d713
refactor: updates :checkbox type to store Boolean values instead of ref values (#11451)
* refactor: don't store :checkbox as ref type

* fix: :property dsl query

* fix: task rule uses :property-ref-type

* enhance: dynamic query in :property rule depends on db/valueType

* enhance: use identity to avoid multiple vals binding error

* fix: replace outdated :page type with :node type

* fix: query-dsl tests

* fix: more outdated :page type

* fix: db test

* fix: db rules tests

* fix: move [?p ?prop ?pv] to the front

* fix: outliner tests

* fix: graph-parser tests

* Migrate checkbox ref type to non-ref type
2024-08-05 15:10:12 +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
charlie 14f4085ff7 fix(ui): empty graphs for the global repos dropdown 2024-08-05 10:36:22 +08:00
charlie 2683ecbdcd enhance(ui): polish details for the page title elements 2024-08-05 10:26:19 +08:00
charlie adda2b6bf2 fix(plugin): unnecessary re-render for the page header slots 2024-08-05 10:25:42 +08:00
charlie cd12e4e0dd fix(api): properties for the selected blocks 2024-08-05 10:02:56 +08:00
Tienson Qin 8e41e1d22c fix: block type filter 2024-08-04 13:17:22 +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 cb7b15402b fix: shouldn't hide markers/priorities for db graphs
Fixes LOG-3090
2024-08-03 15:21:41 +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 8653f0616b fix: schema graph generation with description property 2024-08-03 00:27:21 -04: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 8155d06d22 fix: properties on a property page don't load correctly
Fixes LOG-3202
2024-08-03 07:09:16 +08:00
Tienson Qin ea0a26e744 Merge branch 'feat/db' into refactor/boolean-not-ref-type 2024-08-03 04:48:54 +08:00
Tienson Qin 5869681598 Migrate checkbox ref type to non-ref type 2024-08-03 04:45:02 +08:00
Tienson Qin b2f1f79b3d fix: graph-parser tests 2024-08-03 04:11:38 +08:00
Gabriel Horner f9a0ae0353 enhance(dev): no more renamed schema.org classes
class uniqueness was based on the old assumption of :block/name being
unique. This is no longer required for db graphs and case sensitive classes
and properties are now supported
2024-08-02 15:05:39 -04:00
Tienson Qin 09ad9d6d97 fix: outliner tests 2024-08-03 00:51:08 +08:00