Commit Graph

13037 Commits

Author SHA1 Message Date
Gabriel Horner
1d90663fb0 fix: only add schema to property when it exists
This ensures that we can always validate schema as having a
:type which is important for a property's validity
2023-10-25 09:56:45 -04:00
Tienson Qin
8a20c1c91b enhance: perf 2023-10-25 21:42:36 +08:00
Tienson Qin
b19e42938c fix: bad performance due to ui/tippy sub state 2023-10-25 20:11:49 +08:00
Tienson Qin
9cd3327794 enhance: lazy load performance 2023-10-25 16:22:34 +08:00
rcmerci
850ed26411 enhance(rtc): grant access api support emails (2) 2023-10-25 15:45:40 +08:00
rcmerci
69ef219a71 enhance(rtc): grant access api support emails 2023-10-25 15:45:40 +08:00
Gabriel Horner
211dd6aea7 enhance: disable preferred-format and setting org-mode
for db graphs. Also deprecate in config
2023-10-24 17:15:05 -04:00
Gabriel Horner
0715b03b8f chore: cleanup file-based.property* namespaces
Split out multi-graph fns from frontend.handler.file-based.property into
frontend.handler.property.file. This cleaned up the last of the namespaces
that didn't follow the convention of file-based.* and db-based.*
namespaces are for file graph and db graph only functionality
respectively. It's important to keep the two graph implementations separate as
it's simpler and easier to maintain them. We had already
introduced needless coupling between batch-set-block-property-aux and
multi-graph fns like remove-properties-when-file-based as
batch-set-block-property-aux is _only_ run in file graphs
2023-10-24 16:49:43 -04:00
Gabriel Horner
7b6b9c5df2 fix: update content when changing markdown heading
moved db-based and file-based implementations to their respective
namespaces
Fixes LOG-2821
2023-10-24 15:05:30 -04:00
Tienson Qin
ebe68c6382 fix: loop 2023-10-25 01:34:02 +08:00
rcmerci
9d92fd93ee fix(rtc): property updates not synced 2023-10-25 01:12:42 +08:00
rcmerci
b6eb7f3b7c chore: sort ns 2023-10-25 00:24:01 +08:00
rcmerci
7336ba61a9 enhance(rtc): add block-content versions support
currently only print version-info in console, just for debug
2023-10-24 21:33:45 +08:00
Gabriel Horner
241384c9be chore: clean up repeated uses of fetching page+property uuids 2023-10-24 09:29:30 -04:00
Tienson Qin
56e5d1b936 fix: quit editing after block indent and outdent
The reason is that each block container has a new div container
wrapper for lazy loading.
2023-10-24 20:42:45 +08:00
Tienson Qin
c5fc270bb5 fix: exit property editing after input property value 2023-10-24 13:14:16 +08:00
Gabriel Horner
f1d17ad56b fix: typing markdown heading displays correctly
Also fixed structured tag popup displaying
in heading which didn't make sense. Since this was fixed
right after gp-block/extract-blocks is called, this likely
fixed related issues where format/extract-blocks is called e.g. paste.
Fixes LOG-2821.
2023-10-23 18:01:50 -04:00
Gabriel Horner
9fd8013a4c fix: built-in enum properties load correctly on new graph 2023-10-23 12:38:40 -04:00
Gabriel Horner
2c1ccf99dc fix: markdown tables didn't recognize built-in v2 properties
also fix enum values not usable for api fn
2023-10-23 12:28:55 -04:00
rcmerci
a2e27a0007 enhance(rtc): add :block/original-name sync support (2) 2023-10-21 17:47:26 +08:00
rcmerci
2f6d388c99 enhance(rtc): add :block/original-name sync support 2023-10-21 17:47:26 +08:00
Gabriel Horner
dbaf379c54 fix: listener based validation only applies to db graphs 2023-10-20 23:18:14 -04:00
Gabriel Horner
4fd591620b validate entities that are changed per transact!
This should help us catch bugs due to invalid data fairly quickly.
This only runs when in dev?
part of LOG-2818
2023-10-20 16:57:00 -04:00
Gabriel Horner
2859d20146 fix: persist enum uuids for built-in props
This is a workaround until a better solution comes
as part of LOG-2871
2023-10-20 16:07:51 -04:00
Gabriel Horner
fa1f8a76f8 Merge branch 'master' into feat/db 2023-10-20 14:51:33 -04:00
Gabriel Horner
f860553d89 enhance: add enum choices to built-in table properties
Also hide all built-in table properties like we do for file graphs
2023-10-19 11:57:27 -04:00
Gabriel Horner
c29bd3cd39 fix: enum property display should display as "properties"
since it's config defaults to it
2023-10-19 09:05:51 -04:00
Tienson Qin
d69bf65aa3 enhance: render blocks from top to bottom 2023-10-19 19:12:09 +08:00
Tienson Qin
4e781a2a95 fix: render blocks in depth-first 2023-10-19 16:32:20 +08:00
Charlie
0e63086658 enhance(ux): disable keymap settings for the mobile (#10380) 2023-10-19 15:18:30 +08:00
Andelf
7c1b23163c fix: use set to match condition 2023-10-19 15:12:03 +09:00
Andelf
13a59d922d fix: wrong mime type check 2023-10-19 15:12:03 +09:00
Andelf
c932ca8ca0 fix: lint 2023-10-19 15:12:03 +09:00
Andelf
5964557612 fix(editor): let drop-handler not handle dropped assets when editing 2023-10-19 15:12:03 +09:00
Andelf
fc653c9f05 fix(editor): not being about to save dropped assets
- Refactor: mv get-asset-file-link to assets-handler
- Fix: iOS binary file saving using base64
- Fix: Drop assets on non-editing block
2023-10-19 15:12:03 +09:00
Andelf
c996bfe658 enhance(mobile): add binary writing support via base64 2023-10-19 15:12:03 +09:00
Tienson Qin
64d1504d6d fix: can't drag && drop when items change 2023-10-19 14:04:24 +08:00
Tienson Qin
10dc75e027 fix: can't select property value for new enum property 2023-10-19 14:04:24 +08:00
Gabriel Horner
b4e5e4b640 enhance: tags dropdown autocompletes to classes
Autocompleting all pages including journals and built-in pages is
noisy and misleading. By autocompleting classes we give user
a better experience and avoid creating buggy edge cases like built-ins as a
class. Properties can also choose to class page autocompletion by
choosing "Logseq Class" for their property's :classes
2023-10-18 16:43:40 -04:00
Gabriel Horner
91b3be3cfb cleanup old uses of :id property
they should only run on file graphs
2023-10-18 14:07:03 -04:00
rcmerci
9464d477cc fix(rtc): update local-t after upload-graph 2023-10-19 02:00:55 +08:00
rcmerci
ed460b2e56 fix(rtc): update pull-remote-data logic 2023-10-19 01:35:18 +08:00
Tienson Qin
60737c5903 enhance: widen property configure 2023-10-19 00:58:20 +08:00
Tienson Qin
6201751ce5 enhance: rename add tags to set tags 2023-10-19 00:52:23 +08:00
Tienson Qin
11f803a00b enhance: remove save button for property config 2023-10-19 00:49:20 +08:00
Tienson Qin
44ee2baf42 enhance: switching between class/property config and page properties 2023-10-19 00:23:54 +08:00
Gabriel Horner
9b219474a2 cleanup fixme for pasting with properties
part of LOG-2823
2023-10-18 11:47:05 -04:00
rcmerci
cb0cceeec2 fix(rtc): replace entity with pull 2023-10-18 23:38:56 +08:00
Tienson Qin
1ad81121c9 fix: UI doesn't show new blocks after starting the app
The reason is that the reactive query state for the first page has
been cleared.
2023-10-18 23:25:38 +08:00
Tienson Qin
4febf92b44 fix: don't trigger page select when clicking the page link 2023-10-18 23:02:37 +08:00