Commit Graph

15783 Commits (5096113d3867001d8e19dbbcbb825dd847ab2f29)

Author SHA1 Message Date
Tienson Qin 5096113d38 fix: can't add properties in new class modal 2024-05-20 11:42:01 +08:00
Tienson Qin a2292284c1 enhance: css tweaks 2024-05-20 11:42:01 +08:00
charlie bc8913b206 fix(ui): page crash for the whiteboard title context menu 2024-05-20 11:08:39 +08:00
rcmerci 791192c3de fix(rtc): normalize blocks when download graph 2024-05-19 20:26:08 +08:00
Tienson Qin 6be4c54e9f fix: wrong container id with collapsed linked blocks 2024-05-19 09:58:21 +08:00
Tienson Qin a9f5c5ee16 fix: lost editor cursor when indent/outdent/move/insert linked block 2024-05-19 09:14:35 +08:00
Tienson Qin 64a81adadf fix: pause input when inserting a new block
The UI thread will send a :insert-blocks op to the db worker after
Enter pressed, in the meanwhile, user can continue to write in the
current block's editor, which can result in disappearing text.
2024-05-19 05:59:16 +08:00
Tienson Qin 4a681d7193 fix: lazy load page/block embeds 2024-05-18 08:20:34 +08:00
Tienson Qin 936fe0baaa fix: lazy load page
Use rum/with-key to identity page instances to trigger loading for
different pages.
2024-05-18 07:34:21 +08:00
Tienson Qin 3e04514436 fix: property value entity may not have :block/uuid sometimes 2024-05-18 07:21:57 +08:00
Tienson Qin 233390757b fix: missing container-id for property block values 2024-05-18 07:11:23 +08:00
Tienson Qin 1c88d7cb00 fix: can't convert ref-type to non-ref (checkbox) 2024-05-18 06:39:47 +08:00
Gabriel Horner efab7f403e chore: Remove unnecessary catch and rethrow for notification
Just encode notification in original exception to make conversion
as reusable as possible. Also make properties readable with :original-name
as they are case sensitive
2024-05-17 17:25:53 -04:00
Gabriel Horner a17ed389e8 fix: can't delete a closed value being used
fixes LOG-3102
2024-05-17 15:37:52 -04:00
Gabriel Horner 4907f0eb74 fix: task related commands e.g. /Doing
Was broken by adding property ref value support to batch-set-property
2024-05-17 12:40:09 -04:00
Gabriel Horner 05b96d53fa fix: display notification when trying to delete built-in choice 2024-05-17 11:07:53 -04:00
Tienson Qin 637eefb4e3 fix: content not saved when inserting blocks too fast 2024-05-17 21:19:43 +08:00
Tienson Qin a50177096e chore: remove debug 2024-05-17 21:00:57 +08:00
Tienson Qin 82db2351fe fix: download graph 2024-05-17 20:14:33 +08:00
charlie 472685fced feat(dev): add use atom hook 2024-05-17 19:10:30 +08:00
rcmerci 1779c2af7f fix(rtc,wip): download graph 2024-05-17 15:20:39 +08:00
charlie 5b0051adef enhance(ux): pointer down to trigger the hide context menu and block selections 2024-05-17 13:21:53 +08:00
Tienson Qin 45150c0f05 perf: don't re-render blocks when selection changes 2024-05-17 12:24:06 +08:00
rcmerci 8a3f5ab09d chore: update rtc schema, rename some ns 2024-05-17 11:32:53 +08:00
charlie 3e37fb6b4a fix: typo 2024-05-17 11:25:10 +08:00
Tienson Qin db721ee3f6 enhance: clear selection before closing popup 2024-05-17 11:15:15 +08:00
Tienson Qin bf72ff47e0 fix: cursor changes when zoom in/out 2024-05-17 10:38:29 +08:00
charlie cb6f977ed2 enhance(ux): clear block selections instantly before closing the block context menu 2024-05-17 10:19:16 +08:00
Tienson Qin 723a48d3da fix: don't quit editor when switching tabs/windows 2024-05-17 10:15:53 +08:00
Tienson Qin 1f6ed68bd8 fix: embed block should have a different container id 2024-05-17 09:51:23 +08:00
Gabriel Horner fd27374830 fix: test for removed unused behavior 2024-05-16 21:21:33 -04:00
Tienson Qin e28b972042 enhance: cache container id so that it works when undo/redo 2024-05-17 07:13:03 +08:00
Tienson Qin 3744194be6 fix: wrong block content when redo 2024-05-17 06:10:48 +08:00
Gabriel Horner 3fdaf0474f fix: can't add a class schema or page property
Removed related unused upsert property code. This became unused with #11311.
Also fixed new page property not moving focus to property value
2024-05-16 17:47:49 -04:00
Gabriel Horner 0284816f22 chore: replace uses of :string in tests and properties graph
Also removed test which tested an unused fn
2024-05-16 16:28:43 -04:00
Gabriel Horner 35e6ad120d chore: rename pdf specific properties to logseq.property.pdf
also remove deleted property ns
2024-05-16 15:27:24 -04:00
Gabriel Horner d37df950fa fix: property rules now work with property ref values
Also remove use of :string properties in tests
2024-05-16 15:05:37 -04:00
Gabriel Horner 43dfdbe0ae fix: convert remaining built-in :string props to :default 2024-05-16 11:22:09 -04:00
rcmerci d5fc88cbd4 test(rtc): remove :fix-me for local-db-tx->remote-ops-test 2024-05-16 21:53:14 +08:00
rcmerci 46a7a41afd test(rtc): remove :fix-me for entity-datoms=>ops-test 2024-05-16 21:38:31 +08:00
rcmerci a12a0d3d30 refactor(rtc): support refactored update-op, update local db 2024-05-16 19:47:49 +08:00
Tienson Qin 55cec662e9 Add tests for the new undo/redo 2024-05-16 18:31:26 +08:00
charlie 18226316df fix(ui): page crash for the nil page name 2024-05-16 12:50:48 +08:00
Tienson Qin 972e90604b fix: pause history when restoring cursor and state 2024-05-16 10:17:37 +08:00
Tienson Qin 9ecafb4d96 enhance: add page route && sidebar blocks to undo/redo 2024-05-16 09:36:47 +08:00
Tienson Qin a25485a4ef fix: add malli schema for new undo/redo 2024-05-16 06:24:42 +08:00
Gabriel Horner 8921767b69 fix: batch-set-property working with property value refs
Fixed batch-setting background-color. With this fix was then able
to migrate order-list-type to use :default. Also cleaned up
outdated assumptions in batch fn
2024-05-15 17:37:57 -04:00
Gabriel Horner e50d3eff21 fix: setting block properties with raw value
With this fix able to convert 2 built-ins to :default. Also cleaned
up set-block-property! which had outdated assumptions
2024-05-15 16:10:02 -04:00
Gabriel Horner 2117245b28 fix: fetching built-in property values
Fixes :number properties like hl-stamp and hl-page which returned
refs instead of actual values. This will also fix it for
future usage of built-in :default props. Also fixed a db test
2024-05-15 12:23:14 -04:00
Gabriel Horner 980c88b60d fix: remove table v2 properties
Finish removal started by 82a1a18762.
Still need names in exporter so they aren't incorrectly imported
into db graphs
2024-05-15 10:25:31 -04:00