Commit Graph

15921 Commits (fce5adb40081ac685d54a8ad111363f424397c9f)

Author SHA1 Message Date
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
Tienson Qin f944dd2de9 fix: can't add existing :many property 2024-05-22 07:55:18 +08:00
Tienson Qin a1d4bca586 fix: selected choices not updated reactively on UI 2024-05-22 06:45:45 +08:00
Tienson Qin 49d954f3b1 fix: selected choices should be db/id for ref values 2024-05-22 06:20:57 +08:00
Gabriel Horner 8f156bee30 fix: :page property to autocomplete user pages 2024-05-21 16:44:53 -04:00
Gabriel Horner cfe22e4acc fix: lints 2024-05-21 16:14:05 -04:00
Gabriel Horner c9b579ae01 fix: placeholder valid for a :many property 2024-05-21 16:09:40 -04:00
rcmerci b6b4979fb4 enhance(rtc): several fixes&enhancements for rtc:
- incorrect use of m/?> (with recur) in get-remote-updates
- sort graph-list in debug-ui
- coerce data when get data from s3
2024-05-22 01:23:57 +08:00
Tienson Qin 4da39d9d88 fix: typo 2024-05-21 23:32:33 +08:00
Tienson Qin 16c553ed54 fix: remove all the attributes when deleting :default property 2024-05-21 23:30:54 +08:00
Tienson Qin e49acf8256 feat: add property :object type 2024-05-21 23:30:54 +08:00
Gabriel Horner fd5b90596b chore: remove nonexistent fix-tx 2024-05-21 11:00:11 -04:00