Tienson Qin
2a7e6accb0
refactor: force outliner.tree/-del to delete all children
...
Except the children have been moved.
2024-04-17 17:48:59 +08:00
rcmerci
ffb4bd5a8f
chore: update comment
2024-04-17 17:36:00 +08:00
rcmerci
6bce34524a
fix: check dep-cycle in sort-coll-by-dependency
2024-04-17 17:31:54 +08:00
charlie
dff255fd42
enhance(ux): WIP refactor the editor command modals with the shui components
2024-04-17 16:03:09 +08:00
Tienson Qin
1240052117
fix: undo redo
...
outliner.core/delete-blocks will filter top-level blocks first to
avoid deleting parent first and then children.
2024-04-17 14:54:31 +08:00
Gabriel Horner
37974a8e80
fix: built-in? not working
...
Also fix :entity type incorrectly allowing things to be edited as
:default when it's an internal property type. No longer need this as
:default can be used for closed :entity values
2024-04-16 14:57:43 -04:00
Gabriel Horner
0aa4bda66c
fix: inlined db-based-graph? calls in db-property
...
Addressed fixmes for db-based-graph fns that were inlined to prevent
circular dependencies b/n db-property and sqlite-util. Moved multi
graph fns to db-property-util and existing db-property-util to
db-property-build to address this
2024-04-16 14:43:28 -04:00
Tienson Qin
bacba9db6e
fix: delete property pair entities when deleting a property page
2024-04-17 01:56:34 +08:00
Gabriel Horner
6f5b744189
fix: use user-property type :default for public built-in properties
...
Fixes a property configuration issues since configuration works with
user-property types. Also remove :entity from UI as it is an internal
property type and we can now use :default type
2024-04-16 12:29:24 -04:00
Gabriel Horner
0853940a34
fix: closed :default values validate correctly
...
and values can be selected from UI. Also tweak query to expand
properties if available
2024-04-16 11:59:04 -04:00
Tienson Qin
2195c4b63a
fix: convert to ref type when updating a property to closed values
2024-04-16 23:24:53 +08:00
Tienson Qin
8554e15be7
fix: closed values for default type
2024-04-16 21:04:19 +08:00
rcmerci
842efe5958
test(undo): add random outliner-ops testcase
2024-04-16 18:58:40 +08:00
rcmerci
cf4e43e126
fix: remove wrong cond when delete-blocks
2024-04-16 18:58:40 +08:00
Tienson Qin
202576a862
fix: load property pairs for structured blocks
2024-04-16 16:30:03 +08:00
Tienson Qin
daafe5f4e0
fix: default type values
2024-04-16 15:56:43 +08:00
Gabriel Horner
1e1a17aaf4
fix: validation of single value for a :many property
...
Single value of a :many property wasn't being rolled up as a set,
in CLI or in app validation
2024-04-15 17:17:24 -04:00
Tienson Qin
09f65cf842
fix: lazy load properoty value blocks
2024-04-16 00:49:29 +08:00
Gabriel Horner
236a28764b
fix: new property values invalid because of placeholder
...
Also use cardinality in validation instead of previous hacky value-based
detection. Also disable closed-values generation so new graphs can
temporarily be valid
2024-04-15 12:22:21 -04:00
Gabriel Horner
8ec360759a
enhance(dev): humanize option for validation script
...
also fix nil entity query results
2024-04-15 09:36:09 -04:00
Tienson Qin
4828cfa17d
fix: handle situations when block values have been retracted
2024-04-15 21:05:11 +08:00
Tienson Qin
fb93a35fbc
fix: store text values as entities
2024-04-15 20:39:36 +08:00
Tienson Qin
e19879a12a
fix: cleanup property related data
2024-04-15 17:00:46 +08:00
Tienson Qin
3e0849cb16
fix: set more properties as hidden properties
2024-04-15 13:01:46 +08:00
Tienson Qin
81da3a9960
enhance: move tags and icon to properties area too
2024-04-15 12:52:53 +08:00
Tienson Qin
dd0de0b45f
fix: closed value icon
2024-04-15 12:11:45 +08:00
Tienson Qin
356f45b8e5
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-15 11:38:34 +08:00
charlie
1e6a7f9010
fix(ui): close all for the shui popups
2024-04-14 11:18:11 +08:00
Tienson Qin
ebe67390fa
perf: no need to get all the property pairs when asking for only one
2024-04-14 08:33:53 +08:00
Tienson Qin
e03b5a2322
fix: property pairs lazy load
2024-04-14 08:19:59 +08:00
Tienson Qin
47abd92155
fix: load property pairs too when lazy load a block
2024-04-14 08:13:10 +08:00
Tienson Qin
16a39c8e7b
fix: tags not displayed for blocks
2024-04-14 07:56:56 +08:00
rcmerci
836cedfd7f
fix(undo): sort&merge undo-ops
...
because maybe some ops depend-on others, e.g. insert parent first then
its children.
2024-04-13 19:53:38 +08:00
Gabriel Horner
8ac39b3cbb
fix: adding new properties for some property actions
...
Also removed duplicate helper fn
2024-04-12 21:53:04 -04:00
Gabriel Horner
b99af712b2
fix: validating user :many properties
...
User properties with :many cardinality were overriding each other
instead of aggregating
2024-04-12 17:33:56 -04:00
Gabriel Horner
8cbc0ac32a
fix: validate property values
2024-04-12 15:27:26 -04:00
Gabriel Horner
7003903edd
fix: new graph creates hidden pages all with same name '$$$'
2024-04-12 12:50:09 -04:00
Gabriel Horner
4771a97d09
fix: page-property rules to use latest schema
2024-04-12 12:29:47 -04:00
Gabriel Horner
4f3b7e7687
fix: ref checks in schema
...
attribute in the wrong schema and db graph only vars had file graph
keys. Also temp fix to avoid crashing ui with props
2024-04-12 12:15:59 -04:00
Gabriel Horner
b2a22498ea
fix: closed validation with new properties
...
Also fix group error reporting incorrectly and improve it by adding
:db/id
2024-04-12 11:32:03 -04:00
Gabriel Horner
354c0c1e42
fix: built-in? helper and most deps tests
...
Also fix validate script's count
2024-04-12 10:04:43 -04:00
Gabriel Horner
97367c3d4f
fix: add timestamps to built-in property pair
...
Also cleanup build-initial-properties and remove unused ns
2024-04-11 18:23:52 -04:00
Gabriel Horner
cbcff4bae8
fix: schema graph creation for previous properties schema
...
Also add db/id to query script and fix outdated case insensitive
constraint on property db idents
2024-04-11 17:46:49 -04:00
Gabriel Horner
e07fd51c83
fix: new db graph creates properties correctly
...
Also fix basic validation
2024-04-11 17:42:51 -04:00
Tienson Qin
1a9608bda1
fix: property handler with the new properties pair storage
2024-04-12 01:17:37 +08:00
Tienson Qin
89b40b4ad8
Extends entity for new :block/properties and direct property access
2024-04-12 00:05:20 +08:00
Tienson Qin
81e5d5f68f
fix: remove frontend.config usage from graph parser dep
2024-04-11 23:02:50 +08:00
Tienson Qin
00967481ad
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-11 20:32:12 +08:00
Tienson Qin
419eac1b16
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-11 19:56:34 +08:00
Tienson Qin
da96052908
fix: safe check db before get-pid
2024-04-11 17:18:25 +08:00
Tienson Qin
e979e8158c
fix: add db schema for :editor/tx-batch-mode?
2024-04-11 16:45:20 +08:00
Gabriel Horner
527dae34dc
fix: class properties schema
2024-04-10 14:03:39 -04:00
Tienson Qin
7007fa7d41
fix: status and priority should be :entity type
2024-04-10 21:07:20 +08:00
Tienson Qin
8d128f420c
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-10 16:14:47 +08:00
Gabriel Horner
4f8d76c79f
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-09 16:29:46 -04:00
Gabriel Horner
a42e5f659a
fix: new graphs don't create unused hidden pages for
...
date and page closed properties. Observed with properties graph
2024-04-09 14:53:47 -04:00
Gabriel Horner
c29d4a3a70
chore: property type vars should be in property.type
...
also remove unused :block and :uuid types
2024-04-09 14:07:46 -04:00
Gabriel Horner
fcecbcfa76
fix: switching page closed values
2024-04-09 09:49:59 -04:00
charlie
f77a6b42d9
chore(dev): chilly keys warning
2024-04-09 18:41:14 +08:00
Gabriel Horner
a608139975
fix: new db graph doesn't silently clobber db/ident's
...
if they conflict
2024-04-08 16:54:22 -04:00
Gabriel Horner
6a2b6d2913
fix: adding class properties can result
...
in clobbered db idents. Also rename fn to make its
purpose explicit
2024-04-08 16:32:27 -04:00
Gabriel Horner
ea1cc87d77
fix: properties silently clobbered each other if
...
they had the same unique db-ident. Ensure a unique db-ident with
automatic db-ident suffixes. Also add tests for this and add more
sanitization to property db idents
2024-04-08 15:06:39 -04:00
Tienson Qin
9f9bfbc5e6
Merge branch 'feat/db' into refactor/db-remove-block-name-unique
2024-04-08 23:56:46 +08:00
Tienson Qin
6df866a2d1
fix: handle more whiteboard properties
2024-04-08 22:56:14 +08:00
Tienson Qin
2940e86d74
fix: save whiteboard
2024-04-08 22:54:56 +08:00
charlie
618f3bd107
Merge branch 'master' into feat/db
2024-04-08 19:00:51 +08:00
Tienson Qin
cd38e0b9f9
fix: calculate :block/path-refs when adding new graph or re-index
2024-04-08 17:24:51 +08:00
charlie
57af873bf4
enhance(ux): support more align position for the shui dialog
2024-04-08 11:40:36 +08:00
Tienson Qin
210be5aaca
fix: creating redundant pages when editing a block
2024-04-08 01:25:48 +08:00
Tienson Qin
ede9e5df5d
fix: page names in refs not updated after renamed
2024-04-07 22:25:56 +08:00
Tienson Qin
a324d845b2
fix: don't parse refs from quoted string
2024-04-07 21:35:14 +08:00
Tienson Qin
b5f0f58efc
fix: missing refs for property text values when creating a page
2024-04-07 21:35:14 +08:00
Tienson Qin
dab2a6e563
fix: disable namespace for db based graphs
2024-04-07 17:29:21 +08:00
Tienson Qin
0b49d09fb1
fix: db schema validate
2024-04-07 17:26:58 +08:00
Tienson Qin
c815fa9823
fix: schema error for :class/schema.properties
2024-04-07 16:31:00 +08:00
Tienson Qin
75d35f9202
enhance: display exact invalid entity map for schema invalidations
2024-04-07 16:12:53 +08:00
Tienson Qin
f52993ec6d
fix: tests and lint warnings
2024-04-07 14:27:05 +08:00
Tienson Qin
6eb6e60b55
Bring back namespaces/page merge/nested pages
2024-04-07 13:48:55 +08:00
Tienson Qin
b9195e40e5
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-06 07:59:06 +08:00
Gabriel Horner
009e5b6d62
enhance: consistently create sanitized property ident
...
for new properties. Also made build-new-property easier to
use by making property name optional
2024-04-05 16:55:40 -04:00
Gabriel Horner
3793cf6d81
fix: 2 fns that don't work in nbb b/c of :block/properties
2024-04-05 15:16:26 -04:00
Gabriel Horner
514b5b5d56
fix: numbered list in db graphs
2024-04-05 15:00:17 -04:00
Gabriel Horner
e7bd84850d
chore: clean up repeated uses of db attribute properties
2024-04-05 14:04:33 -04:00
Gabriel Horner
38849bf706
chore: cleanup different definitions of property
...
Also fixed some outdated docstrings
2024-04-05 13:27:39 -04:00
Gabriel Horner
6045969179
fix: db tests and rename empty-placeholder to
...
be consistent with other ident namespaces
2024-04-05 09:36:05 -04:00
Tienson Qin
0bc8d1c3b1
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-05 15:16:13 +08:00
Tienson Qin
ac31842cec
Revert "Remove :block/macros"
...
This reverts commit 21d550de12
.
2024-04-05 15:12:56 +08:00
Tienson Qin
ea98a1623e
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-05 09:56:39 +08:00
Tienson Qin
04b00322a3
fix: add class property
2024-04-05 09:47:23 +08:00
Gabriel Horner
14a3e5287b
enhance: ident validation
...
block properties and class idents now have specific validation.
Also cleaned up overlapping ident definitions and updated incorrect
docstrings
2024-04-04 21:39:10 -04:00
Gabriel Horner
608d627544
fix: add back properties validation
...
and fix closed validation. Also temporarily comment out properties graph parts
that are still invalid
2024-04-04 21:09:28 -04:00
Tienson Qin
b096b4673c
fix: use :entity type instead of :uuid for ref type values
2024-04-04 16:58:24 -04:00
Gabriel Horner
7c1f52d2a4
chore: add format to build-new-page
...
every use of it was adding it manually
2024-04-04 09:25:20 -04:00
Gabriel Horner
3e504f5ab9
dev: add more tests for page-property rule
2024-04-04 09:22:39 -04:00
Tienson Qin
eea1858040
fix: can't add alias
2024-04-04 18:16:23 +08:00
Tienson Qin
035fbb46c9
fix: use :entity type instead of :uuid for ref type values
2024-04-04 18:07:26 +08:00
Tienson Qin
8054150eef
fix: unit tests
2024-04-04 15:57:49 +08:00
Tienson Qin
bf539751a8
disable rtc merge tests for now
2024-04-04 15:57:49 +08:00
Tienson Qin
6167abe160
fix: extract page from whiteboard edn
2024-04-04 15:57:49 +08:00
Tienson Qin
1b32378884
more places to use db eid instead of page name
2024-04-04 15:57:49 +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
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
9df8918f94
Remove more :block/name lookup ref usage
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
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
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
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
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
Gabriel Horner
745fcdb7a3
enhance: import tasks
...
Part of LOG-3030
2024-04-01 10:48:25 -04:00
Tienson Qin
1987c455e7
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-01 15:47:43 +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
76464cdbe5
fix: closed value test
2024-04-01 14:02:13 +08:00
Tienson Qin
8d6916cfd7
wip: fix property-related tests
2024-04-01 12:24:41 +08:00
Tienson Qin
fd36e0cebd
fix: malli schema for property
2024-04-01 11:07:33 +08:00
Gabriel Horner
1d014c1326
fix graph-parser lint
2024-03-29 17:09:30 -04:00
Tienson Qin
441dda79c8
fix: typo
2024-03-30 05:02:01 +08:00
Tienson Qin
a2da60623f
fix: heading
2024-03-30 04:36:24 +08:00
Gabriel Horner
de89e65129
chore: remove unused fns and move file graph fn
2024-03-29 16:32:23 -04:00
Gabriel Horner
f728b7b9f6
fix: multiple bugs with built-in pages, fixes LOG-3046
...
- file graph wasn't creating built in pages
- 3 places where db graphs were incorrectly using file graph built in
page names
- file graphs creating default pages with incorrect format
2024-03-29 16:21:19 -04:00
Tienson Qin
30053d372b
fix: can't edit block type property value after it's deleted
2024-03-30 04:20:42 +08:00
Gabriel Horner
e08e52acd3
enhance: db graph importer supports optional parent class property
2024-03-29 10:37:09 -04:00
Tienson Qin
81b09cdfc8
feat: dynamic db attributes
2024-03-29 20:33:18 +08:00
Tienson Qin
9d5008d0a4
bump datascript
2024-03-29 17:48:08 +08:00
charlie
833384a361
enhance(ux): diagnosis for the shui popup trigger response is not immediate enough
2024-03-29 16:40:30 +08:00
Tienson Qin
fe922ba035
fix: rename logseq.property/status to logseq.task/status
2024-03-29 16:22:45 +08:00
Tienson Qin
958507262e
Merge branch 'feat/db' into refactor/db-properties-schema
2024-03-29 15:51:28 +08:00
Tienson Qin
f7d418c376
fix: class schema
2024-03-29 14:14:36 +08:00
Tienson Qin
2c26581815
fix: add schema spec for :class/schema.properties
2024-03-29 14:03:41 +08:00
Tienson Qin
872bc00216
fix: db ident
2024-03-29 13:04:50 +08:00
Tienson Qin
5660d420fb
fix: class properties order
2024-03-29 11:27:58 +08:00
Tienson Qin
cda9ac3e26
fix: display class properties
2024-03-29 10:02:29 +08:00
Tienson Qin
9115ca72ad
fix: wrong arguments
2024-03-29 09:18:06 +08:00
Tienson Qin
da42189deb
fix: property ref value
2024-03-29 09:02:51 +08:00
Gabriel Horner
2e580df0da
chore: rename exporter built-in property
...
use dashes like other built-ins
2024-03-28 14:41:37 -04:00
Gabriel Horner
ad35e83958
enhance: properties can also be block only
...
configure built-in properties that are block only.
Fixes LOG-2874
2024-03-28 13:44:29 -04:00
Gabriel Horner
3e5e7f9f7e
enhance: built-in properties can be page only
...
This allows properties like alias and public to not
show up nonsensically in block contexts. In the case
of alias it fixed a bug where it couldn't be removed from a block
context. Also fixed :public property losing its :public?
Part of LOG-2874
2024-03-28 11:20:32 -04:00
Gabriel Horner
e0c6cc1514
fix: deprecate :macros property for db graphs
...
It's not used much and would require building a new UI since
we don't have one yet for a :map type property
2024-03-28 09:13:39 -04:00
Tienson Qin
41e2944720
Replace more property name usage with db/ident
2024-03-28 20:41:12 +08:00
Tienson Qin
8d31f94b24
Remove :block/uuid and :block/name for properties
2024-03-28 17:37:28 +08:00
charlie
1364e25714
enhance(ui): polish the shui dialog details
2024-03-28 14:32:56 +08:00
Gabriel Horner
9c5309da47
enhance: frontend consistently uses :db/ident
...
for fetching built-in properties instead of :block/name
2024-03-27 20:36:48 -04:00
Gabriel Horner
eecb510ccb
enhance: built-in properties are indexed by :db/ident
...
built-in-properties are identified by their :db/ident instead
of :block/name. This removes reliance on :block/name and allows
us to consistently use namespaces when identifying built-in properties
:visible was renamed to :public? and is now included in :block/schema to
allow for querying. Also added a couple more new graph tests and tweaked
CI for db dep
2024-03-27 15:03:18 -04:00
charlie
6f98985aa9
enhance(ui): add shui close button for the property editor
2024-03-27 10:18:38 +08:00
Gabriel Horner
78371c1ccd
fix: schema for properties and classes can have namespaces
2024-03-26 14:33:35 -04:00
Gabriel Horner
832e88b91d
fix: CLI db graphs setting wrong schema
...
Names of db graphs do not have db-prefix from CLI. Rely on
file graph prefix which does have indicator from CLI
2024-03-26 12:21:45 -04:00
Gabriel Horner
c5f72221ea
fix: update schema and script to use new attribute
2024-03-26 12:20:41 -04:00
Tienson Qin
76ebf19364
feat: class children area
2024-03-26 10:16:40 -04:00
Tienson Qin
55d7ef95dc
fix: :class/parent instead of block/namespace
2024-03-26 10:16:40 -04:00
Tienson Qin
ce8c13065c
wip: properties refactor
2024-03-26 14:18:33 +08:00
Gabriel Horner
eb621e191d
chore: remove attribute that hasn't been used
...
almost 3 years. Removed it because otherwise we should make it
valid for a db graph
2024-03-25 17:21:10 -04:00
Gabriel Horner
51828ee8fe
fix: invalid ident ns when creating new graph
2024-03-25 17:13:32 -04:00
Gabriel Horner
9b8540921e
enhance: more property helper fns uses db-ident
...
instead of name
2024-03-25 16:34:51 -04:00
Gabriel Horner
dd1b0ea5f0
enhance: validate :db/ident namespaces
...
also add test for a new graph to be valid under malli-schema
2024-03-25 08:56:55 -04:00
Tienson Qin
33f418b297
wip: properties refactor
2024-03-25 18:56:36 +08:00
Tienson Qin
98d2b92ab1
fix: schema && built-in properties
2024-03-25 10:59:09 +08:00
Tienson Qin
16a927ad00
Bump datascript
...
Which enables transacting schema like other tx-data.
2024-03-25 09:45:19 +08:00
Tienson Qin
eaf9fc0d33
fix: use :schema keyword to get datascript db's schema
2024-03-24 17:47:59 +08:00
Tienson Qin
ab5022066a
fix: use persisted db schema instead of the current one in code
2024-03-24 15:20:34 +08:00
Gabriel Horner
390c626897
fix: replace db-content fn with more specific one
2024-03-22 16:45:43 -04:00
Gabriel Horner
70b43ec71f
fix: invalid schema with new rtc graph
2024-03-22 13:46:50 -04:00
Gabriel Horner
1198123513
fix: closed values for date property no longer available
...
Detected by failing db-graph-test CI job. Confirmed
that issue from 3b57fa626c
hasn't regressed
2024-03-22 12:36:14 -04:00
Gabriel Horner
429b257ee9
fix: query table rows should show page ref names
...
instead of special ids. Also tweaked page delete message to
remove needless contraction
2024-03-21 17:05:36 -04:00
Gabriel Horner
e3b67a9d9a
fix lints
2024-03-21 12:35:28 -04:00
charlie
53125d6315
enhance(plugin): support custom routes from the plugin sdk
2024-03-21 19:07:16 +08:00
Tienson Qin
1cad8aa9bd
enhance: batch refresh UI after applying remote blocks change
...
Fixes LOG-3114
2024-03-21 17:38:36 +08:00
Tienson Qin
eae35d60e4
fix: rebuild block refs & path-refs after downloading a remote graph
...
Fixes LOG-3115
2024-03-21 16:45:00 +08:00
Tienson Qin
c079f00daf
fix: page/block refs lost after syncing from the server
2024-03-21 15:43:17 +08:00
Tienson Qin
3b57fa626c
fix: can't add date if the property support multiple values
2024-03-20 17:24:20 +08:00
charlie
08ff5fa76f
chore: polish rtc debug ui
2024-03-19 21:01:31 +08:00
Tienson Qin
35dbce3b68
enhance: humanize malli errors
2024-03-19 20:45:37 +08:00
charlie
f307333037
enhance(ui): WIP refactor the classic modal with the shui dialog
2024-03-19 17:47:18 +08:00
charlie
fcb720511d
enhance(ui): refactor the classic modal with the shui dialog
2024-03-19 16:41:11 +08:00
charlie
e801118466
enhance(ui): refactor the classic modal with the shui dialog
2024-03-19 15:41:48 +08:00
charlie
f6513e0169
enhance(ui): add rtc collabrators online list
2024-03-19 14:30:29 +08:00
Tienson Qin
627d936626
fix: use existing db/id for :graph/uuid
2024-03-19 14:26:00 +08:00
Gabriel Horner
4ba9fea065
enhance: all default db idents are namespaced under logseq
...
Having consistent namespacing of core idents increases the
number of features they can be used for later
2024-03-18 22:57:24 -04:00
Gabriel Horner
f63095316b
enhance: all built-in closed values have same db/ident naming convention
...
Follow convention started by :task/status. Added tests to enforce this
convention as well as other db/ident conventions
2024-03-18 22:57:23 -04:00
charlie
7e1868ba90
enhance(ui): refactor the plugin related modal with the shui dialog
2024-03-19 10:51:43 +08:00
Gabriel Horner
07ff534675
fix: schema for pages and collapsed properties
...
collapsing a :default page property sets block/collapsed-properties
2024-03-18 12:03:00 -04:00
Tienson Qin
08281eb21c
chore: remove wrong comment
2024-03-18 18:08:42 +08:00
Tienson Qin
0bbbbe38c8
Add comment for invalid entity map
2024-03-18 17:44:09 +08:00
charlie
c3b401ca64
enhance(ui): refactor the global context menu with the shui popup
2024-03-18 14:51:12 +08:00
charlie
dc106a5a99
enhance(ui): add shui avatar component
2024-03-18 14:51:12 +08:00
charlie
a61f9b8a4d
enhance(ui): add trigger as to shui
2024-03-18 11:40:47 +08:00
Tienson Qin
c4e6db9afb
fix: don't start rtc for local db graphs
...
Also, stop rtc when switching into a local graph.
2024-03-17 13:47:19 +08:00
Tienson Qin
cd1c71291b
fix: conflict datoms from sqlite db and tail
...
Fixes LOG-3087.
Addressed by fc3645fa4a
.
2024-03-17 12:05:44 +08:00
Gabriel Horner
67a7a0a3e9
enhance: Add default namespace of :logseq.property
...
for db/ident of built-in-properties. Namespacing block identities will
be important for future features. Adding namespacing also fixed some
hidden coupling between identity and name. Also converted a couple more
related :block/name queries to use :db/ident to slowly get us closer to
named blocks
2024-03-15 18:37:15 -04:00
Gabriel Horner
148f2f7b16
fix: built-in class property check works
...
if property or class name changes
2024-03-15 13:07:45 -04:00