Commit Graph

905 Commits (e13ae5fca28f3b417445602948440d56a81bebbb)

Author SHA1 Message Date
Tienson Qin 018e1ae8ee Merge branch 'master' into feat/db 2023-12-23 14:18:25 +08:00
Andelf 74f56002b3 fix: do not use asar 2023-12-23 12:45:07 +08:00
Andelf 8871bee48d chore(release): bump version 0.10.2 2023-12-21 23:15:26 +08:00
Andelf 9a92ec1900 fix: demo whiteboard 2023-12-19 18:24:50 +08:00
Tienson Qin d38bba76bf Use OPFS storage for file based graphs too 2023-12-14 01:20:31 +08:00
Tienson Qin a7de12d59f chore: remove better-sqlite3 2023-12-13 21:35:25 +08:00
Andelf de13df4722 chore(deps): upgrade electron v27 2023-12-13 20:53:13 +08:00
Charlie 036df25a17
Enhance: plugin APIs (#10399)
* enhance(plugin): call apis with the sdk ns

* enhance(plugin): types

* enhance(api): get value from the computed style

* enhance(api): types

* enhance(plugin): types

* enhance(plugin): types

* fix: lint

* fix(apis): incorrect shortcut command registion for block editing mode #10392

* fix(api): types

* enhance(apis): support register shortcuts with multi binding vals

* fix(plugins): normalize command key to make the internal keyword legal

* chore(plugin): build libs core

* chore(plugin): bump version

* enhance(apis): normalize apis cljs data

* chore(plugin): update libs user sdk

* chore(plugin): CHANGELOG.md

* fix: typo

* fix(ux): support querying plugins with right space chars
2023-12-13 15:42:21 +08:00
Andelf 285463fddb enhance(build): use asar, add windows zip release 2023-12-11 19:01:26 +08:00
Andelf 990c7a55ee
chore(release): release 0.10.1 (#10640) 2023-12-06 18:38:07 +08:00
Tienson Qin e04a5b4316 Merge branch 'master' into feat/db 2023-12-04 20:47:37 +08:00
Tienson Qin ecde2c3bfc
fix: cross-platform shotcuts (#10590)
This PR also simplifies the implementation of shui/shortcut a lot.

* fix: consistent char for the Enter key

* fix: show ctrl instead of ⌘ for copy ref

* fix: "Ctrl" should be split from "Ctrl X"
2023-12-03 12:40:08 +08:00
Gabriel Horner 6517f6f12a Merge branch 'master' into feat/db 2023-11-29 09:56:12 -05:00
Andelf c44715d9fe chore: bump version 0.10.0 2023-11-28 22:44:42 +08:00
Andelf 5ca28a3a56 fix(electron): open assets link in folder freezes file browser
Close #10491
2023-11-28 02:39:52 +08:00
Andelf 60159eba87 enhance(db): use wasm-based sqlite storage 2023-11-16 21:15:25 +08:00
Tienson Qin ee3442a44b Merge branch 'master' into feat/db 2023-11-14 20:40:36 +08:00
Tienson Qin bbc6e5ffe3 Merge branch 'master' into feat/cmdk 2023-11-13 23:00:32 +08:00
Tienson Qin 2a62767f34 chore: replace shui__ with ui__
Theme creators don't need to know about shui.
2023-11-13 22:39:53 +08:00
Andelf 2b4229db1f chore(deps): upgrade rsapi, rm doh 2023-11-13 20:16:15 +08:00
Tienson Qin 96693439d0
Feat/cmdk radix tweaks (#10493)
* prefer --lx-gray-11

* Fix sidebar item color

* Update theme mode images

* Update shortcuts globally

* Assets updated to support radix

* fix: add missing keyboard-shortcut class

* fix: custom button background

* fix: lower case shortcuts

* chore: remove old shortcut list

* fix: shortcut ns

* enhance: shortcut accepts both sequence and string

* fix: shortcut remap ux

* fix: remove codemirror box shadow

---------

Co-authored-by: Ben Yorke <ben@yorke.io>
2023-11-12 20:43:10 +08:00
Tienson Qin 5ff69286be fix: hover text color 2023-11-09 13:43:48 +08:00
Tienson Qin 4402dcd38a chore: replace --logseq-og with --ls 2023-11-09 13:37:33 +08:00
Tienson Qin 086e25b236 fix: button default background color 2023-11-09 13:31:53 +08:00
Ben Yorke 1896d372b1 fix highlighted text color 2023-11-07 16:35:31 +01:00
Ben Yorke 0453b19e04 Fix white color buttons on ls theme 2023-11-07 15:22:06 +01:00
Ben Yorke adc788f1c6 Fix colorization 2023-11-07 14:52:12 +01:00
Tienson Qin de4ad909a9 Merge branch 'master' into feat/cmdk 2023-11-06 16:12:02 +08:00
Tienson Qin f16127c80b enhance: tile sm size 2023-11-03 00:16:36 +08:00
Tienson Qin 439d08cf8a enhance: move tip to the left 2023-11-03 00:16:36 +08:00
Gabriel Horner de3d7b7b5f Merge branch 'master' into feat/db 2023-11-01 17:31:17 -04:00
Andelf 77d92f4d08 chore(release): bump version 0.9.20 2023-11-01 13:43:01 +08:00
Andelf 952b03d19e chore(deps): update rsapi 2023-11-01 01:59:25 +08:00
Andelf 1e7495ec1c fix(linux): downgrade electron to v25
Close #10436
2023-11-01 00:34:33 +08: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 41a48184bc chore(deps): upgrade electron v26 2023-10-27 12:26:50 +09:00
Ben Yorke 184dfd7d54 More design tweaks 2023-10-26 14:24:12 +02:00
Ben Yorke 69e02edaeb Merge branch 'master' into feat/cmdk 2023-10-16 21:02:12 +02:00
Gabriel Horner 097a59d9c6 Merge branch 'master' into feat/db 2023-10-12 15:36:49 -04:00
Andelf bd36efe4f7 chore: bump version 0.9.19 2023-10-11 22:04:58 +09:00
Sander Borst abb0596ed2 Change variable name 2023-10-09 21:56:08 +08:00
Sander Borst 3960e94ce8 Add function getClipboardData to preload.js 2023-10-09 21:56:08 +08:00
Gabriel Horner b66bde0230 Merge branch 'master' into feat/db 2023-10-02 17:09:53 -04:00
Ben Yorke e3407138cd Updates 2023-09-25 16:21:41 +02:00
Ben Yorke 2ee777ae97 Updates 2023-09-24 21:31:45 +02:00
Andelf 6eb82e822a chore: bump version 0.9.18 2023-09-21 00:38:43 +09:00
Ben Yorke 246e904457 cmdk2 updates 2023-09-15 13:30:51 +02:00
Andelf 8f5b1da36f fix(fs): support asset filenames with percent encoding
Fix #10188
2023-09-15 15:49:17 +09:00
Andelf 6909768b03 enhance(electron): support socks5 proxy 2023-09-12 17:06:20 +09:00
Gabriel Horner 41bd76a704 Merge branch 'master' into feat/db 2023-09-07 17:52:25 -04:00
Andelf 645a8d32df chore: bump version 0.9.17 2023-09-07 11:37:19 +08:00
Andelf e043a2c3fa
chore(release): bump version 0.9.16 (#10149) 2023-09-06 14:52:25 +00:00
Ben Yorke 0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02: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
Ben Yorke 24006b3d82 updates 2023-08-25 15:54:00 +02: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
Andelf f134570551 chore(release): bump version 0.9.15 2023-08-22 22:06:51 +08:00
Tienson Qin 03ec9580c3 Merge branch 'master' into feat/db 2023-08-22 20:32:15 +08:00
Andelf d85177827a chore(release): bump version 0.9.14 2023-08-17 19:58:45 +08:00
Andelf 08e22c44af fixup! fix(sqlite): multitab support 2023-08-16 18:54:30 +08:00
Andelf 0836e4f6cc fix(sqlite): multitab support 2023-08-16 18:45:20 +08:00
Andelf fd0ccf2add fix(sqlite): graph list and unlinking for in-browser graph 2023-08-16 18:31:02 +08:00
Andelf eb4476c0b6 fix(sqlite): wrong db query 2023-08-16 14:54:51 +08:00
Andelf 849173d081 fix(sqlite,browser): dup today journal page 2023-08-15 23:15:25 +08:00
Andelf 7cf2d5d387
chore: DB version for browser support (#10016)
- impl storage
- still not working: refreshing, init code
2023-08-15 21:07:31 +08:00
Konstantinos Kaloutas 33f6438d38 fix marked parse call 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas b5df30f4e1 move and refactor css files 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 5a011ecab4 handle tippy-tooltip styles 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas f9b8f69c16 handle amplify 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas abbd35a042 handle pdfjs 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 3d369e032d remove public.css and related fonts 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 677cada2ba Revert "Revert "Revert "handle magic-portal"""
This reverts commit b1f12048ac310ea80fba835f932d7e38f74056b9.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas deb0a43e8b Revert "Revert "handle magic-portal""
This reverts commit 9011fa7f9e54ae8a3b587da6d61affa31e3cd727.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas a19c5feb85 Revert "handle magic-portal"
This reverts commit 8146430b0fc88b600a8f93164e0b39d05353bbb6.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 46208a7753 Revert "Revert "handle lightning-fs""
This reverts commit 840cb90ed5f0fc2704b80f975d08179050cee8b0.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas bffeddff4c Revert "handle lightning-fs"
This reverts commit 005f56deb42d6d40776282baf91fe79cd2c30d29.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas eb6a045619 handle magic-portal 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 20421e4cc4 handle lightning-fs 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 1a9017f757 handle highlight.js 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas 56e6e934b8 handle marked js 2023-08-04 11:17:30 +08:00
Ben Yorke 8bff0f2139 cmdk initial implementation 2023-08-02 23:07:05 +03:00
Andelf 4b4b4e8871 chore(release): bump version 0.9.13 2023-08-02 01:03:25 +08:00
Andelf 486edc31c0 chore(release): release 0.9.12 2023-08-01 21:52:12 +08:00
Konstantinos Kaloutas beace1be7a fix: remove outdated styles (resolves #9940) 2023-07-30 12:13:50 +08:00
Konstantinos Kaloutas 3bce831027 remove height rule 2023-07-24 13:35:57 +03:00
Konstantinos Kaloutas a5d2137748 overflow fix 2023-07-24 13:02:46 +03:00
Konstantinos Kaloutas 7d6aae0c08 handle mhchem 2023-07-21 10:07:06 -04:00
Konstantinos Kaloutas 86d3cad507 handle shepherd.js 2023-07-21 10:07:06 -04:00
Konstantinos Kaloutas 9fd3deb39e handle reveal.js 2023-07-21 10:07:06 -04:00
Andelf 5cab22187c chore(release): bump version 0.9.11 2023-07-19 18:44:23 +08:00
Johan Penttinen 7a63c9a89c
feature(android): add android 13 API themed icons (#9862) 2023-07-19 18:24:32 +08:00
Bad3r fb2e1e82eb
chore(deps): Fix CVE-2023-2931 in Electron 24 [minor change] (#9854) 2023-07-19 10:47:25 +08:00
Konstantinos Kaloutas fb63c32a56 Revert "defer loading html2canvas"
This reverts commit 16e0c3713f.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas f9fbb26567 revert index changes 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas b7710e570c Revert "defer loading code-editor"
This reverts commit 4f067f4003.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas 9f85069264 convert codemirror hint addon 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas 4f07baad37 convert codemirror 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas fed6dea816 convert interact.js 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas 20c54c82e3 defer loading code-editor 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas 1e30a2030f defer loading html2canvas 2023-07-10 00:54:54 +08:00