Commit Graph

16002 Commits (2456deb09765ceda50b5851a176635aca0e7129b)

Author SHA1 Message Date
Gabriel Horner ec6d2f934e fix: completion of inline classes for new :page/object properties
Also fixes a bug where setting tags, set a "" tag
2024-05-27 14:18:54 -04:00
Gabriel Horner 5933a5c7cb fix: new tags from dropdown are classes 2024-05-27 11:13:00 -04:00
Tienson Qin 8de8377d4b fix: disable shortcut property when property dialog is opened 2024-05-27 23:03:24 +08:00
Tienson Qin 21e480ec3e fix: can't delete :checkbox property 2024-05-27 22:56:49 +08:00
Gabriel Horner 9ed138ec13 fix: add/edit :default :many closed values 2024-05-27 10:24:38 -04:00
Tienson Qin 8b1302b28e chore: remove unused property state 2024-05-27 21:46:39 +08:00
Gabriel Horner bc3298a436 fix: frontend lints 2024-05-27 09:36:16 -04:00
Gabriel Horner 0f3ff53c81 Merge branch 'master' into feat/db 2024-05-27 09:19:45 -04:00
Tienson Qin c9461dd745 fix: components not registered for property value 2024-05-27 21:18:01 +08:00
Tienson Qin d432bb1f71 enhance: back to edit mode after setting a property
Except if the editing property is :default type
2024-05-27 21:10:00 +08:00
Tienson Qin e821820c2e enhance: align property dialog start instead of center 2024-05-27 20:44:38 +08:00
Tienson Qin 89cc97a150 fix: disable property shortcut in jump mode 2024-05-27 20:39:04 +08:00
Tienson Qin e94d4fdb0e fix: property value 2024-05-27 20:35:11 +08:00
Tienson Qin a232e11107 fix: ignore input when use properties with shortcuts 2024-05-27 20:20:38 +08:00
Tienson Qin 6ced3bff8f enhance: property editing support shortcut 2024-05-27 20:08:43 +08:00
Tienson Qin 7f010697a0 fix: *property-key should be reactive 2024-05-27 19:46:12 +08:00
Tienson Qin 77263e10d0 fix: add empty value back for now 2024-05-27 19:33:29 +08:00
Tienson Qin 342ad01e62 fix: mod+p works for current page/block 2024-05-27 19:26:34 +08:00
Tienson Qin e6002d43c9 enhance: mod+p to add/edit property 2024-05-27 19:13:42 +08:00
Tienson Qin 0c80177642 fix: cycle todos 2024-05-27 13:22:02 +08:00
Tienson Qin c326730ce5 fix: retract icon property when settign a closed value's icon to nil 2024-05-27 12:30:45 +08:00
charlie b4a2a36566 fix(ui): alignments for the block properties value 2024-05-27 10:37:39 +08:00
rcmerci 7057179965 fix(rtc): update tx-data order when download-graph 2024-05-25 12:22:48 +08:00
Gabriel Horner 77f14ca1f6 fix: don't delete property values while typing
property values were deleted while typing b/c
content ref re-calculation wasn't considering them.
Related to LOG-2819
2024-05-24 18:14:14 -04:00
Gabriel Horner 11ba3e8250 fix: update property type on change 2024-05-24 17:23:33 -04:00
Gabriel Horner 7c0b154fff fix: disallow property self-refs
Causes wonky linked reference animations and maybe other
bugs. Can repro by creating a property url and then adding the :url
property as a page property to the url page
2024-05-24 14:03:16 -04:00
Gabriel Horner 74274bfd82 fix: create-graph graphs with properties on properties
unable to load. Subtle bug with transacting. Now that user properties
modify  schema, schema tx needs to be separated out from use of new
schema. Also add :block/refs to schema debug file and other minor cleanup
2024-05-24 12:09:22 -04:00
Gabriel Horner d2ea12fab6 refactor: simplify schema and creation of kv ents 2024-05-24 09:50:22 -04:00
Tienson Qin 60aca89386 fix: tempid workaround 2024-05-24 20:55:25 +08:00
rcmerci a87e497653 fix(rtc): transact schema first when download-graph 2024-05-24 17:12:32 +08:00
Matt Mazzola 3391a9a0a5
Update Tldraw regex to detect both x.com AND twitter.com urls to preserve embed capabilities (#11321)
* Update Tldraw-logseq regex to recognize x.com OR twitter.com, add copy of test with x.com url

* Add regex101 link

* fix(test): whiteboard e2e

---------

Co-authored-by: Andelf <andelf@gmail.com>
2024-05-24 17:10:10 +08:00
Tienson Qin 25711575bc fix: put db idents before others when transacting downloaded data 2024-05-24 16:51:27 +08:00
Tienson Qin 8458b6b21b enhance: rename :key/value to :kv/value 2024-05-24 15:21:10 +08:00
Tienson Qin db7c4e2145 refactor: use one attribute :key/value for all kvs 2024-05-24 14:22:09 +08:00
Tienson Qin b2f38f6f0c Revert "chore: rename :db/type to :logseq.db/type"
This reverts commit 32e6433c44.
2024-05-24 14:06:39 +08:00
Tienson Qin 32e6433c44 chore: rename :db/type to :logseq.db/type 2024-05-24 14:02:16 +08:00
rcmerci 08d1b0ed9a fix(rtc): init-tx-data when download-graph 2024-05-24 13:41:47 +08:00
rcmerci 02ff4959da fix(rtc): convert card-one value when download-graph 2024-05-24 13:20:54 +08:00
Gabriel Horner 32ca012635 enhance: pretty print + colorize query script by default 2024-05-23 14:58:55 -04:00
Gabriel Horner 0fc01b94a3 fix: tests 2024-05-23 09:45:38 -04:00
Gabriel Horner 26cf70f6cf fix: update schema and remove unused :name in :icon key 2024-05-23 09:45:38 -04:00
Tienson Qin 71a3700652 fix: :default property crashes below any block 2024-05-23 21:27:18 +08:00
Tienson Qin c118271fdd refactor: property position support left/right/below
Removed the limitation that only properties with closed values can
have custom positions.
2024-05-23 20:48:04 +08:00
rcmerci 64eccea7d4 fix(rtc): consider non built-in schemas as well when upload-graph 2024-05-23 17:59:40 +08:00
Tienson Qin 1cfc426486 enhance: properties ux
1. add icons to priorities
2. hide task properties so that blocks are not collapsable
3. block positions support end of block
2024-05-23 17:18:23 +08:00
charlie 342b732e95 enhance(api): property related apis for the db graph 2024-05-23 16:38:34 +08:00
Tienson Qin 5c255210b9 fix: store icon id and type only instead of full data 2024-05-23 14:07:13 +08:00
Tienson Qin c862ad0d10 refactor: db/transact! as outliner op
The benefits:
1. all db transactions from the UI thread can be described in outliner
ops now.
2. batch undo/redo
2024-05-23 05:16:51 +08:00
Gabriel Horner 8de74ce654 fix: lint for large var 2024-05-22 17:03:00 -04:00
Gabriel Horner ceb3681cfe fix: nbb scripts updates :block/refs the same as app
nbb was only handling path-refs previously. Can remove hacky
managing of refs in create-graph. Still a TODO to fix schema graph
lazy loading bug. Related to LOG-2819
2024-05-22 16:51:50 -04:00