Commit Graph

573 Commits

Author SHA1 Message Date
Tienson Qin
3a0fa79611 fix: can't switch between modals by shortcuts 2022-12-22 12:48:08 +08:00
Tienson Qin
ae77281f47 fix: temporal validation for the current graph's config
related to #7794, #7795
2022-12-20 20:27:23 +08:00
Charlie
020317911f Enhance/plugin APIs (#7555)
* feat: WIP native cli command support

* Add :shell/command-whitelist option

* Integrate cli to code block

* Add :code-block/command-whitelist option

* fix: size of icon

* improve(shell): cache user shell whitelist on application configures file

* improve(electron): promisify run cli command

* chore(libs): update version

* fix(plugin): incorrect payload of pdf highlights section hook

* improve(plugin): block renderer with specific block uuid

* improve(plugin): expose logger for user lib

* improve(plugin): block hooks type

* improve(plugin): block slot hook with specific block

* improve(plugin): auto generate key for provide UI options

* improve(plugin): style of injected ui container

* improve(plugin): types

* improve(plugin): async messaging api from host to plugin

* improve(plugin): add types

* improve(apis): get external plugin metadata

* improve(apis): invoke external plugin impls

* improve(apis): call external plugin impls for simple commands

* enhance(apis): datascript query api for predicate inputs

* enhance(apis): datascript query api for predicate inputs

* fix(apis): redundant args of datascript query api

* enhance(plugins): position of float ui container

* enhance(plugins): style of setting options

* enhance(plugins): layouts data for float ui

* chore(plugins): update CHANGELOG.md

* improve(apis): add types

* chore: fix some inclusive terms

* improve(apis): types

* chore(plugins): update CHANGELOG.md

* chore(plugins): build libs

* chore: update CHANGELOG.md

* chore: remove experiemental alda integration

* fix(lint): remove unused methods

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2022-12-19 20:23:25 +08:00
Tienson Qin
fb03581561 release: open whiteboards for beta users 2022-12-16 20:58:57 +08:00
Peng Xiao
28bf20672a feat: always show hamburger button for mobile 2022-12-14 17:31:20 +08:00
Tienson Qin
4a93d27f40 feat(plugin): add save_focused_code_editor 2022-12-14 11:34:45 +08:00
Gabriel Horner
83d5e57e23 Add validation for global config
- Handles inside and outside logseq editing
- Removed temporary catch's that are no longer needed since invalid global
  config is not allowed
- Add validation for a couple more documented config options
2022-12-07 23:04:55 +08:00
charlie
00b903a4a6 enhance(mobile): enable block fold-down button as default option 2022-12-05 14:31:05 +08:00
Tienson Qin
898f10b84d Merge branch 'master' into enhance/mobile-ux-2 2022-12-05 12:53:43 +08:00
Andelf
ebd2865d30 refactor(unused): rm adoc support 2022-12-05 10:50:56 +08:00
Andelf
6446425269 fix(conf): global config should failback to repo config (#7552) 2022-12-02 02:43:15 +08:00
Andelf
bb1ad677ca fix: handle illegal global config (#7394)
Close #7392
2022-12-02 02:30:54 +08:00
charlie
ee7029c5fc Merge branch 'master' into enhance/mobile-ux-2 2022-12-01 11:14:53 +08:00
Tienson Qin
d3300cfcab fix: sync icon disappear with unstable network
User's groups will be stored in local storage.
2022-11-30 20:28:43 +08:00
charlie
363336e123 Merge branch 'master' into enhance/mobile-ux-2 2022-11-30 16:13:26 +08:00
Konstantinos Kaloutas
416425888f fix: onboarding state naming 2022-11-29 11:02:17 +02:00
Konstantinos Kaloutas
2756f4a8ae fix: multiple onboarding issues 2022-11-28 15:09:25 +02:00
Konstantinos Kaloutas
ef9075a684 Merge branch 'master' into feat/whiteboards-onboarding 2022-11-28 12:56:41 +02:00
charlie
f69c6af49e Merge branch 'master' into enhance/mobile-ux-2 2022-11-28 10:55:03 +08:00
Tienson Qin
f61f0deb78 Merge branch 'cnrpman-page-level-fts' 2022-11-28 10:45:54 +08:00
Junyi Du
dfa6677380 fix: revert default filename format 2022-11-28 09:49:27 +08:00
Tienson Qin
5f1d4aaeec fix: set Timeout for detecting outdated filename foramt 2022-11-28 09:39:33 +08:00
Tienson Qin
98b0208252 Set defualt file/name-format to :triple-lowbar 2022-11-28 09:22:11 +08:00
Junyi Du
310e1a39f6 ux: show page content in cmd k menu 2022-11-25 21:26:07 +08:00
Tienson Qin
91d70535ee fix: set default file format to nil 2022-11-25 21:25:16 +08:00
charlie
0777a11df4 improve(mobile): WIP polish ui details 2022-11-24 21:26:38 +08:00
charlie
d8632263d9 improve(ux): WIP feature option for the fold button position 2022-11-24 17:42:14 +08:00
charlie
b3a6ed21de improve(ux): WIP support place fold arrow on the right of block container 2022-11-24 15:54:38 +08:00
Konstantinos Kaloutas
2739ee0e64 wip: whiteboards onboarding 2022-11-23 14:49:46 +02:00
Peng Xiao
926b7d859b Merge branch 'master' into feat/wb-linkings 2022-11-23 13:12:20 +08:00
Peng Xiao
68ea04af52 fix: focusing shape id even in the same whiteboard & display block ref correctly 2022-11-23 11:53:52 +08:00
Charlie
dda1f9bd9f Enhance / Plugin APIs (#6945)
Added
1. All configurations of current graph.
App.getCurrentGraphConfigs: () => Promise<any>
2. All favorite pages list of current graph.
App.getCurrentGraphFavorites: () => Promise<Array<string> | null>
3. All recent pages list of current graph.
App.getCurrentGraphRecent: () => Promise<Array<string> | null>
4. Clear right sidebar blocks.
App.clearRightSidebarBlocks: (opts?: { close: boolean }) => void
5. Support register CodeMirror enhancer. #Experiment feature
Experiments.registerExtensionsEnhancer<T = any>(type: 'katex' | 'codemirror', enhancer: (v: T) => Promise<any>)
6. Support hooks for app search service. #Alpha stage
App.registerSearchService<T extends IPluginSearchServiceHooks>(s: T): void
7. Support focus option for App.insertBlock. Credit to [[tennox]] #PR

Fixed
1. Adjust build script to be compatible for shadow-cljs bundler.
How to set up a clojurescript project with shadow-cljs?
https://github.com/rlhk/logseq-url-plus/blob/main/doc/dev-notes.md
2022-11-22 22:00:29 +08:00
charlie
3086fec490 improve(desktop): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
Tienson Qin
0a796d11da fix: ``` surroundings in code block disappear
close #7015
close #7378
close #5735
2022-11-22 14:43:10 +08:00
Zhizhen He
7fdb9aaffb fix: typo 2022-11-21 17:58:13 -05:00
Tienson Qin
3210d17881 enhance: subscribe to id-token for reactive change 2022-11-21 21:03:32 +08:00
Tienson Qin
3312bfc3b6 fix: sync icon is missing 2022-11-21 21:03:32 +08:00
Tienson Qin
98c8ad304c Load refresh token synchronously 2022-11-21 21:03:32 +08:00
Soumik
1e09f35063 fix: rebase issue 2022-11-21 14:03:11 +08:00
charlie
135717e08e improve: reuse function about filter installed plugins 2022-11-21 14:03:11 +08:00
Soumik
8e10239b87 feat: show theme plugin settings under Settings menu 2022-11-21 14:03:11 +08:00
Andelf
e618f5d1f7 Fix: android nav bar and status bar color (#7385)
* fix(android): set nav bar and status bar color

Close #7382
2022-11-21 10:50:10 +08:00
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
3940db3107 fix: disable plugins system 2022-11-15 16:01:06 +08:00
Tienson Qin
db7bc72a3c fix: don't clear selection in blocks 2022-11-14 14:32:21 +08:00
charlie
776e206249 improve(ux): support close-backdrop? for sub modal 2022-11-11 17:33:15 +08:00
situ2001
1a216aa1aa feat(paste): toggle between pasting text or file when they both exist (#7198)
* feat(paste): toggle between pasting text or file when they both exist
2022-11-09 11:15:41 +08:00
Tienson Qin
f90e8ee7d5 Merge pull request #7184 from logseq/enhance/ios-folder-picker
enhance: graph select and create on iOS
2022-11-08 23:10:25 +08:00
Peng Xiao
c3611ef77c fix: pasting text in block portal shapes 2022-11-08 19:08:37 +08:00
Tienson Qin
20e1e77362 fix: remote graphs state when create/delete a remote graph 2022-11-08 16:58:39 +08:00