Commit Graph

729 Commits (1a59dc184fe4caff1aeb62860d051799a095ed11)

Author SHA1 Message Date
charlie 2d749e3814 fix(ui): input style of page title when editing. 2022-10-19 01:16:52 +08:00
Konstantinos Kaloutas 6e3a54677d feat: auto heading 2022-10-18 10:42:41 +08:00
charlie 3068868347 fix(electron): open custom protocol links as default condition 2022-10-16 12:17:44 +08:00
charlie 489090bc87 fix(ui): polish form input 2022-10-13 16:52:51 +08:00
Tienson Qin 7d3ed2bc97 Style tweaks 2022-10-10 18:08:48 +08:00
Konstantinos Kaloutas d238c88afd chore: add allowed protocols for openExternal 2022-10-10 13:42:22 +08:00
Charlie d53ac94bfc
Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +08:00
Peng Xiao c7fe4933b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-07 16:18:27 +08:00
Konstantinos 6007d6061f
Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +08:00
Tienson Qin f4262cf919
Enhance/api storages for graph assets (#6488)
* improve(api): assets storage for plugin

Co-authored-by: charlie <xyhp915@qq.com>
2022-10-04 12:30:19 +08:00
Andelf 96fc757793 fix(windows): update rsapi, use static link 2022-10-02 19:27:14 +08:00
Peng Xiao a4417c5f1a Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-02 12:36:45 +08:00
Andelf 0de13bf553 chore: bump version 0.8.8 2022-09-30 18:49:16 +08:00
Peng Xiao bb2df1b3b7 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-30 08:51:05 +08:00
Andelf 6a6974671f chore(deps): update file-sync libs 2022-09-29 19:36:42 +08:00
Peng Xiao fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +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
charlie f8cc6378c3 improve(ui): update built-in icon mode 2022-09-21 14:49:20 +08:00
Peng Xiao a0b0e30f22 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-20 16:51:36 +08:00
Andelf dfbb42a1b3 fix(sync): update rsapi, add graph-uuid to all fn 2022-09-20 15:06:17 +08:00
Konstantinos Kaloutas 1df686eb2a style: tabler css 2022-09-15 12:27:50 +03:00
Konstantinos Kaloutas 7a975ac322 fix: tabler icons css 2022-09-15 12:17:56 +03:00
Konstantinos Kaloutas 7212324373 fix: selection text color 2022-09-15 12:17:31 +03:00
Konstantinos Kaloutas caf72d9b98 Merge branch 'whiteboards' into feat/whiteboards-create-button 2022-09-15 09:37:09 +03:00
Peng Xiao 031ad9c4a9 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-15 09:46:44 +08:00
Andelf 76f40d4bcf chore: bump version 0.8.7 2022-09-14 23:19:56 +08:00
Konstantinos Kaloutas debf0e8054 chore: update icon font 2022-09-14 17:43:40 +03:00
Konstantinos Kaloutas 130b26021c chore: introduce selection text css var 2022-09-14 14:59:38 +03:00
Konstantinos Kaloutas 14e87963ef Revert "chore: increase the max width of main container"
This reverts commit 5bc0537954.
2022-09-14 15:13:00 +08:00
Peng Xiao eaec72e676 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-14 00:26:16 +08:00
Andelf 412e749cb8 chore: bump version 0.8.6 2022-09-13 22:55:49 +08:00
Andelf 6253800b16 chore(deps): update some deps that have cve warnings 2022-09-13 11:51:18 +08:00
Peng Xiao 4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Konstantinos Kaloutas c511b88ddc chore: increase the max width of main container 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas 560d280acd fix: blurry tooltips 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas 73bbcc2ba0 fix: persist zoom level on navigation 2022-09-09 12:13:56 +08:00
Andelf 59e7d092b1 feat(build): release .nupkg file 2022-09-07 11:43:54 +08:00
Peng Xiao 839b5f35f9 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-06 21:31:57 +08:00
Andelf 43dd321ce4 test(e2e): split build and test 2022-09-06 12:52:53 +08:00
Andelf 9b9226b023 chore(deps): update rsapi 2022-09-06 10:47:07 +08:00
Peng Xiao 88a07a55cb Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 14:40:43 +08:00
Andelf 8dd0e1977c chore(deps): update rsapi 0.0.36
fix: windows path handling
2022-09-02 13:14:08 +08:00
Peng Xiao 5e44055984 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 09:46:58 +08:00
Andelf 5f36380e7f chore(deps): update rsapi 0.0.35
chore(build): default to file-sync prod env
2022-09-02 05:04:30 +08:00
Andelf 57c1145677 chore(deps): update rsapi 0.0.34 2022-09-02 03:56:41 +08:00
Andelf 1cf767e5d0 chore: bump version 0.8.4 2022-09-02 00:10:26 +08:00
Peng Xiao 33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +08:00
Andelf c45a15d576
chore: bump version 0.8.3 (#6537) 2022-09-01 00:40:21 +08:00
Charlie 01d879c18e
feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Konstantinos Kaloutas 4ccd9e4206 Merge branch 'whiteboards' into enhance/whiteboards-ui 2022-08-29 10:32:12 +03:00
Konstantinos Kaloutas 52866ba1e5 fix: styles 2022-08-29 08:24:35 +03:00
Peng Xiao 0ff5324c02 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-29 10:45:15 +08:00
Kan-Ru Chen 0fce4a4792 chore(deps): update electron 19.0.12 2022-08-29 06:53:34 +08:00
Peng Xiao aba435b9a0 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 19:36:48 +08:00
charlie c7f17e905e chore: build libs core 2022-08-26 18:48:00 +08:00
Peng Xiao 1e607907f3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 15:46:20 +08:00
Konstantinos Kaloutas 2c581d9827 fix: contrast issue 2022-08-26 11:52:23 +08:00
Peng Xiao 37d0ad2524 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-24 16:50:57 +08:00
Andelf fe99ca703f fix(windows): handle open dir
Fix #6438
2022-08-23 11:38:43 +08:00
Andelf ea421da572 chore: bump version 0.8.2 2022-08-23 11:37:42 +08:00
Peng Xiao 62e962a4b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-23 11:33:30 +08:00
charlie 7e3610077b chore: build libs core with more debug info 2022-08-22 21:54:17 +08:00
charlie 9fbea041ae chore: build libs core 2022-08-22 21:54:17 +08:00
Konstantinos Kaloutas d5a42b0bdc enhance: update clear icon and increase size 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas cd563a286e enhance: clear background button icon 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas 777fd19432 enhance: use backdrop element to close the menu 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas 7d426983a8 enhance: make contranst of menu separator subtle 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas 7b155bdd24 fix: padding of menu links wrapper 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas bc21daee88 enhance: context and dropdown menu 2022-08-22 19:07:40 +08:00
Peng Xiao 40b4b44091 wip: update icons 2022-08-20 17:12:16 +08:00
Peng Xiao 79e3d0a93a fix: whiteboard title styles 2022-08-20 13:31:25 +08:00
Peng Xiao 4d0478a515 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-16 11:47:26 +08:00
Andelf 0283c40abc chore: bump version 0.8.1 2022-08-16 10:42:28 +08:00
Peng Xiao 280ace28f3 fix: update icons 2022-08-12 13:14:08 +08:00
Peng Xiao 1736910358 fix: revert back electron pkg name 2022-08-09 18:52:51 +08:00
Peng Xiao 1d7374ba86 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-09 09:47:00 +08:00
Andelf 80fb12b6e7 chore(deps): update electron 19.0.10
BREAKING CHANGE: IndexDB version incomaptible, should clear cache
2022-08-09 00:08:09 +08:00
Grant Moyer 161d3174e4
Upgrade electron to 19 (#6032) 2022-08-08 23:54:30 +08:00
Andelf da5f22acbc chore: bump version 0.8.0 2022-08-08 21:48:53 +08:00
charlie 040c8282be chore: build libs core 2022-08-08 15:49:11 +08:00
Peng Xiao d5a1bbf1a9 feat: enhance quick add ux 2022-08-06 23:03:09 +08:00
Peng Xiao 06f1594fad feat: tag icon in list 2022-08-06 14:38:10 +08:00
Peng Xiao 1e476bd26c feat: add tabler icon extensions 2022-08-05 21:50:58 +08:00
Peng Xiao b49cccb966 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-29 12:44:00 +08:00
Andelf 5e2487c6d8 chore(release): bump version 0.7.9 2022-07-27 14:36:25 +08:00
Peng Xiao 66a08f8916 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-26 09:31:48 +08:00
Gabriel Horner b3f2b4f6a3
Merge pull request #6127 from gavinmn/gavinmn/fix-big-sur-icons
fix alignment of macOS icon
2022-07-21 09:40:55 -04:00
Peng Xiao 2ade950ea1 fix: copy & paste in whiteboard 2022-07-21 21:10:41 +08:00
Andelf 03569c7c8b fix(ui): inline code style
Fix #6121
2022-07-21 13:22:15 +08:00
Peng Xiao 26f04b073b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-21 10:24:48 +08:00
Andelf 1562101f83 chore: bump version 0.7.8 2022-07-21 07:55:07 +08:00
gavinmn 8061b3e35a fix colors 2022-07-20 19:46:00 -04:00
gavinmn 9bb1fd5f7a fix position of big sur icons 2022-07-20 18:56:17 -04:00
Andelf 3dbb6e81d1 fix(build): codesign error 2022-07-21 00:46:52 +08:00
Andelf 0bebff8ce9 chore: bump version 0.7.7 2022-07-20 15:02:50 +08:00
Peng Xiao 2bb7ef5919 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-18 22:50:43 +08:00
Peng Xiao 03e79edaa1 wip save/load whiteboard edn 2022-07-14 15:59:29 +08:00
charlie 390a2469da chore(plugin): build libs core 2022-07-14 11:09:10 +08:00
Peng Xiao d8fe1b0b37 fix: export as html issue 2022-07-14 11:07:26 +08:00
Wojciech Nawrocki 2390846531
feat(pdf): fix formatting of copied text (#4564)
* chore(pdf): update pdfjs to 2.13.216

Also reapplied pdf_viewer fix from d3b4773.

* fix(pdf): formatting of copied text

* chore(pdf): update viewer CSS to 2.13.216

* chore(pdf): remove deprecated option

* chore(pdf): update pdfjs to 2.14.305

* doc(pdf): document some functions

* fix(pdf): highlight positioning
2022-07-12 18:30:50 +08:00
SainoNamkho 18568c03a0 Fix #5853
Close #5855
2022-07-12 09:54:48 +08:00
Andelf ccc37e961d refactor(ui): clean up css nesting 2022-07-12 09:54:08 +08:00
Andelf 0aebfe1304 feat(ui): bold code, italic code, marked code 2022-07-12 09:54:08 +08:00
Peng Xiao d3dae5fddc Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-07 14:07:35 +08:00
Andelf 49dcbece25 chore: bump version 0.7.6 2022-07-04 21:16:49 +08:00
Peng Xiao 35d00eda74 code cleanup 2022-07-03 15:55:01 +08:00
Peng Xiao 26ad627661 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-03 12:46:36 +08:00
Phoenix Eliot e92af35954 Reduce flicker when moving between blocks with keyboard 2022-06-28 15:10:37 +08:00
Andelf 1d4e78a228 chore: bump version 0.7.5 2022-06-20 23:31:12 +08:00
Peng Xiao 36513b7391 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-20 15:12:07 +08:00
charlie f3bedb200e improve(plugin): add theme changed hook 2022-06-16 01:43:49 +08:00
charlie e4b71a4ccf improve(plugin): support abortable controller of request api 2022-06-16 01:43:49 +08:00
Peng Xiao 6b5b1940d3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-14 10:17:21 +08:00
Andelf e3d1096f63 chore: bump version 0.7.4 2022-06-14 00:13:47 +08:00
ranfdev 7d8c2fbbb8 Header icon consistency 2022-06-13 15:42:08 +08:00
Andelf e2e531ba47 chore: bump version 0.7.3 2022-06-08 23:38:23 +08:00
Andelf 6435581260 chore: bump version 0.7.2 2022-06-07 16:37:22 +08:00
Peng Xiao 5c2e644a43 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-07 10:52:11 +08:00
Andelf 5d23dc96a2 fix(deps): use static build under windows 2022-06-01 18:14:48 +08:00
Andelf 4ea881afaa chore: release 0.7.1 2022-05-31 18:02:10 +08:00
Charlie 55ccdd5dba
Feature/onboarding Quick tour (#5247)
* enhance(ui): polish elements of left sidebar

* enhance(ui): active state of nav item from left sidebar

* enhance(ui): active state of nav item from left sidebar

* enhance(ui): WIP quick tour tips

* enhance(ui): WIP quick tour tips

* enhance(ui): WIP quick tour tips

* enhance(ux): add quick tour palette command

* enhance(ui): add step dots for quick tour tips

* enhance(ux): title hints for sidebar link items

* fix(ui): active state for journals from left sidebar

* enhance(ux): support quick tour command when initial app

* fix(ui): position of journal page quick tour tip box

* fix: cljs lint

* fix: remove unused method

* fix(e2e): e2e test for new left sidebar
2022-05-31 16:41:17 +08:00
llcc f65995ce5e tweak css on mobile 2022-05-30 16:19:24 +08:00
llcc c3f5d02ef9 make left-sidebar 100% width 2022-05-30 16:19:24 +08:00
Peng Xiao a72b28145c
Merge branch 'master' into whiteboards 2022-05-28 02:13:33 +08:00
Tienson Qin 1f4de901f5 fix: lazy visual blink 2022-05-25 23:12:09 +08:00
Andelf df12a70016 chore(release): bump version 0.7.0 2022-05-24 23:46:56 +08:00
Andelf b425746ccd fix(build): lock electron along dep path
Fix #5413
2022-05-24 17:22:49 +08:00
Peng Xiao 0075dac0c5 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-05-23 21:54:07 +08:00
Andelf 201093bdd6 chore(release): bump version 0.6.10 2022-05-23 21:45:52 +08:00
Peng Xiao 7038e6cbe6
Merge branch 'master' into whiteboards 2022-05-20 16:08:35 +08:00
Andelf e4e19a1eb3 chore: update deps(rsapi) 2022-05-19 16:20:52 +08:00
Yue Yang 17b91e51c3
feat: custom theme switching (#4741)
* feat: custom theme switching

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: handle reset-custom-theme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: unregisterTheme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: format with ts-standard

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: reset extra formats

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: simplify array types

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* Update lsplugin.core.js

* fix: sync upstream

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: add `no mode` themes into panel

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: ci

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: remove first <hr />

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: lockfile

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: update

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: set-theme! => set-theme-mode!

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: selectTheme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* perf: reduce unnecessary logic

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-05-19 10:18:43 +08:00
Tienson Qin 56e594adb7 fix: add missing tldraw.js for electron 2022-05-17 10:50:16 +08:00
Peng Xiao 12d6ec8bb9 Merge remote-tracking branch 'upstream/master' into feat/tldraw-basic 2022-05-17 09:38:49 +08:00
Andelf 18f4c21dc9 chore(release): bump version 0.6.9 2022-05-16 19:21:03 +08:00
Peng Xiao a62d6e7e90 Merge remote-tracking branch 'upstream/master' into feat/tldraw-basic 2022-05-16 15:57:40 +08:00
Peng Xiao 97120441db wip
wip
2022-05-16 15:53:10 +08:00
Tienson Qin 4d4ade5c96 enhance: add skeleton loading 2022-05-13 10:15:37 +08:00
Kan-Ru Chen e1fdef43b3 chore: update electron-deeplink to 1.0.10 to fix deeplink on Linux
Fixes #4984
2022-05-12 21:31:16 +08:00
Tienson Qin 3ca8228a74 Only render references when it's visible in the window viewport 2022-05-12 07:39:37 +08:00
Andelf 504b47b67a chore(deps): update rsapi to 0.0.11 2022-05-10 10:39:54 +08:00
Tienson Qin 2d881ae703 fix: wrong age-encryption.js 2022-05-09 23:46:44 +08:00
Andelf 156deb3983 chore: bump version 0.6.8 2022-05-09 22:48:52 +08:00
Tienson Qin 83569141fc feat: add encryption back 2022-05-09 22:15:30 +08:00
Andelf c6369d7c03 fix(sync): update rsapi to 0.0.9 2022-05-08 09:43:05 +08:00
Andelf 22c8544092 chore: bump version 0.6.7 2022-04-29 21:17:19 +08:00
charlie fc0f2b75c6 chore(plugin): update resources 2022-04-29 18:51:25 +08:00
charlie 2b826f17de improve(plugin): add api of query element rect data from host 2022-04-29 18:51:25 +08:00
charlie 2c33c1111f chore: rebuild libs core 2022-04-29 18:51:25 +08:00
charlie c36a026502 chore(plugin): build libs core & update README.md 2022-04-29 18:51:25 +08:00