Commit Graph

14555 Commits

Author SHA1 Message Date
Gabriel Horner
a61ee21e25 enhance: add basic script to test db graph import
also tweaked query script to work with db graphs by relative path
2024-02-24 00:42:46 -05:00
Gabriel Horner
356657d36b fix: adding uuids on imported classes causes multiple bugs
Caused invalid blocks as properties that were on the same block
as new class had invalid uuids. Also caused content to have
incorrect mangled uuids. Part of LOG-2985
2024-02-23 15:23:47 -05:00
Gabriel Horner
eb994662a6 enhance: user can choose properties' values to import as classes
The user specified properties are then no longer needed since the
concept is built-in. Part of LOG-2985
2024-02-23 12:42:16 -05:00
Tienson Qin
c9467ce23b fix: prefix # to create a heading lost properties 2024-02-24 00:20:22 +08:00
Tienson Qin
6580edf841 fix: undo/redo 2024-02-23 23:50:44 +08:00
Tienson Qin
ed0429b088 fix: don't save twice when esc 2024-02-23 23:40:56 +08:00
Tienson Qin
6329f6e4e7 perf: async writes 2024-02-23 23:32:24 +08:00
Tienson Qin
86b70c1f6d fix: compute block/refs and block/path-refs after pulling remote 2024-02-23 21:35:11 +08:00
rcmerci
707ba7004f test(rtc): add same-name-two-pages-merge-test 2024-02-23 20:14:32 +08:00
rcmerci
e80b9ed74a fix(rtc): merge same-name pages 2024-02-23 20:14:32 +08:00
Tienson Qin
8b9c3e249e fix: redo 2024-02-23 19:42:13 +08:00
Tienson Qin
674c787f46 perf: mark newly created blocks as fully loaded 2024-02-23 18:12:47 +08:00
Tienson Qin
61c953e134 fix: page crash 2024-02-23 17:46:18 +08:00
charlie
948a863eaa Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db 2024-02-23 14:48:42 +08:00
charlie
9f5104e590 refactor(ui): WIP refactor the perperty editor with the shui pupops 2024-02-23 14:48:25 +08:00
rcmerci
6bf103e590 test(rtc): add apply-remote-remove-page-ops-test1 2024-02-23 14:38:43 +08:00
rcmerci
075265a660 test(rtc): add apply-remote-update-page-ops-test2 2024-02-23 14:32:02 +08:00
Gabriel Horner
8cc4a9a63c fix lint 2024-02-22 17:03:28 -05:00
Gabriel Horner
dad848fa73 enhance: improve property type detection
with macros. This improves :url property detection in docs
graph and other similar graphs. part of LOG-2985
2024-02-22 16:00:03 -05:00
Gabriel Horner
bfc5bf9ccc enhance: allow user macros for :url property values
and single line :default values
2024-02-22 14:49:03 -05:00
Gabriel Horner
531a8ef533 enhance: import :filters and helpfully ignore :icon
Better to ignore :icon and explain to user than import them as broken with no explanation.
part of LOG-2985
2024-02-22 10:12:09 -05:00
rcmerci
1f3515a70d test(rtc): add apply-remote-update-page-ops-test 2024-02-22 18:02:49 +08:00
rcmerci
201b1ac9ac fix lint 2024-02-22 16:48:48 +08:00
rcmerci
6840f3fca0 test(rtc): add apply-remote-remove-ops-test 2024-02-22 16:35:24 +08:00
rcmerci
a0bf2834ef test(rtc): add apply-remote-update-ops-test3 2024-02-22 16:35:24 +08:00
Gabriel Horner
37135fd242 enhance: import tags for existing pages - LOG-2985
also fixed namespaces and aliases missing from existing pages
2024-02-21 17:16:21 -05:00
Gabriel Horner
a010298fc6 enhance: handle invalid property value changes
Ignore invalid property values and notify user, rather than
import them as broken. Part of LOG-2985
2024-02-21 15:30:27 -05:00
Gabriel Horner
95a43e24a3 clean up property importing - part of LOG-2985
- infer block property values by properties, not refs
- remove unnecessary property-changes state
- centralize property-change logging and handling
2024-02-21 11:45:40 -05:00
Gabriel Horner
32626de329 fix: lint 2024-02-21 09:25:50 -05:00
Gabriel Horner
e4587f8259 Merge branch 'master' into feat/db 2024-02-21 08:17:31 -05:00
rcmerci
3b8284968f test(rtc): add apply-remote-update-ops-test2 2024-02-21 20:58:18 +08:00
rcmerci
b892c9abe9 fix(rtc): db/retract when :type/link/schema/properties is nil 2024-02-21 20:57:21 +08:00
rcmerci
3ab33ff831 test(rtc): add apply-remote-update-ops-test 2024-02-21 17:18:34 +08:00
rcmerci
7375990c2b test(rtc): update apply-remote-move-ops-test 2024-02-21 16:16:33 +08:00
YU
ab74c1e948 fix(bug): Main scrollbar jumps #5961 (process once only) (#10037) 2024-02-21 13:47:40 +08:00
Gabriel Horner
9591c51997 enhance: import properties of existing pages
including property pages. part of LOG-2985
2024-02-20 23:02:44 -05:00
Gabriel Horner
ddefb677f2 enhance: import most page properties - part of LOG-2985
Also fix validation and bugs with built-in props. Add additional info
on parent-left conflicts as I encountered a couple while testing
pre-block removal
2024-02-20 14:50:49 -05:00
rcmerci
71844d2d66 test(rtc): add apply-remote-move-ops-test1 2024-02-20 17:41:25 +08:00
Topher Hunt
2bbd1bfc53 feature: new keybinding for "toggle expand/collapse this block"
Fixes issue https://github.com/logseq/logseq/issues/9676
Binds to mod + ; by default.
2024-02-20 17:27:08 +08:00
rcmerci
24d650d540 enhance(rtc): extract fn for ut 2024-02-20 16:59:55 +08:00
charlie
6d1fdd445a enhance(ui): export popup APIs to ui ns 2024-02-20 13:34:23 +08:00
Gabriel Horner
f28cf73ef4 enhance: validate db once for an import
and notify if there are invalid blocks. Removed validating per tx during
import which speeds up import 5-10% on small graphs and more on larger
graphs. Also print some useful stats in the console
2024-02-19 15:34:58 -05:00
Gabriel Horner
4f3c4c9e03 fix: handle a property :default to :page change
Part of LOG-2985. :page property values would just be references so
use properties-text-values over `str`. Also added import timing
2024-02-19 11:34:42 -05:00
charlie
2471616d5a enhance(ui): polish emoji icon picker 2024-02-19 17:10:04 +08:00
Andelf
ebb6d86dd5 chore: bump ios version for tf release 2024-02-19 16:02:31 +08:00
Andelf
7c905a39cc fix(ui): shorter heading for pwd input box 2024-02-19 14:24:25 +08:00
Andelf
247039514f fix: add .heic to media type 2024-02-19 14:23:58 +08:00
rcmerci
cd13f65540 fix(rtc): use :block/raw-content in update-op 2024-02-18 12:01:57 +08:00
charlie
38406fb39a enhance(ui): add tag for the popups pending state 2024-02-18 11:36:55 +08:00
charlie
4e482e8138 Merge branch 'master' into feat/db 2024-02-18 10:23:01 +08:00