559 Commits

Author SHA1 Message Date
Andelf
239c1860d1 chore(build): rm postcss version lock
Close #10282
2024-01-24 13:49:55 +08:00
Tienson Qin
b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Charlie
8040168d1e Feat: New UI components (#10694)
* 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

* feat(ui): add package

* Update .gitignore

* feat(ui): set up shui infrastructure

* feat(ui): add storybook macro

* enhance(ui): storybook themes

* feat(ui): adapt ui button to classic

* enhance(ui): shui story

* feat(ui): shui toaster

* enhance(ui): shui toaster

* feat(ui): imperative API for shui toaster

* enhance(shui): update API for shui toaster

* enhance(shui): update hooks for shui toaster

* enhance(shui): remove debug

* feat(ui): story for the shui toaster

* feat(ui): story

* feat(ui): story docs

* feat(ui): more variants for the shui toaster

* feat(ui): story

* fix(ux): support querying plugins with right space chars

* feat(ui): add shui `Alert` component

* enhance(ui): shui demo

* feat(ui): add logseq UI readme

* enhance(ui): default shui theme

* feat(ui): add shui `Badge` component & demo

* fix(ui): outline theme for shui button

* feat(ui): custom icon for the toaster item

* feat(ui): add shui dropdown & demo

* feat(ui): WIP shui form related components

* feat(ui): WIP shui form-related components

* feat(ui): WIP shui form

* feat(ui): WIP shui form state for validation

* fix(ui): missing rounded for ui button

* feat(ui): add yup for shui form as default validation resolver

* enhance(ui): simplify validation schema input for the shui form

* fix(ui): accent ring color for input

* feat(ui): add shui switch

* feat(ui): add shui checkbox & switch

* feat(ui): add shui radio group

* fix(ui): missing file

* feat(ui): add Textarea component

* feat(ui): add shui card & skeleton

* feat(ui): add shui context menu component & demo

* fix(ui): accent color for the context menu item

* feat(ui): add shui select component & demo

* enhance(ui): ui css priority

* feat(ui): add shui calendar & ui details

* feat(ui): add shui popover

* feat(ui): add date picker & demo

* feat(ui): add shui dialog

* feat(ui): WIP add shui dialog

* feat(ui): WIP shui dialog as modal

* feat(ui): WIP imperative APIs for the shui modal

* feat(ui): imperative APIs for the shui modal/alert

* feat(ui): support imperative API alert!/confirm! return promise

* feat(ui): simplify shui components resources

* feat(ui): response layout for the demo ui page

* feat(ui): simplify colors

* feat(ui): simplify colors

* feat(ui): simplify colors

* refactor(ui): WIP Adapt to the new button component

* refactor(ui): polish new button & colors

* fix(ui): the new theme color for the plugin settings nav item link

* fix(ui): blockquote colors

* enhance(ui): more custom colors for shui button

* feat(ui): WIP make logseq green as a theme color

* enhance(ui): polish logseq classical theme color

* fix(ui): theme details of all pages

* enhance(ui): polish logseq theme color for dark mode

* fix(ui): missing table style

* refactor(ui): simplify the all shui buttons & shortcuts for the cmdk component

* fix(ui): missing file

* refactor(ui): clear up stuff

* fix(ui): theme color related issues

* enhance(ui): polish button style

* enhance(ui): polish the keymap setting pane

* fix(ui): hint button from the cmdk pane footer

* fix(ui): logseq colors for the storybook

* enhance(ui): stories for the shui components

* fix(ui): active color for the old toggle component

* enhance(ui): keep the constant size of the settings pane

* fix(ui): polish search input for the plugins pane

* enhance(ui): polish number list bullet colors

* feat(ui): add shui tooltip component

* chore: build ui

* chore(ui): clean up resources

* fix: lint

* fix: lint

* fix: lint

* fix(ui): alignment of the keymap title from the settings pane

* fix: tests

* fix(ui): close button for the classic notification tip

* fix(ui): polish toaster viewport

* enhance(ui): polish the ghost button colors

* enhance(ui): demos for tips

* fix(ui): accent colors for the rc-datepicker

* fix(ui): accent color for the menu item

* refactor(ui): remove unless code for the accent colors

* enhance(ui): polish pdf viewer background color for the accent color mode

* fix: lint

* fix: lint

* fix: lint

* enhance(ui): support button with the custom href link

* enhance(ui): polish aside setting items

* enhance(ui): polish accent color for buttons

* enhance(ui): polish all pages

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-12-26 16:31:37 +08:00
Tienson Qin
018e1ae8ee Merge branch 'master' into feat/db 2023-12-23 14:18:25 +08:00
Tienson Qin
755cf64a4c fix: acquireAccessHandles if released 2023-12-15 12:03:09 +08:00
Tienson Qin
739822f155 fix: release access handles after graph has been downloaded 2023-12-15 11:02:31 +08:00
Andelf
de13df4722 chore(deps): upgrade electron v27 2023-12-13 20:53:13 +08:00
Tienson Qin
9395ce4f5a bump sqlite-wasm 2023-12-12 22:08:42 +08:00
Tienson Qin
8c3ec50c07 fix: no available handles to import to 2023-12-12 19:11:42 +08:00
Tienson Qin
efa1c93fff enhance: set opfs pool for each graph 2023-12-11 00:21:43 +08:00
Tienson Qin
46ecfef928 chore: remove logseq/sqlite 2023-12-10 20:13:45 +08:00
Tienson Qin
dffc1376f5 fix: sqlite-wasm works now on Electron 2023-12-10 20:08:05 +08:00
Andelf
2318e850dd enhance(draw): save img assets 2023-12-08 19:20:32 +08:00
Tienson Qin
1d1807e5aa Add sqlite-wasm 2023-12-06 23:06:40 +08:00
Andelf
86aa39e893 chore: update @logseq/sqlite 2023-11-30 02:03:56 +08:00
Andelf
bf808f345a Feat: multi tab db worker (#10543)
* enhance(sqlite): refine db-worker

* feat(sqlite): allow multi-tab with differet graphs

* fix(sqlite): db lock

* fix: enter to insert a block does not work

The reason is that shortcut/refresh! is debounced with 1 second.

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-11-24 14:59:43 +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
Ben Yorke
863c4f93da Customizable overrides 2023-11-07 14:32:08 +01:00
Tienson Qin
de4ad909a9 Merge branch 'master' into feat/cmdk 2023-11-06 16:12:02 +08:00
Gabriel Horner
de3d7b7b5f Merge branch 'master' into feat/db 2023-11-01 17:31:17 -04: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
Tienson Qin
e8d411b837 fix: typing markdown property results in a blank line
Fixes LOG-2741
2023-10-27 14:23:26 +08:00
dependabot[bot]
78f7788ce3 chore(deps): bump @babel/traverse from 7.22.20 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.20 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 12:30:02 +09:00
dependabot[bot]
0f442a6bee chore(deps): bump browserify-sign from 4.2.1 to 4.2.2
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 12:28:19 +09:00
Andelf
41a48184bc chore(deps): upgrade electron v26 2023-10-27 12:26:50 +09:00
Ben Yorke
69e02edaeb Merge branch 'master' into feat/cmdk 2023-10-16 21:02:12 +02:00
Tienson Qin
b44e4d7d1f Use dnd-kit instead of beautiful-dnd 2023-10-04 09:54:33 +08:00
Tienson Qin
9ed6ed4006 enhance: add react-beautiful-dnd 2023-10-03 13:40:21 +08:00
Gabriel Horner
b66bde0230 Merge branch 'master' into feat/db 2023-10-02 17:09:53 -04:00
Andelf
a903f645f3 fix(build): lock postcss
See-also: #10282
2023-09-26 17:19:42 +09:00
Andelf
48daa53568 fix(build): postcss performance degrade 2023-09-26 17:19:42 +09:00
Andelf
6fc7a1a137 refactor(mobile): upgrade to capacitor v5 2023-09-26 17:19:42 +09:00
Bad3r
eacef25e5d chore(deps): upgrade codemirror to v5.65.15 (#9822) 2023-09-21 10:48:05 +08:00
Gabriel Horner
41bd76a704 Merge branch 'master' into feat/db 2023-09-07 17:52:25 -04:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
Andelf
6df4a30d3f fix(ios): crash caused by capacitor saved call 2023-08-25 14:21:00 +08:00
Andelf
73b92a8ccd chore(deps): update capacitor-file-sync, use async tasks for ios 2023-08-24 19:00:36 +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
7cf2d5d387 chore: DB version for browser support (#10016)
- impl storage
- still not working: refreshing, init code
2023-08-15 21:07:31 +08:00
Tienson Qin
cb93cc3e9a Merge branch 'master' into feat/db 2023-08-15 13:42:37 +08:00
Tienson Qin
6ec79d48cb feat: property icon emoji picker 2023-08-07 15:03:03 +08:00
Konstantinos Kaloutas
5d9861a510 upgrade pdfjs 2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas
abbd35a042 handle pdfjs 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