Commit Graph

1238 Commits

Author SHA1 Message Date
Gabriel Horner
a93fe4d81b Move recalculate-block-path-refs to outliner dep
Moved dependent query fns also into the outliner dep. Removed
get-block-children-ids from model as there was only one use of it after
the refactor. Also setup testing for outliner and moved in a test for it
2023-09-06 16:20:29 -04:00
Tienson Qin
128e03452f fix indent/outdent/move-up-down cursor when there's a link block
This commit also replaces setTimeout with rum/schedule
2023-09-07 01:29:43 +08:00
Tienson Qin
a23068fec7 fix: blocks rendering 2023-09-07 00:12:48 +08:00
Tienson Qin
481481fc47 perf: disable lazy load for short pages
Also, fixed slow blocks selection
2023-09-06 22:49:18 +08:00
Charlie
331afbc04f Enhance/plugins apis (#10127)
* enhance(api): add page to recent for route api

* enhance(api): support open block in right sidebar with entity id
2023-09-06 14:49:18 +00:00
Tienson Qin
26a673f201 fix: redirect to linked block if zoom in 2023-09-06 14:12:47 +08:00
Gabriel Horner
b264d17309 Move db-graph property fns to its own logseq.db ns
db-graph related fns like these shouldn't be in the graph-parser dep as
that dep should only really be used with file graphs as much as possible.
This is also being done in preparation for making the create-graph ns independent of
the frontend

Also db- prefixes in fns were dropped since the ns now carries the db-
prefix
2023-09-05 17:15:45 -04:00
Tienson Qin
54de53d4aa fix: scroll up if Enter pressed at the bottom 2023-09-04 15:12:07 +08:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
rcmerci
510df28e06 support page create/rename/delete in rtc 2023-08-30 22:10:55 +08:00
Charlie
10caacd830 fix(ux): make linked references filters reactive when the page properties changed (#9638)
* enhance(ux): reactive page properties for the linked references filters
2023-08-30 14:14:29 +08:00
Tienson Qin
8fba326da9 fix: cursor move when outdent on enter 2023-08-28 14:49:41 +08:00
Tienson Qin
19e7920448 fix: indent/outdent cursor move for embedded blocks 2023-08-28 13:33:36 +08:00
Tienson Qin
14d25f7225 fix: edit block for multiple instances of linked blocks 2023-08-27 10:11:46 +08:00
Tienson Qin
a306881645 fix: select all includes objects 2023-08-27 08:20:41 +08:00
Gabriel Horner
ccdc891f3f fix: query-properties is saved as ordered coll 2023-08-25 15:27:20 -04:00
Konstantinos Kaloutas
9c99c6d6db fix (pdf): copy keyboard shortcut 2023-08-24 16:50:23 -04:00
Tienson Qin
cdae6e2ff0 enhance: page/block embed using :block/link instead of {{embed }} 2023-08-24 21:06:42 +08:00
Tienson Qin
e733a104bf enhance: outdent the last child of an object move it to the current page 2023-08-24 17:49:13 +08:00
Tienson Qin
9fba34dd22 fix: move-blocks when multiple same embedded blocks 2023-08-23 20:01:07 +08:00
Gabriel Horner
6ad560e4cb fix: query table column selection
also fix lint in related ns
2023-08-22 16:27:04 -04:00
Tienson Qin
7edfa533d4 enhance: display tags instead of property in outliner 2023-08-22 23:46:03 +08:00
Tienson Qin
c8b88c9d8f Disable template on db version
Use structure tag instead
2023-08-22 20:50:08 +08:00
Tienson Qin
bcd3e79730 fix: linked blocks move up/down 2023-08-16 16:27:01 +08:00
Tienson Qin
732a589d91 fix: outliner ops for linked blocks 2023-08-16 02:00:21 +08:00
Tienson Qin
be85fcdd3e refactor: block-children use block-list too 2023-08-16 01:38:59 +08:00
Tienson Qin
cef72a1463 fix: no need to clean content for db graphs 2023-08-16 01:13:59 +08:00
Tienson Qin
517505cf53 Merge branch 'master' into feat/db 2023-08-16 00:41:47 +08:00
Andelf
6fee36d3e8 fix(editor): error notification when template insert error 2023-08-15 23:38:35 +08:00
Andelf
deba094724 fix(editor): template expansion if ac-ui is blurred
See-also: #8728
2023-08-15 23:38:35 +08:00
Tienson Qin
2181525bd8 feat: object type 2023-08-14 19:10:45 +08:00
Tienson Qin
ea56b0a9c0 enhance: backspace to delete a block value 2023-08-14 16:43:55 +08:00
rcmerci
ac15c6c75e remove adding opts to outliner-tx/transact! 2023-08-08 22:11:10 +08:00
Tienson Qin
de6669fce0 fix: multiple values 2023-08-08 15:48:57 +08:00
Tienson Qin
61a6232bd4 fix: avoid circle block ref 2023-08-07 21:12:21 +08:00
Tienson Qin
3a530496e3 fix: built-in property id changes after app reload 2023-08-07 20:32:38 +08:00
Tienson Qin
fe9c082e5e fix: remove hack $$property page 2023-08-07 18:35:05 +08:00
Tienson Qin
668a17c2af enhance: be able to collapse/expand properties 2023-08-07 17:31:34 +08:00
Tienson Qin
6ec79d48cb feat: property icon emoji picker 2023-08-07 15:03:03 +08:00
Ben Yorke
8bff0f2139 cmdk initial implementation 2023-08-02 23:07:05 +03:00
rcmerci
aff2620505 persist edit-operation 2023-08-02 22:54:05 +08:00
Tienson Qin
15cb78fbf7 fix: add pre-configured properties when creating a new db graph 2023-08-02 01:49:23 +08:00
Tienson Qin
2913af2d96 fix: order list 2023-08-01 20:14:49 +08:00
Tienson Qin
3cc7977d93 fix: heading 2023-08-01 19:16:44 +08:00
Tienson Qin
dbcd082f08 wip: handle built-in properties 2023-08-01 19:03:16 +08:00
Tienson Qin
3ec4c6bedd remove handler.editor.property 2023-08-01 13:59:06 +08:00
Tienson Qin
1671f540fb Move property-edit to file-based.property
Also, util.property -> file-based.property.util
2023-07-27 11:47:08 +08:00
Gabriel Horner
e9fecfa280 Fix property rules for advanced queries with db graphs
and provide a rules var just for db graphs.
Also simplify query-dsl db-graph support as query-dsl/parse-query
doesn't need to know about db graphs for how it's used
2023-07-25 13:53:18 -04:00
Gabriel Horner
5f91e6cf0f Merge branch 'master' into feat/db 2023-07-24 12:21:19 -04:00
Tienson Qin
261b5a6b28 No need to set block ids for db based graphs 2023-07-19 21:46:00 +08:00