Commit Graph

18312 Commits

Author SHA1 Message Date
charlie
685b78e2a0 fix(ux): invalid action for the block selection context menus 2024-05-21 11:26:59 +08:00
Tienson Qin
ee35854498 fix: delete property value block when it's not used by other blocks 2024-05-21 07:49:33 +08:00
Tienson Qin
c42dbec0f8 fix: copy selected blocks 2024-05-21 06:44:31 +08:00
Gabriel Horner
33832f7941 fix: property names with invalid idents display an error notification
instead of silently failing in console. E.g. `123` as a property name
2024-05-20 17:21:56 -04:00
Gabriel Horner
fa4b47d16b fix: property value names in developer cmd
and in readable-properties fn
2024-05-20 16:20:31 -04:00
Gabriel Horner
92299347da chore: rename class ident to match name
Root is also a better name than base
2024-05-20 15:55:40 -04:00
Gabriel Horner
2a37687198 chore: create graph scripts use keyword names for :classes
Just like :properties for config to be consistent. Also tweaked
generated classes to inherit from Root, even for schema graph
2024-05-20 15:43:05 -04:00
Gabriel Horner
0cfc90e0ef fix: remove :string property type as :default
does everything it used to do. Also remove component behavior specific to :string
2024-05-20 11:46:10 -04:00
Gabriel Horner
c5911a571b fix: loading of classes for script-generated graphs
Lazy loading of refs for classes isn't supported in the UI yet so
no need to self-inflect this. Also can move schema graph from :string
to :default usage now
2024-05-20 10:45:27 -04:00
Gabriel Horner
47ed035d42 tweak schema as properties always have :type 2024-05-20 09:29:05 -04:00
Gabriel Horner
266b626850 fix: frontend lints 2024-05-20 09:02:37 -04:00
Tienson Qin
a604ce6697 enhance: use shui select for class parent 2024-05-20 18:40:26 +08:00
Tienson Qin
4fcb95a5a7 fix: property value changed not refreshing UI 2024-05-20 18:17:05 +08:00
Tienson Qin
3b975d2fad enhance: show properties configuration for classes in the sidebar 2024-05-20 18:11:14 +08:00
Tienson Qin
25a68c1d95 enhance: use css to control bg for property value 2024-05-20 17:57:25 +08:00
Tienson Qin
cd2b295004 fix: can't drag block to a page's first child 2024-05-20 17:50:53 +08:00
Tienson Qin
db5779d0c9 fix: properties order animation 2024-05-20 17:29:53 +08:00
charlie
1796d0810b fix(ui): disable up/down for the shui select menu 2024-05-20 17:01:14 +08:00
Tienson Qin
8845f3193b fix: esc to focus on date property value 2024-05-20 16:21:35 +08:00
charlie
128d205832 enhance(ux): delay the display of the skeleton to optimize page flickering 2024-05-20 16:21:16 +08:00
Tienson Qin
8c8fd41fa9 fix: set opacity to 100 for multiple dates add button when hovering 2024-05-20 15:57:09 +08:00
Tienson Qin
5b1cc3892a fix: open date picker after adding a date property 2024-05-20 15:45:56 +08:00
Tienson Qin
3ac1f3ca64 fix: make sure container-id exists for now 2024-05-20 15:34:28 +08:00
Tienson Qin
29de339fa1 enhance: don't show date picker for one value
Also, set hint background color when hovering property value
2024-05-20 15:31:55 +08:00
Tienson Qin
150829ad3d fix: add existing property to blocks 2024-05-20 14:53:28 +08:00
Tienson Qin
f2fc6758a3 fix: block content disappeared when zoom-out 2024-05-20 14:39:44 +08:00
Tienson Qin
e34af3412e enhance: delay creating new property until type specified 2024-05-20 13:07:21 +08:00
Tienson Qin
532f27a151 fix: can't delete class properties 2024-05-20 12:04:21 +08:00
Tienson Qin
d438b0baa4 fix: remove min-width for property configuration 2024-05-20 11:46:46 +08:00
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