Commit Graph

15882 Commits (0c801776426626aa94fe5e383cae8689bac3bd4e)

Author SHA1 Message Date
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
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
Gabriel Horner 67ff14038a enhance: add :config option to schema graph
also fix outliner lints
2024-05-22 13:37:40 -04:00
Tienson Qin d298567737 fix: wrong arguments for delete-blocks 2024-05-23 00:35:22 +08:00
Tienson Qin c0d64854f3 fix: datoms not fully retracted for UI/Electron dbs 2024-05-23 00:15:52 +08:00
Tienson Qin f218732b17 fix: property path-refs
1. :block/refs support to page properties
2. don't add built-in properties to refs
3. don't add current block or parents' other properties to :default blocks
2024-05-22 23:30:00 +08:00
Gabriel Horner 2d5f5cd73b fix: frontend lint 2024-05-22 10:45:18 -04:00
Gabriel Horner 8b12e7f136 fix: property refs not calculating for file graphs
Fixes a bug where clicking a TODO in a file graph resulted in an error.
Bring back file graph implementation accidentally taken out in
d31b8cd5ae.
Also fixes related test
2024-05-22 10:42:44 -04:00
Gabriel Horner 04e71a9a23 Bump datascript for nbb-logseq 2024-05-22 09:37:16 -04:00
Tienson Qin b4126ed2af fix: auto popup for :many property 2024-05-22 21:11:54 +08:00
Gabriel Horner 725b611e56 fix: can't add a closed :default property to a block 2024-05-22 09:07:50 -04:00
Gabriel Horner 50698c190d fix: update db's nbb.edn to match deps.edn
Looks like we forgot to add malli to deps.edn awhile back
2024-05-22 08:53:13 -04:00
Tienson Qin 5b99610212 fix: use trigger-id instead of target
Because target might already be unmounted
2024-05-22 20:49:44 +08:00
Tienson Qin 0dab32c038 enhance: simplify property value editing state 2024-05-22 19:53:21 +08:00
Tienson Qin f1b39de490 fix: UI blinking when adding a :default property 2024-05-22 18:42:13 +08:00
rcmerci ca413fe529 test(rtc): remove :fix-me for apply-remote-remove-ops-test2 2024-05-22 18:31:00 +08:00
Tienson Qin e7cd76644b enhance: put remove property after search results 2024-05-22 17:53:45 +08:00
rcmerci f4e251f655 enhance(rtc): update info in debug-ui 2024-05-22 17:45:18 +08:00
rcmerci e6a580b0d6 enhance(rtc): remote block-index already removed 2024-05-22 17:19:34 +08:00
rcmerci cd12980c6e enhance(rtc): update :block/order when upload-graph 2024-05-22 17:09:55 +08:00
Tienson Qin b4bfd5cc9a chore: use clj-fractional-indexing 2024-05-22 15:21:35 +08:00
rcmerci d84f0a6d82 enhance(rtc): update debug ui 2024-05-22 12:42:29 +08:00