Commit Graph

18312 Commits

Author SHA1 Message Date
Gabriel Horner
66439dde68 fix: db import of markdown tables and multiline blocks
Fixes LOG-3072 and fixes LOG-3070
2024-08-07 12:33:13 -04:00
Gabriel Horner
337ae484f7 fix: dev mode should still be able to nav to built-ins
devs work on all parts of a graph and should be able to easily nav
where they need to. Also remove unused built-in? option
2024-08-07 12:26:30 -04:00
rcmerci
8faef71727 chore: clean code 2024-08-07 21:48:36 +08:00
rcmerci
ccba2ef34c fix(export): replace page-ref-id with its block/title 2024-08-07 18:47:24 +08:00
charlie
b1e53f49a8 fix(ui): repos dropdown 2024-08-07 14:45:32 +08:00
Konstantinos Kaloutas
6c05ca3f65 fix copying non-png images 2024-08-06 16:37:41 -04: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
f811ab242c fix: test count changed by #11458 2024-08-06 15:53:07 -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
85dcd53c0e fix: node name should have the same rendering for page && block 2024-08-06 15:43:44 +08:00
Tienson Qin
72552d6224 fix: avoid :block/refs self cycle 2024-08-06 15:21:13 +08:00
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