Commit Graph

529 Commits (test/db)

Author SHA1 Message Date
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
rcmerci 98502d7cde test(rtc): add karma target 2024-08-30 20:52:25 +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 aa38cd3a17 fix(ui): build scripts for the shui primitives 2024-05-11 16:17:40 +08:00
charlie 061700c6b1 enhance(ui): WIP optimization for the shui popup related fundamental components 2024-05-11 15:14:21 +08:00
charlie 2ba9f28026 Merge branch 'master' into feat/db 2024-04-15 07:58:14 +08:00
sty 4bb74f8944
e2e-test: add "DEBUG=pw:api" to "e2e-test" script in package.json (fix #11195) (#11217)
* package.json: add 'DEBUG=pw:api' to 'e2e-test' script


Co-authored-by: Andelf <andelf@gmail.com>
2024-04-11 00:18:51 +08:00
Andelf 2d54433d7e fix(build): ios ci 2024-04-04 12:21:42 +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
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
Konstantinos Kaloutas 8a91a400e5 Merge branch 'feat/db' into chore/whiteboards-cleanup 2024-01-30 11:45:00 +02:00
Gabriel Horner e9c3fe90a3 Merge branch 'master' into feat/db 2024-01-29 08:46:45 -05:00
Konstantinos Kaloutas 8fd90fa90a remove ui.js and update build process 2024-01-26 12:29:53 +02:00
Andelf 27198738fd fix(android): sync crash caused by wrong logging
See-also: #10916
2024-01-25 16:50:14 +08:00
Konstantinos Kaloutas 6f355c8d57 Merge branch 'feat/db' into chore/whiteboards-cleanup 2024-01-25 10:36:59 +02: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
Konstantinos Kaloutas 216115d1b9 Merge branch 'feat/db' into chore/whiteboards-cleanup 2024-01-19 17:03:58 +02:00
Konstantinos Kaloutas b25f4d447c Merge branch 'master' into feat/db 2024-01-19 17:00:52 +02:00
Konstantinos Kaloutas 9979c92665 move tldraw to packages 2024-01-15 18:08:08 +02: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 c14b2b4140 fix: use comlink with promesa 2023-12-07 21:20:37 +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