Commit Graph

8352 Commits

Author SHA1 Message Date
charlie
9e9ae5c6f4 enhance(pdf): remove invalid highlight selection range rects 2023-11-02 17:47:52 +08:00
e-zz
c55c25d3ca fix: wrong bounding coordinates for highlights
This should fix #10400.

After a multiline text selection in PDF, the first rectangle in sel-range is a incorrect "noise", not relevant to the selection range. The underlying cause is not clear to me. Note that it's a universal problem when doing mutliline highlights, even though most of the time it does not have any effect on user experience.   

This commit is a working hotfix. And very possibly there would be a better solution after looking into the update mechanism of the variable `sel-state` used here. But I have no enough experience to dive into this.
2023-11-02 17:47:52 +08:00
Charlie
43c8e1cb38 Revert "feat(pdf): add zoom via touchpad (#10435)"
This reverts commit 89cd619a34.
2023-11-01 21:11:34 +08:00
Andelf
77d92f4d08 chore(release): bump version 0.9.20 2023-11-01 13:43:01 +08:00
Andelf
d39a61a008 enhance(sync): make smart merge the default option 2023-11-01 02:19:09 +08:00
Andelf
cf829815af fix(journal): handle non-standard journal name page-ref (#10434)
* fix(journal): handle non-standard journal name page-ref

Fix #10432
2023-11-01 02:18:47 +08:00
CorrectRoadH
89cd619a34 feat(pdf): add zoom via touchpad (#10435)
* feat(pdf): add zoom by touchpad
* feat: reduce the debounce
2023-11-01 02:17:44 +08:00
SylvainDuran
a4a1622bdd Update fr.edn
French language grammar corrections.
2023-10-31 09:22:01 -04:00
hasecilu
34b5bcd6d0 Update Spanish translation 2023-10-30 13:40:27 -04:00
Andelf
99a38de201 fix: wrong date fn usage in #10350 2023-10-27 20:57:15 +09:00
Charlie
1389836119 Feat: the new handbooks (#8524)
* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks popup

* feat(ui): WIP dragable & resizable for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP handbooks markdown body

* feat(ui): WIP handbooks nodes for dashboard render

* feat(ui): WIP watch mode for development

* improve(ui): typos

* feat(ui): WIP enhance watch mode

* feat(ui): WIP support topic conent link local assets

* feat(ui): WIP support slide gallery for demo images & videos.

* fix(ui): parse value about draging position offset

* improve(ui): background color transition of handbook item card

* improve(ui): resizable of handbooks popup

* feat(handbooks): search topics

* improve(handbooks): search results within topics group

* improve(ui): better interaction for handbooks searchbar

* fix(handbooks): conflictive up/down for searchbar interaction

* improve(ux): better interaction for handbooks searchbar

* feat(ux): support youtube video for topic demos media

* fix(ui): container size of youtube video demos

* improve(handbooks): support local video for topic demos

* improve(ui): polish markdown body style for handbooks topic details

* chore: remove debugs

* chore: remove debugs

* improve(ui): polish active style for topic item card

* improve(ui): polish style of demos item

* improve(ui): help buttons still be visible when right sidebar opened

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support chapters searching for topics list

* fix: lint

* improve(ui): position of demo slides bullets

* fix(ui): index of chapter select

* improve(handbooks): typo

* fix(dev): lint

* fix(dev): lint

* fix(pdf): remove prefix(`@`) checking for links of org mode page

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks popup

* feat(ui): WIP dragable & resizable for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP handbooks markdown body

* feat(ui): WIP handbooks nodes for dashboard render

* feat(ui): WIP watch mode for development

* improve(ui): typos

* feat(ui): WIP enhance watch mode

* feat(ui): WIP support topic conent link local assets

* feat(ui): WIP support slide gallery for demo images & videos.

* fix(ui): parse value about draging position offset

* improve(ui): background color transition of handbook item card

* improve(ui): resizable of handbooks popup

* feat(handbooks): search topics

* improve(handbooks): search results within topics group

* improve(ui): better interaction for handbooks searchbar

* fix(handbooks): conflictive up/down for searchbar interaction

* improve(ux): better interaction for handbooks searchbar

* feat(ux): support youtube video for topic demos media

* fix(ui): container size of youtube video demos

* improve(handbooks): support local video for topic demos

* improve(ui): polish markdown body style for handbooks topic details

* chore: remove debugs

* chore: remove debugs

* improve(ui): polish active style for topic item card

* improve(ui): polish style of demos item

* improve(ui): help buttons still be visible when right sidebar opened

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support chapters searching for topics list

* fix: lint

* improve(ui): position of demo slides bullets

* fix(ui): index of chapter select

* improve(handbooks): typo

* fix(dev): lint

* fix(dev): lint

* improve(handbook): i18n

* fix(lint): unused translations

* fix: accessibility issues and translations

* fix(handbook): chapters navigation

* enhance(handbook): ux of the chapters select

* enhance(handbook): support link other page with markdown link syntax

* improve(ui): polish ui details of handbook topics card

* fix(handbook): parse key from href with a specific extension

* enhance(handbook): logic of chapters navigation

* enhance(handbook): ui of chapters navigation

* fix: lint

* improve(ui): display nowrap for code text

* fix(handbook): remove unnecessary source map

* fix(ui): missing component key of handbook chapter select

* enhance(handbook): WIP support panes navigation for the external links

* enhance(handbook): support panes navigation for the external links

* improve(ui): footer links of the handbook home pane

* improve(ui): footer links of the handbook home pane

* improve(ui): polish topics card

* improve(handbook): add shortcuts category card for home pane

* improve(ui): WIP the new help menu

* improve(ui): the new help menu

* fix: incorrect help link

* improve(ux): close help menu when click outside

* fix: lint

* fix(lint): remove unused translation

* fix(ui): the link of changelog

* fix(ui): the cover thumb container size of the topic card

* fix(ui): handbook popup overlay index

* enhance(ux): preivew images with lightbox modal for the handbook content

* enhance(ux): bottom border for the handbook content header when then content body scrolled

* fix: missing i18n

* improve(handbook): polish ui details

* fix: lint

* enhance(handbook): polish details

* fix(ui): incorrect safety init

* fix(ui): missing key for the help menu items

* enhance(ui): disable resize for the handbook popup container

* chore: build libs core

* fix(ui): incorrect shortcuts label

* enhance(handbook): cache discord online number

* enhance(handbook): fix heading level sizes

* enhance(handbook): improve paragraph spacing

* enhance(handbook): improve margins of media elements

* enhance(handbook): polish discord button

* enhance(plugin): make headings/font weights/colors look like in the design

* enhance(handbook): writing mode option is only available for develop mode

* enhance(handbook): polish handbook dashboard page

* enhance(handbook): typos

* enhance(ux): get discord online users count from logseq server

* fix(handbooks): incorrect var name

* enhance(handbook): polish details

---------

Co-authored-by: Bad3r <bad3r@protonmail.com>
Co-authored-by: situ2001 <yongcong2001@outlook.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-10-27 14:33:10 +08:00
Andelf
71f5601301 fix(journal): wrong save location for page name with two slashes
Fix #10219
2023-10-26 10:54:32 +09:00
Andelf
8e7f067692 fix(editor): error while creating a page named with journal filename
Fix #10349
2023-10-26 10:54:32 +09:00
Uday Kalbhor
88b61adbd7 fix: issue-9380 - #card should only be appended to the title
https://github.com/logseq/logseq/issues/9380

Bug:
Make block with any text and one property after the text
Use bullet context menu to call «Make Flashcard» command
2023-10-26 10:38:45 +09:00
Charlie
6751e28c30 feat(pdf): add toggle option for the feature of auto opening the highlight context menu from new text selection (#10390)
* enhance(pdf): add auto open context menu option for new highlight selection
* refactor(pdf): improve code readability
* chore(pdf): i18n
2023-10-24 22:20:22 +08:00
Charlie
0e63086658 enhance(ux): disable keymap settings for the mobile (#10380) 2023-10-19 15:18:30 +08:00
Andelf
7c1b23163c fix: use set to match condition 2023-10-19 15:12:03 +09:00
Andelf
13a59d922d fix: wrong mime type check 2023-10-19 15:12:03 +09:00
Andelf
c932ca8ca0 fix: lint 2023-10-19 15:12:03 +09:00
Andelf
5964557612 fix(editor): let drop-handler not handle dropped assets when editing 2023-10-19 15:12:03 +09:00
Andelf
fc653c9f05 fix(editor): not being about to save dropped assets
- Refactor: mv get-asset-file-link to assets-handler
- Fix: iOS binary file saving using base64
- Fix: Drop assets on non-editing block
2023-10-19 15:12:03 +09:00
Andelf
c996bfe658 enhance(mobile): add binary writing support via base64 2023-10-19 15:12:03 +09:00
ingepettersen
6be6edfcdb Update Norwegian translations (#10361)
* Update Norwegian translations

* Fix missing double quote
2023-10-16 14:47:16 -04:00
charlie
9ca6e7896d fix(shortcut): render crash when edit disabled binding item 2023-10-14 00:59:36 +08:00
charlie
dd246229b7 enhance(shortcuts): incorrect default internal binding state 2023-10-14 00:59:36 +08:00
Andelf
f78d165535 fix(mobile): avoid action bar vscroll 2023-10-13 04:04:53 +09:00
Andelf
845355d41b fix(android): back button should close action bar
Fix #10341
2023-10-13 04:04:53 +09:00
Andelf
bd36efe4f7 chore: bump version 0.9.19 2023-10-11 22:04:58 +09:00
Andelf
b19ab6701f fix(search): better guard against corrupted search db 2023-10-11 22:02:22 +09:00
Andelf
3e3cb35d28 fix(electron): bypass corrupted sqlite search index, fix #10267 2023-10-11 22:02:22 +09:00
Tienson Qin
c3a38cd2cb fix: the first window not closing when there're multiple windows (#10336)
* fix: window not closing
2023-10-11 20:23:00 +08:00
hasecilu
a4f5ddb1fd Update Spanish translations 2023-10-11 20:46:20 +09:00
charlie
1c1a07db4e fix(pdf): missing the initial ref highlight block sometimes 2023-10-11 17:35:33 +09:00
Konstantinos Kaloutas
a15daea979 fix: close window while editing 2023-10-09 21:53:37 +08:00
charlie
8c79a2c5f4 fix(apis): incorrect api call for the electron production bundle 2023-10-09 21:52:52 +08:00
charlie
088ca5e592 fix(ui): incorrect modal position for overflow editor content input 2023-09-29 23:32:18 +09:00
Konstantinos
bdba1ff86f Feat (Whiteboards): Pen mode (palm rejection) (#10222)
* introduce pen mode
* add isPrimary check
2023-09-28 15:16:22 +08:00
Alan Roe
7c0e5edb8d enhance(electron): ctrl or cmd + = to zoom 2023-09-28 01:07:48 +09:00
Andelf
d67f47304f fix(editor): drag and drop to dummy page
See-also: #10104, #10262
2023-09-27 17:07:48 +09:00
Andelf
46c7213d5a fix(test): refine e2e accessiblity rules 2023-09-26 17:19:42 +09:00
Andelf
78542e5d97 fix(android): typo for navbar color 2023-09-26 17:19:42 +09:00
Andelf
6fc7a1a137 refactor(mobile): upgrade to capacitor v5 2023-09-26 17:19:42 +09:00
Andelf
438976c7e6 fix(code): guard nil editor dom obj 2023-09-26 17:19:42 +09:00
jionkitten
dd28710a9b fix(pdf): too frequent highlights saving 2023-09-21 10:11:27 +09:00
Alan Roe
82e24d9fd3 feat: cursor jump to start/end of first/last line 2023-09-21 10:10:54 +09:00
Andelf
6eb82e822a chore: bump version 0.9.18 2023-09-21 00:38:43 +09:00
Andelf
0831f312d9 fix(fs): disable graph name warning
See-also: #10246
2023-09-21 00:37:24 +09:00
charlie
7c15eb7ffc fix(mobile): incorrect asset resource path for custom css 2023-09-19 12:15:44 +09:00
Andelf
af2d00ac88 enhance(electron): close notification message when test proxy setting 2023-09-15 18:58:32 +09:00
Gabriel Horner
5f4c06b28b Include version in issue plugin list 2023-09-15 13:28:03 +09:00