Commit Graph

12353 Commits

Author SHA1 Message Date
Allan Chain
bba8aa5729 fix: reject promise on child error
So that the we won't await infinitely.

Fixes #10107
2023-08-30 14:17:14 +08:00
Allan Chain
474360ff1e fix: input-selection-end is not firing correctly
Fixes #10106
2023-08-30 14:16:39 +08:00
Leonardo Salgueiro
5e1117ef92 fix(bug): #4447 (#10111)
* actually using result from deepMerge when updating settings
* replacing merge from lodash with merge from deepmerge

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-08-30 14:15:45 +08:00
Charlie
10caacd830 fix(ux): make linked references filters reactive when the page properties changed (#9638)
* enhance(ux): reactive page properties for the linked references filters
2023-08-30 14:14:29 +08:00
djm2k
7de92849dd Update develop-logseq-on-windows.md 2023-08-29 22:13:50 +08:00
Charlie
6d6da2046c Enhance/shortcuts (#9803)
* refactor(shortcuts): simplify to build handler category map

* fix(shortcuts): redundant re-mount for the pdf shortcuts

* refactor(shortcuts): simplify names

* refactor(shortcuts): simplify user keynames

* fix(shortcuts): persist inited state for dev mode

* refactor(shortcuts): simplify handlers installation

* refactor(shortcuts): optimize shortcuts mixin

* fix: incorrect function ref

* refactor(shortcuts): shortcuts mixin

* fix(shortcuts): incorrect initialization for the pdf shortcut handler

* refactor(shortcuts): optimize binding keys map

* refactor(shortcuts): optimize shortcuts conflicts detection

* refactor(shortcuts): optimize binding ids map

* refactor(shortcuts): WIP the new keymap page

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP fuzzy search for the shortcuts

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP check shortcut conflicts component

* feat(shortcuts): WIP the new shorcuts record component

* refactor(shortcuts): WIP persist user shortcuts

* fix(shortcuts): detection for the conflicts

* feat(shortcuts): WIP detection for the conflicts

* feat(shortcuts): WIP persist user shortcuts

* refactor(shortcuts): add unit tests

* enhance(ux): search pane for the shortcuts

* feat(shortcuts): remove the existent shortcut item

* feat(shortcuts): fold/unfold categories

* feat(shortcuts): add shortcuts filters

* enhance(shortcuts): resove binding map description

* enhance(shortcuts): reactive category shortcuts

* enhance(shortcuts): register api for plugins

* feat(shortcuts): add keyboard shortcuts filters

* feat(shortcuts): impl keyboard shortcuts filters

* enhance(shortcuts): leader keys for the shortcut conflicts detection

* enhance(tests): leader keys conflicts for the shortucts

* enhance(shortcuts): parse conflicts from current binding list

* enhance(ui): polish the component of the restore shortcut action

* enhance(shortcuts): get conflicts with specific handler id

* enhance(shortcuts): polish the confilts component

* enhance(shortcuts): polish keymap conflicts component

* enhance(shortcuts): ux for handling shorcuts conflicts

* enhance(ui): polish notifications cp

* fix(shortcuts): remove reduplicate shortcuts for category

* enhance(shortcuts): polish ux for handling shorcuts conflicts

* chore(plugin): build libs core

* enhance(plugin): support shortcut command lifecycle hooks

* enhance(plugin): support shortcut command lifecycle hooks

* chore(plugin): build libs core

* enhance(shortcuts): support shortcuts saved to global config

* enhance(shortcuts): support shortcuts be saved to global config

* feat(shortcuts): support keymap manager to global settings

* enhance(shortcuts): shortcut to open keymap settings

* fix(units): tests

* fix: lints

* enhance(shortcuts): unlisten all shortcuts

* fix: lints

* fix: lints

* fix(units): tests

* fix(units): tests

* fix(units): tests

* enhance(shortcuts): unlisten/listen all shortcuts

* enhance(shortcuts): polish conflicts component

* fix(ui): modal size

* fix(ui): modal panel container

* enhance(shortcuts): i18n

* enhance(ui): layout of the shortcuts recorder component

* fix(lint): i18n

* enhance(ui): keyboard icon for the keymap settings tab

* fix(shortcuts): incorrect filters for the collaspsed shortcuts

* enhance(ui): polish details for the keymap settings

* enhance(ui): polish details for the keymap settings

* fix(shortcuts): get shortcut description error when the associated handler-id not exist

* fix(ui): the shortcut disabled label overlaps with section headers.

* refactor(shortcuts): names

* enhance(ui): filter icons
2023-08-29 19:33:48 +08:00
Konstantinos Kaloutas
99865a5eef fix: excalidraw focus 2023-08-29 18:14:13 +08:00
Konstantinos Kaloutas
9c97badf2a remove viewer duplicated css 2023-08-29 18:12:40 +08:00
Konstantinos Kaloutas
7a53eaaaf1 add pdfjs styles 2023-08-29 18:12:40 +08:00
Konstantinos Kaloutas
361d08debe keep the default submenu on mac 2023-08-27 07:28:13 +08:00
Konstantinos Kaloutas
2173d5ae50 disable close window shortcut #3967 2023-08-27 07:28:13 +08:00
Konstantinos Kaloutas
e41c6738a7 update: static yarn.lock 2023-08-25 10:54:43 -04:00
Ben Yorke
24006b3d82 updates 2023-08-25 15:54:00 +02:00
SPQV MF
e9798b3988 fix: remove word-spacing css rule, so inline code are actually monospace 2023-08-25 18:46:37 +08:00
Andelf
6df4a30d3f fix(ios): crash caused by capacitor saved call 2023-08-25 14:21:00 +08:00
Andelf
1147bb54e3 chore(ios): bump version 2023-08-25 05:21:04 +08:00
Konstantinos Kaloutas
9c99c6d6db fix (pdf): copy keyboard shortcut 2023-08-24 16:50:23 -04:00
dependabot[bot]
4876a7884c chore(deps): bump semver from 7.3.5 to 7.5.2 in /resources
Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-25 04:49:39 +08:00
Zhizhen He
4cb23ab193 ci: upgrade typos to 1.16.8 2023-08-24 10:29:51 -04:00
Andelf
73b92a8ccd chore(deps): update capacitor-file-sync, use async tasks for ios 2023-08-24 19:00:36 +08:00
Andelf
ebc8e8171f refacotr(editor): reorder create-today-journal condition, avoid file reading 2023-08-24 18:56:39 +08:00
Andelf
97a20276f4 fix(capacitor): avoid reading out all version files when backup 2023-08-24 18:56:39 +08:00
Andelf
4dd753d265 refactor(ios): refine ios initial appOpenUrl handling using preinit-homepage 2023-08-24 18:56:39 +08:00
Andelf
74eea4bb1e dev(ios): enable capacitor logging only when debug 2023-08-24 18:56:39 +08:00
Andelf
785d876f15 chore(deps): update capacitor-diff-merge; fix ios download progress 2023-08-24 18:56:39 +08:00
dependabot[bot]
481aa57946 chore(deps): bump @excalidraw/excalidraw from 0.12.0 to 0.15.3
Bumps [@excalidraw/excalidraw](https://github.com/excalidraw/excalidraw) from 0.12.0 to 0.15.3.
- [Release notes](https://github.com/excalidraw/excalidraw/releases)
- [Changelog](https://github.com/excalidraw/excalidraw/blob/master/CHANGELOG.md)
- [Commits](https://github.com/excalidraw/excalidraw/commits)

---
updated-dependencies:
- dependency-name: "@excalidraw/excalidraw"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-24 01:44:56 +08:00
Andelf
2d82bf082f refator(watcher): add homepage preload 2023-08-23 21:05:45 +08:00
Andelf
8274ff836f refactor(ios): refine handling of app id change(upgrading) 2023-08-23 21:05:45 +08:00
Andelf
914cb2ad30 enhance(fs): reorder initial fs watcher files 2023-08-23 21:05:45 +08:00
charlie
e04aaf219a fix(pdf): incorrect path of pdfjs cmaps resources 2023-08-23 17:25:47 +08:00
Andelf
f134570551 chore(release): bump version 0.9.15 0.9.15 2023-08-22 22:06:51 +08:00
Charlie
583a3d5dc8 Enhance/plugin APIs x (#10022)
* fix(apis): validate non-empty uuid input for query block

* fix(plugin): missing block data for the nested renderer macro hook

* fix(plugin): incorrect block config for the query table block items
2023-08-22 21:36:38 +08:00
Konstantinos Kaloutas
6ce6b1933c reorder fix 2023-08-22 16:08:26 +08:00
Konstantinos Kaloutas
8ebf2dbadb fix: left sidebar duplicate favorites 2023-08-22 16:08:26 +08:00
Konstantinos Kaloutas
9507f0efe6 fix: right sidebar header wrap and content padding 2023-08-22 16:08:26 +08:00
Gabriel Horner
fbee3614f8 Fix typos in right sidebar lang keys 2023-08-21 16:43:29 -04:00
hasecilu
d32a22a6cb i18n: Update Spanish translations. 2023-08-21 16:27:47 -04:00
Inge
1db0708e9c Update Norwegian translations 2023-08-21 16:26:31 -04:00
Konstantinos Kaloutas
f04fcf4abf disable sidebar pane conetnt scrolling 2023-08-22 00:15:54 +08:00
charlie
90bbd03c45 enhance(pdf): remove password model close fn state 2023-08-21 23:48:38 +08:00
Andelf
29188f90a6 enhance(pdf): pdf password input modal
Close #10033
2023-08-21 23:48:38 +08:00
Konstantinos Kaloutas
40edb61b76 fix: right sidebar pane menu overflow 2023-08-21 23:47:57 +08:00
Andelf
d85177827a chore(release): bump version 0.9.14 0.9.14 2023-08-17 19:58:45 +08:00
Konstantinos Kaloutas
c089fde242 fix: recent whiteboards click 2023-08-17 19:58:31 +08:00
Konstantinos Kaloutas
74fadb0bc8 fix sub-pixel anti-aliasing #2813 2023-08-16 23:50:26 +08:00
Konstantinos
caf1d9d1e3 Enhance: Left sidebar (#9880)
* wip: right sidebar

* fix: graph height

* re-enable scrolling on list

* style: indentation

* fix: always expand block when added to sidebar

* fix: show close button on mobile

* wip: right sidebar

* support default and custom icons

* fix whiteboard icon

* fix: header overflow

* remove unneeded dependency

* fix graph icon

* add middle click action and context menu

* add more context menu actions

* add reordering support

* fix dropdown visibility

* dnd fixes and initial state

* varous fixes

* fix event propagation

* enhance accesibility

* area expanded fix

* add translations

* refactoring

* enhance performance

* enhance text overflow

* fix page link

* drag enter fix

* add rounded corners and transition

* add keyboard shortcuts icon

* revert left sidebar change

* left sidebar bg and border

* various left sidebar enhancements

* alignment fixes

* split favorites and recents scrolling

* handle unavailable icon

* handle overflow edge case

* fix and refactor menu shortcuts

* handle zero items

* display nan shortcuts on mouse over

* min height fix

* min height fix

* simplify chevron icon

* minor fixes

* add flashcards shortcut

* revert initial sidebar state changes

* cloud icon fix

* fix border radius

* add missing go-home shortcut

* add clear recent button

* fix typo

* hide scrollbars

* remove transition

* fix: favorites

* fix: border and rounded corners

* fix: dnd delay

* Revert "add clear recent button"

This reverts commit d8c52c35f0.

* fix: keyboard shortcuts

* fix: shortcuts

* remove unused require
2023-08-16 23:39:29 +08:00
Tienson Qin
5cd3bec911 fix: can't redirect to block 2023-08-16 00:36:55 +08:00
Andelf
6fee36d3e8 fix(editor): error notification when template insert error 2023-08-15 23:38:35 +08:00
Andelf
deba094724 fix(editor): template expansion if ac-ui is blurred
See-also: #8728
2023-08-15 23:38:35 +08:00
situ2001
35124d5ffb fix: add drag threshold 2023-08-15 13:12:34 +08:00