Commit Graph

520 Commits

Author SHA1 Message Date
Andelf
0bebff8ce9 chore: bump version 0.7.7 2022-07-20 15:02:50 +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
Andelf
49dcbece25 chore: bump version 0.7.6 2022-07-04 21:16:49 +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
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
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
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
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
Andelf
201093bdd6 chore(release): bump version 0.6.10 2022-05-23 21:45:52 +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
Andelf
18f4c21dc9 chore(release): bump version 0.6.9 2022-05-16 19:21:03 +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
Tienson Qin
4e30fda343 Add lightningfs back 2022-04-24 11:17:47 +08:00
Tienson Qin
b5a572ddae Remove worker.js backup file 2022-04-24 11:17:47 +08:00
Tienson Qin
b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
charlie
c363c47a21 fix(plugin): compatible hooks strategy for old libs sdk 2022-04-22 15:51:40 +08:00
Charlie
79bc33e1e3 Enhance/more ns plugin api (#4828)
* improve(plugin): WIP add settings schema

* improve(plugin): add identity for settings modal

* improve(plugin): WIP add settings input

* fix(ui): scrollbar overlay of modal panel content

* improve(plugin): WIP add more render types of setting item

* improve(plugin): WIP polish settings items

* improve(plugin): WIP settings list of plugins

* improve(plugin): more settings types & polish releated ui

* fix(plugin): sometimes disable plugin not work

* improve(plugin): polish ui of plugin settings

* fix(dev): warning of lint

* improve(plugin): add api of settings changed

* chore: build libs core

* fix(ui): width of settings panel wrap

* improve(plugin): separate layouts data from settings aio file

* imporve(plugin): container size of single plugin settings

* fix: add missing state

* improve(plugin): add Git ns

* improve(plugin): git related api

* improve(api): type of git result

* chore: build libs core

* fix(dev): kondo lint

* fix(plugin): use cdn sdk when js entry

* chore: build libs core

* fix(plugin): env condition

* improve(plugin): add UI ns

* fix(api): arguments of datascript query

* enhance(api): manageable message instance of UI tools

* enhance(api): WIP add experiments api

* enhance(api): WIP add resources state of plugin

* improve(plugin): add status of loading script resources

* improve(plugin): more opts for script loader

* improve(plugin): WIP add fenced code renderer hook

* improve(plugin): fenced code renderer hook

* fix(plugin): resource root path of plugin fs location

* imporve(plugin): support local files for loading scripts

* improve(plugin): types of expirements api

* fix: typo of class

* enhance(api): add namespace related apis

* enhance(api): add linked refrences related apis

* enhance(plugin): add sample links to related api comments

* improve(plugin): add db changed hook & optimize strategy of caller for hooks

* improve(plugin): compatible commands registration for old sdk

* improve(plugin): collect user sdk version for plugin local

* improve(plugin): add internal callable apis for user sdk

* chore(plugin): missing files & bump libs version

* improve(plugin): compatiable for old sdk about hook messaging optimization

* improve(plugin): db hook optimization for old sdk

* enhance(ux): auto focus searchbar when open plugins list

* improve(plugin): api of a hook from specific block changed event

* improve(plugin): api of db block change hook

* improve(plugin): add show bracket user config of api

* improve(plugin): api of db block change hook

* fix(api): toggle collapsed of block

* improve(api): try to init grpah with git before exec git commands

* improve(plugin): attributes of sandbox container

* improve(dev): support register command with keybinding

* improve(plugin): add api of register shortcut command

* fix(plugin): reubild slash commands when new command registration

* fix(dev): lint

* improve(dev): lint script of libs codebase

* chore(dev): remove useless codes

* improve(plugin):sanitize path string of plugin repo value

* fix(plugin): rebuild commands list when unregister a plugin

* fix(ui): overflow width of query result table

* chore: rebuild libs core

* improve(plugin): add assets related apis

* chore: rebuild libs core

* improve(plugin): support replace state of into block in page api

* improve(plugin): prepend/append child block in page

* improve(plugin): polished exceptions message of plugin update/install

* fix(plugin): update settings within gui

* improve(ux): debounce change event of input for plugin settings gui

* chore: rebuild libs core

* enhance(plugin): catch exception of hook plugin
2022-04-21 18:43:16 +08:00
Tienson Qin
71e9bdee49 enhance: parsing progress bar 2022-04-21 08:42:52 +08:00
Tienson Qin
6add647572 chore: bump git to address a pair of security vulnerabilities
See more at https://github.blog/2022-04-12-git-security-vulnerability-announced/
2022-04-18 10:01:32 +08:00
Andelf
f7ab5c9685 chore: bump version 0.6.6 2022-04-18 09:33:25 +08:00
Peng Xiao
714d3ce53b fix: menu items should not be selectable 2022-04-12 10:00:06 -04:00