Charlie
dd2ef163ba
Enhance/PDF viewer ( #7369 )
...
* fix(pdf): WIP potential memory leaks
* enhance(pdf): sync page number in highlights metafile
* enhance(pdf): support preview highlight area image in a lightbox
* fix: clojurescript unit tests
* fix(pdf): page number overflow when more digits
2022-11-17 20:31:08 +08:00
charlie
3c937520a6
fix(ui): polish form input
2022-10-13 16:52:51 +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
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
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
charlie
ec7c72b1e9
enhance(ui): disable left menu button when pdf view active
2022-06-01 18:33:06 +08:00
charlie
d8fc5d4a27
fix(pdf): PDF toolbar covers top of scrollbar. #4509
2022-03-09 18:25:55 +08:00
charlie
9938656f53
fix(ui): unwanted left padding when pdf viewer active
2022-02-17 10:02:32 +08:00
charlie
2bc96772c5
fix(ui): toolbar broken of pdf viewer when narrow container
2021-12-16 20:08:43 +08:00
Charlie
c63f1f0d15
Enhance/left sidebar responsive ( #3376 )
...
* improve(ui): [WIP] refactor left sidebar component
* improve(ui): [WIP] refactor left sidebar component
* improve(ui): polish left sidebar for mobile
* improve(ui): polish left sidebar for mobile native
* fix: unnecessary stateful component
* improve(ui): tweak padding inner left sidebar
* fix(tests): update tests
* fix(ui): close left sidebar when create page on sm breakpoint
* improve(ui): tweak `--ls-left-sidebar-sm-width` to 70%
* fix(ui): overlap between left sidebar and toolbar right area on mobile
2021-12-08 21:13:57 +08:00
charlie
8bdf0a965d
fix(ui): position of left sidebar trigger when pdf viewer active
2021-10-25 10:28:18 +08:00
charlie
e62e2d8ed6
fix(pdf): support the raw path under win32 that included backslash for pdf local resource
2021-10-06 23:51:47 +08:00
Charlie
7f9a04d2c1
feat(ui): enhance left sidebar ( #2899 )
...
* feat(ui): enhance left sidebar
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
2021-10-01 21:27:31 +08:00
Charlie
e47ad9909d
Enhance/pdf ( #2855 )
...
* feat(pdf): add go to annations page to pdf viewer toolbar
* improve(pdf): try to fix highlight selection blink
* improve(pdf): remove annations layer
* fix(pdf): try to fix selection blink
* Squashed commit of the following:
commit 995fba8623
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Thu Sep 16 13:59:08 2021 +0800
fix: disable plugins on the Web
commit d6a011fd35
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Thu Sep 16 12:31:01 2021 +0800
enhance(perf): add :ref/linked-references-collapsed-threshold option
Related to #2792
commit f59f59b9ae
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 21:47:05 2021 +0800
enhance: don't overwrite logseq's file if changes from journal file
is empty or the default template content.
To prevent overwritten when using iCloud/OneDrive/GDrive.
commit f5cdfaa2f1
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 20:59:10 2021 +0800
fix: add command-palette/toggle
commit ae25bb387f
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 20:57:57 2021 +0800
fix: add both Cmd+! and Cmd+Shift+p to configurable shortcuts
commit b20d29f813
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 17:12:20 2021 +0800
fix: don't count as failed writes if content from the disk
is not matched to the content in logseq
commit ac89a36ab0
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 14:31:48 2021 +0800
chore: bump mldoc
commit c7128dfc87
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 12:31:11 2021 +0800
enhance: text update
commit d965394be2
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 11:28:39 2021 +0800
feat: add namespace query support
commit 4f1402ea42
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 09:52:56 2021 +0800
enhance: remove the plus icon for switching graphs
commit 3550e4bbf0
Author: Gustavo Santos <gustavofsantos@outlook.com >
Date: Tue Sep 14 13:43:57 2021 -0300
fix: set aria-checked to "true" if toggle is on
commit 640d447b3b
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 09:48:47 2021 +0800
debug: disable cache node modules temporally
commit 6ab7f44f5f
Author: Tienson Qin <tiensonqin@gmail.com >
Date: Wed Sep 15 00:01:14 2021 +0800
enhance: marketplace polish
commit 07063f1592
Author: charlie <xyhp915@qq.com >
Date: Tue Sep 14 18:27:06 2021 +0800
fix(plugin): restart app not work
commit 7b909704ab
Author: charlie <xyhp915@qq.com >
Date: Tue Sep 14 15:43:30 2021 +0800
fix(ui): broken width for plugins page when toggling widen mode
commit d456ed7823
Author: charlie <xyhp915@qq.com >
Date: Tue Sep 14 15:36:32 2021 +0800
enhance(plugin): polish marketplace ui
* fix(pdf): try to fix horizontal scroller when viewer overflow
* fix(pdf): make text selectable for embed highlight range
* feat(pdf): pager of viewer on toolbar
* fix: conflicts
* improve(pdf): register shortcuts for pager
* improve(pdf): try to fix area image blurry for high dpi screen
* improve(pdf): support dashed style for area highlight
* fix(pdf): change shortcuts for win32
2021-09-22 12:14:39 +08:00
charlie
25ce935e5a
fix(ui): overflow of pdf highlight menu popup
2021-08-13 11:31:46 +08:00
charlie
df81cf39b9
fix(pdf): sometimes goto destination not working
2021-08-12 11:26:04 +08:00
Charlie
1324ce262e
Enhance/pdf minor tweaks ( #2598 )
...
* fix(pdf): restrict the max width of pdf viewer
* improve(pdf): change shift key as area highlight shortcut on Win32
* fix(ui): svg component warning
* improve(feat): support go to annotation block within highlight ctx menu
* improve(pdf): resolved #2567
* improve(pdf): resolved #2572
* improve(pdf): polish title display of hls page
* style(pdf): fix container layout
* improve(pdf): restrict minimum width of viewer
2021-08-10 21:05:31 +08:00
Tienson Qin
40eba4dade
feat: support PDFs outside assets
...
For example, 
should be opened by the pdf viewer and allows highlights.
2021-08-09 12:50:02 +08:00
Tienson Qin
aa83d13a65
fix: widen mode width
...
also, set the background for pdf control buttons
2021-08-07 00:16:31 +08:00
Tienson Qin
5987fbcddd
fix: sometimes pdf links can't be opened
2021-08-06 21:28:02 +08:00
Tienson Qin
de7c6584fb
enhance: pdf title
2021-08-06 21:21:38 +08:00
charlie
4065a26334
style(pdf): polish viewer ui
2021-08-06 15:50:21 +08:00
charlie
54e0063a89
style(pdf): fix viewer background
2021-08-06 15:44:26 +08:00
charlie
a47e82c51f
style(pdf): polish toolbar icons & area highlight mixed color
2021-08-06 15:15:14 +08:00
charlie
cdc000efbf
improve(pdf): support toggle area highlight mode from toolbar
2021-08-06 11:48:45 +08:00
charlie
441a5ec077
improve(pdf): modifiable area highlight & persist area image data
2021-08-04 21:33:21 +08:00
charlie
abef578493
improve(pdf): render area highlights
2021-08-03 17:26:47 +08:00
charlie
673f53bcd4
improve(pdf): add mouse selection shadow area
2021-08-03 13:12:34 +08:00
charlie
be811edd60
improve(pdf): add area selection container
2021-08-02 17:44:39 +08:00
charlie
80ad5949d2
improve(pdf): display pdf meta info
2021-08-02 13:48:26 +08:00
charlie
f288a1a9c3
improve(pdf): polish toolbar
2021-08-02 10:43:25 +08:00
charlie
034cb42d39
fix(pdf): blink when switching pdf in dark mode
2021-07-28 22:13:20 +08:00
charlie
7888307fe4
improve(pdf): support foldable outline items
2021-07-28 21:51:53 +08:00
charlie
f507b44c85
improve(pdf): support more enjoyful viewer themes
2021-07-28 16:57:49 +08:00
charlie
7d3271442e
improve(pdf): make highlight origin block ref linkable
2021-07-28 11:06:28 +08:00
charlie
97b3f5ed2e
improve(pdf): update outline life
2021-07-27 15:25:18 +08:00
charlie
0a7f514473
improve(pdf): open block highlight ref in viewer
2021-07-27 13:00:13 +08:00
charlie
922d5a5bce
improve(pdf): open pdf viewer when click local pdf asset link
2021-07-23 16:07:45 +08:00
charlie
f62d3c038d
imporve(pdf): outline viewer
2021-07-22 15:03:01 +08:00
charlie
2d04b0a614
improve(pdf): support zoom in/out viewer
2021-07-21 17:43:41 +08:00
charlie
47dcaefa9f
improve(pdf): support draggable pdf viewer
2021-07-21 12:54:31 +08:00
charlie
7131d1b0cf
improve(pdf): load pdf assets to viewer
2021-07-20 15:41:07 +08:00
charlie
fb2881b504
improve(pdf): assets uploader of related page
2021-07-19 21:59:58 +08:00
charlie
51003adfd6
improve(pdf): individual layout for pdf viewer on page
2021-07-19 15:59:02 +08:00
charlie
1653b7c3db
improve(pdf): scroll to hightlight
2021-07-19 14:30:03 +08:00
charlie
906ab01d47
improve(pdf): copy & delete hls
2021-07-19 12:26:42 +08:00
charlie
3f74677ee4
improve(pdf): add hls context menu
2021-07-16 23:37:39 +08:00
charlie
ac851bd7da
style(pdf): import viewer css correctly
2021-07-16 15:52:54 +08:00
charlie
69f271cba5
imporve(pdf): add text highlights region
2021-07-15 22:26:18 +08:00
charlie
8ec5ce0cde
improve(pdf): construct highlights data
2021-07-15 17:53:09 +08:00