Commit Graph

436 Commits

Author SHA1 Message Date
Gabriel Horner
89a108f846 Merge branch 'master' into feat/db 2024-12-19 11:44:00 -05:00
Tienson Qin
65be0cff2e Update yarn.lock 2024-12-10 23:24:59 +08:00
Tienson Qin
7fd0541c22 fix: add string-width resolution 2024-12-10 21:45:09 +08:00
Tienson Qin
deb3507bb0 enhance: copy code block
1. search and store code lang instead of mode
2. select uses frontend.components.select instead of shui input + auto-complete
2024-10-02 12:58:15 +08:00
Konstantinos
e09db5de59 Enhance (dev): Tabler icons (#11468)
* handle tabler-icons resources

* test removing tabler-icons-react

* Revert "test removing tabler-icons-react"

This reverts commit ea2553628d.

* replace @tabler/icons-react with tablerIcons on dist file

* fix: incorrect global react variable for the tabler react library

---------

Co-authored-by: charlie <xyhp915@qq.com>
2024-09-30 11:33:01 +08:00
rcmerci
ccf70a5cef refactor(srs): use cljc-fsrs in db-version 2024-09-24 18:18:41 +08:00
Tienson Qin
134f2b1994 chore: replace cleancss with postcss
Related to https://github.com/logseq/db-test/issues/104
2024-09-19 01:16:09 +08:00
Tienson Qin
731e231066 fix: set glob version to 9.0.0 2024-09-01 12:00:04 +08:00
Tienson Qin
34a65e1a23 Upgrade glob 2024-09-01 11:55:37 +08:00
Konstantinos
043927031e Enhance (dev) (#10981)
* remove electron.html

* remove unneeded some

* remove react deps from repo

* remove mobile index.html

* reintroduce tl-select-trigger styles

* reintroduce popper arrow styles

* remove ui.js from repo

* remove glide resources from repo

* enhance tabler-icons resource handling

* fix glidejs path

* add glidejs theme

* Revert "remove mobile index.html"

This reverts commit 8c84a2655f.

* Revert "enhance tabler-icons resource handling"

This reverts commit f8ac25154f.

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2024-08-09 17:00:15 -04:00
Tienson Qin
390b44985c chore: bump mldoc to 1.5.9 2024-08-03 15:19:51 +08:00
Tienson Qin
2ba01c7cef perf: use virtualized list instead of our own ui/infinite-list
The benefits are:
1. less journals to render, so less memory, faster editor experience
2. our old implementation is buggy in some platforms
2024-06-17 09:25:33 +08:00
Gabriel Horner
832061b2ac Merge branch 'master' into feat/db 2024-05-14 11:41:14 -04:00
Andelf
e6173e8810 Update Electron 28 (#11304)
* chore: update electron

Close #11303

* chore: update deps

* fix(test): utils import
2024-05-13 12:59:18 +08:00
charlie
d71e0163c4 Merge branch 'master' into feat/db 2024-04-22 14:24:48 +08:00
dependabot[bot]
2ec2bb30e7 chore(deps): bump tar from 6.2.0 to 6.2.1
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 13:02:03 +08:00
Gabriel Horner
35203268ed Merge branch 'master' into feat/db 2024-03-27 09:02:22 -04:00
dependabot[bot]
4a233e3bd0 chore(deps): bump katex from 0.16.8 to 0.16.10
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.8 to 0.16.10.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.8...v0.16.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 12:50:39 +08:00
Yannick Armand
fa13452608 dev: remove obsolete "@tailwindcss/line-clamp" dependency 2024-03-22 12:41:23 +08:00
charlie
9925eac9c2 Merge branch 'master' into feat/db 2024-03-08 09:03:11 +08:00
dependabot[bot]
9f2cd1fb68 chore(deps-dev): bump ip from 1.1.8 to 1.1.9
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 18:16:00 +08:00
dependabot[bot]
9d60949eca chore(deps): bump es5-ext from 0.10.62 to 0.10.63
Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.62 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.62...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 18:15:17 +08:00
charlie
4e482e8138 Merge branch 'master' into feat/db 2024-02-18 10:23:01 +08:00
Andelf
dd4c5637ac enhance(android): allow choice open & share asset file 2024-02-16 20:04:58 +08:00
Gabriel Horner
e9c3fe90a3 Merge branch 'master' into feat/db 2024-01-29 08:46:45 -05:00
Andelf
27198738fd fix(android): sync crash caused by wrong logging
See-also: #10916
2024-01-25 16:50:14 +08:00
Gabriel Horner
b55fe07768 Merge branch 'master' into feat/db 2024-01-24 09:08:41 -05:00
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