Commit Graph

8598 Commits

Author SHA1 Message Date
Tienson Qin
39b04a996a fix: persist before switching between graphs 2022-09-29 21:58:27 +08:00
Tienson Qin
698cffd103 chore: remove unused UUID 2022-09-29 21:58:27 +08:00
Tienson Qin
d14f60713c fix: style tweaks 2022-09-29 21:58:27 +08:00
Tienson Qin
681c3e421e fix: cancel previous requests when sync needs to download/upload
This can avoid running multiple downloads/uploads at the same time.
2022-09-29 21:58:27 +08:00
Andelf
59a249e70d chore: update yarn.lock 2022-09-29 19:36:42 +08:00
Andelf
6a6974671f chore(deps): update file-sync libs 2022-09-29 19:36:42 +08:00
Andelf
b73829da05 feat(sync): allow cancel all request 2022-09-29 19:36:42 +08:00
Tienson Qin
4e964688e5 fix: no matched search results for page reference autocomplete 2022-09-29 14:47:11 +08:00
Tienson Qin
066496089f fix: disallow creation of a page that starts with #
related to #6840
2022-09-29 12:07:31 +08:00
Tienson Qin
00c1a238c1 fix: Template properties causes empty "template" property to show up
address #6839
2022-09-29 10:44:16 +08:00
Moritz Ulrich
82cd5c53f4 fix: Don't show 'Make a flashcard' menu item with flashcards disabled 2022-09-28 22:48:16 +08:00
charlie
1555652da4 fix(ui): polish alignments of svg icons 2022-09-28 15:31:01 +08:00
Andelf
2bb2a1f072 fix: p/let should wait for all promise (#6835) 2022-09-28 15:23:47 +08:00
Tienson Qin
dc90bcf32e fix: don't create a space between # and [[]] when auto-complete 2022-09-27 23:54:33 +08:00
Tienson Qin
c10b04b715 fix: clear sync-state when stopping the current graph's sync 2022-09-27 23:24:42 +08:00
Kan-Ru Chen
8677c74fa3 chore(deps): update rage-wasm to 0.3.0 (#6808)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-09-27 16:14:56 +08:00
Konstantinos Kaloutas
68c876b1f9 fix: spacings and remove heading button 2022-09-27 16:12:23 +08:00
Konstantinos Kaloutas
39a7ffb789 chore: add translation 2022-09-27 16:12:23 +08:00
Tienson Qin
086bae5156 fix: use parsed level as heading level instead of default 2 2022-09-27 16:12:23 +08:00
Tienson Qin
a27a270b04 fix: CI 2022-09-27 16:12:23 +08:00
Tienson Qin
8b144269f7 refactor: unify heading UX for both markdown and org mode 2022-09-27 16:12:23 +08:00
Gabriel Horner
9c7b4ea201 Delete unused ns
Commented out a long time ago in
4e0f65a17f
2022-09-27 13:55:16 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Andelf
0cebfb7779 fix: lint 2022-09-24 00:39:29 +08:00
Andelf
d1c7328a93 fix(android): use graph-uuid in call, update capacitor-file-sync 2022-09-24 00:39:29 +08:00
Andelf
dd91207d6f chore: rm debug print 2022-09-23 11:08:06 +08:00
Gabriel Horner
2ce6dfad41 Use catch :default for default error handling in cljs
This is considered normal practice for cljs. See
https://clojure.atlassian.net/browse/CLJS-661 for when it was introduced
and background on it
2022-09-23 02:00:55 +08:00
Andelf
ae114afbd8 Feat: sync progress for electron (#6662)
* fix: state shouldn't be returned in ipc

* feat: download && upload processing

* enhance(ui):  interaction of show password checkbox

* feat: time left

* feat: download progress

* Set download batch size to 100

* improve(ui): progress pane of file sync indicator

* improve(ui): progress pie of each file state

* improve(ui): progress pie of each file state

* improve(ui): progress pie of each downloading file

* fix: add last changed time

* enhance: time left

* fix: total needs to be larger than finished

* fix: wait for update-graphs-txid!

* enhance: show in-progress files first

* chore: ui polish

* improve(ui): persist stauts of sync files list toggle switch

* fix(ui): visibility of sync now button on mobile

* chore: remove ios static out after sync

* fix: debounce clicking on sync icon

* fix: repos not refreshed after unlink or delete

* enhance: automatically save page-metadata.edn to avoid sync when restart

* improve(ui): sync now shortcut for file sync progress pane

* enhance: data transfer icons

* fix: stop sync if switched to another graph

* fix: can't switch

* enhance: sort files first before uploading or downloading

* fix: clear current graph uuid when sync stops

* fix: separate progress by graphs

* fix: check files only in the current progress

* fix: prevent multiple sync managers for the same graph

* fix: remove redundant files watchers

* enhance(sync): re-exec remote->local-full-sync when exception

re-exec remote->local-full-sync when <update-local-files return exceptions

* enhance(sync): re-exec remote->local-full-sync when exception

re-exec remote->local-full-sync when <update-local-files return exceptions

* fix(sync): set-progress-callback, update rsapi

* fix(sync): uploading progress bar

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: charlie <xyhp915@qq.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
2022-09-23 02:00:24 +08:00
Gabriel Horner
4c3503ff1e Merge pull request #6529 from logseq/refactor/refs-from-property-values
Refactor: extract references from property values
2022-09-22 09:30:25 -04:00
rcmerci
40e7c29bd6 enhance: use transducer in extract-refs-from-mldoc-ast 2022-09-22 15:06:34 +08:00
Tienson Qin
1830b0c082 fix: treat special chars as invalid properties instead 2022-09-22 14:20:15 +08:00
Gabriel Horner
39b7f1bb45 Update docstring for :block/properties 2022-09-21 16:23:56 -04:00
Gabriel Horner
9d9e976b8c Merge branch 'master' into refactor/refs-from-property-values 2022-09-21 15:34:47 -04:00
rcmerci
628cecc2fd enhance: use transducers 2022-09-21 18:32:14 +08:00
Tienson Qin
eae49ec1f5 chore: misc clean 2022-09-21 17:10:40 +08:00
Tienson Qin
baba078323 fix: support comma in Chinese 2022-09-21 17:03:17 +08:00
Tienson Qin
50db6e42a0 fix: extract property refs support mixed values 2022-09-21 16:46:56 +08:00
Andelf
6abb4c5a75 chore(build): file-sync production as default 2022-09-21 16:18:34 +08:00
Tienson Qin
0ede2d1263 fix: lint 2022-09-21 16:07:05 +08:00
Tienson Qin
310bff0fad fix: CI 2022-09-21 16:02:21 +08:00
Tienson Qin
1fbb364512 Add :block/properties-text-values 2022-09-21 15:06:48 +08:00
charlie
0422f31130 fix(ui): color of block control arrow 2022-09-21 14:49:20 +08:00
charlie
50b4f6577d improve(ui): polish built-in icon 2022-09-21 14:49:20 +08:00
charlie
8f96f4b176 improve(ui): polish built-in icon 2022-09-21 14:49:20 +08:00
charlie
eb46482a75 fix: lint 2022-09-21 14:49:20 +08:00
charlie
6d72dc584c improve(ui): polish built-in icon 2022-09-21 14:49:20 +08:00
charlie
424cc3c3ee fix(pdf): calculate highlight selection async 2022-09-21 14:49:20 +08:00
charlie
dad5bc3609 improve(ui): polish built-in icon 2022-09-21 14:49:20 +08:00
charlie
f8cc6378c3 improve(ui): update built-in icon mode 2022-09-21 14:49:20 +08:00
Konstantinos Kaloutas
a0b37fa20e fix: restore zoom level 2022-09-21 14:48:50 +08:00