Commit Graph

31 Commits (ac07029dc871359a4f6fb46661f01057c806bab8)

Author SHA1 Message Date
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
charlie 79c73eaee6 chore: typos 2022-09-14 11:30:11 +08:00
charlie fd92a53940 fix: conditions 2022-09-14 11:30:11 +08:00
charlie 9b57580962 chore(dev): just one command for ios/android development 2022-09-14 11:30:11 +08:00
Tienson Qin 725ca1c6a1
Feature: flashcards random mode (#4535)
* feat: add flashcards shuffle mode
* fix: flashcards navigation
* refactor(build): use @tabler/icons from node_modules

Co-authored-by: Andelf <andelf@gmail.com>
2022-03-11 00:13:37 +08:00
charlie dee179f5f5 enhance(dev): remove sync static files in development to decrease cup usage 2022-03-01 20:42:52 +08:00
Andelf 44ddd10103 Revert "refactor(dev): use cssnano as postcss plugin"
This reverts commit 6868716d56.
2022-02-18 23:02:24 +08:00
Andelf 3958c647e1 refactor(dev): use cssnano as postcss plugin 2022-02-18 18:48:46 +08:00
Andelf 54215ef196 refactor(draw): handle static assets from node_modules 2022-02-18 17:55:50 +08:00
Andelf dbdb119438 Revert "dev: fix gulp-watch cpu usage"
This reverts commit 261efce937.
2022-01-18 16:53:39 +08:00
Junyi Du 261efce937 dev: fix gulp-watch cpu usage 2022-01-14 13:18:40 +08:00
charlie dd4a348511 improve(dev): speed up css/js sync in watch mode 2021-12-27 19:07:22 +08:00
Tienson Qin 36aa870c42 fix: add :pseudo-names true for electron build 2021-11-18 15:41:35 +08:00
Tienson Qin b339090d81 ci: disable electron-rebuild temporarily 2021-11-05 22:14:44 +08:00
charlie 2bf8a17f6e fix(dev): watch css 2021-10-18 21:46:29 +08:00
Weihua Lu 4d59cb9dec fix: sync static 2021-09-28 14:58:43 +08:00
Tienson Qin 133fbd97ce fix: add rebuild:better-sqlite3 to electron release 2021-06-15 22:13:08 +08:00
charlie 097989ee6f improve(dev): live the std out/err when watch CSS bulid 2021-03-23 10:30:45 +08:00
Tienson Qin e06ee2290f refactor: merge both vendor.css and main.css
Import all used CSS modules into tailwind.all.css
2021-03-19 22:08:35 +08:00
charlie 67321778a6 improve(dev): css development flow 2021-03-19 15:16:21 +08:00
Charlie 2625552e76
improve(dev): support tailwind jit mode (#1473) 2021-03-18 19:46:39 +08:00
Tienson Qin 5ce319415c fix: fix code-editor and other extensions not working when publishing
Also, removed unused files for publishing
2021-03-16 23:03:46 +08:00
charlie ad40770e96 improve(electron): release build script 2021-01-28 23:00:36 +08:00
charlie 32c2d4f268 feat(electron): support upload any asset types 2021-01-28 15:57:42 +08:00
charlie 16a5974656 improve(electron): development experience 2021-01-21 12:11:02 +08:00
charlie b40b5925f7 refactor: build styles 2020-12-21 14:02:02 +08:00
charlie 6f9a475ef4 fix: gulp:build for production 2020-12-17 15:38:03 +08:00
charlie 4e1e3b3df5 refactor: improve development experience of styles 2020-12-15 16:08:13 +08:00
Runjuu 2ee5d0a5f0 feat(dev): using same style path at production
https://github.com/logseq/logseq-backend/pull/1
2020-11-02 16:36:07 +08:00
Runjuu df1043be0a feat(dev): update build process
change output from `resources/static/` to `static/`
2020-11-02 10:52:37 +08:00
Runjuu 22887860df feat(dev): better support for processing tailwind css
- support use tailwind’s most features.
- support write css right next to the components.
2020-11-02 09:56:52 +08:00