Commit Graph

132 Commits (be54ab98e667157507c851949dc185ab5cba38c9)

Author SHA1 Message Date
rcmerci 50fb730c43 test(rtc): launch two clients at the same time 2024-08-30 20:52:25 +08:00
rcmerci fa43327eff test(rtc): update config 2024-08-30 20:52:25 +08:00
rcmerci 98502d7cde test(rtc): add karma target 2024-08-30 20:52:25 +08:00
rcmerci cc8ce571e7 test(rtc): add basic-edits-test 2024-08-30 20:52:25 +08:00
rcmerci e6d3e64815 test(rtc): update upload-download-graph-test 2024-08-30 20:52:25 +08:00
rcmerci 3eecf04533 test(rtc): add rtc-e2e-test/download_upload_test 2024-08-30 20:52:25 +08:00
Gabriel Horner 7a40761eca refactor: organize worker namespaces and lint them
Organize them to live under src/main/frontend/worker and add a lint to ensure
that common code with frontend is only under frontend/common/.
Add a linter to ensure that worker doesn't depend on frontend.
Motivated to fix after recent worker breakage fixed by
75463c4df4
2024-08-08 23:01:57 -04:00
Tienson Qin 8d128f420c Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-10 16:14:47 +08:00
Konstantinos Kaloutas 6f355c8d57 Merge branch 'feat/db' into chore/whiteboards-cleanup 2024-01-25 10:36:59 +02:00
Konstantinos Kaloutas a4e569e115 Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db 2024-01-25 10:34:20 +02:00
Gabriel Horner b55fe07768 Merge branch 'master' into feat/db 2024-01-24 09:08:41 -05:00
Gabriel Horner ce2341506d fix: publishing not loading correctly
Caused by pulling in the new component system. Fixes #10893
2024-01-24 08:53:48 -05:00
Konstantinos Kaloutas f984701c27 Merge branch 'feat/db' into chore/whiteboards-cleanup 2024-01-23 11:57:57 +02:00
Konstantinos Kaloutas f7ac0629c2 Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db 2024-01-23 11:57:31 +02:00
Tienson Qin 347323b7d6 fix: release app not works for db version
Check
https://github.com/thheller/shadow-cljs/issues/611#issuecomment-620845276
for more details.
2024-01-22 23:06:19 +08:00
Konstantinos Kaloutas dada6ecf68 Merge branch 'feat/db' into chore/whiteboards-cleanup 2024-01-22 12:37:10 +02:00
Konstantinos Kaloutas ca25e08532 Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db 2024-01-22 12:35:08 +02:00
Tienson Qin b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Gabriel Horner a80a182a8f fix: update publishing setup since there are 2 more assets
Also add compilation flag for code splitting bug
2024-01-19 15:27:02 -05:00
Gabriel Horner 3d399d626e fix: publishing doesn't build a db-worker 2024-01-19 15:27:01 -05: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 2ea77ec087 fix paths 2024-01-16 17:45:15 +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 b134954e2c Move all search related impl to worker
This commit also introduced a new ns `frontend.db.async` for
async queries.
2023-12-25 17:05:44 +08:00
Andelf 60159eba87 enhance(db): use wasm-based sqlite storage 2023-11-16 21:15:25 +08:00
Junyi Du 59136312ad fix: upgrade diff-merge ver 2023-06-26 19:20:04 +08:00
Ben Yorke 928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
rcmerci 21e8a2eab9 dev: add malli-schema & generate kondo config 2023-01-08 20:33:27 +08:00
Andelf 86b9cdfce7
chore(build): use token from ci env for sentry and posthog (#7777) 2022-12-19 22:20:50 +08:00
Gabriel Horner 7a5310eb5d Update rewrite-edn and hickory deps
shadow workaround for hickory is no longer needed since hickory got node
support
2022-12-08 10:26:33 +08:00
Andelf a633f9c31a feat: add git revision to config 2022-11-30 22:17:18 +08:00
Andelf f65fbc809e
fix(ci): use LOGSEQ_CI instead of reserved CI (#7516) 2022-11-30 00:42:27 +08:00
Tienson Qin e3c839be9f fix: enable CI environment variable 2022-11-28 16:30:51 +08:00
Tienson Qin dfd8052990
chore: remove rage-wasm since we moved to use the native binding (#7446) 2022-11-24 15:36:11 +08:00
Junyi Du 5937082b49 test: enable Node-test on namespaces with dependency on hickory 2022-10-18 16:43:14 +08:00
Peng Xiao fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00
Andelf 6abb4c5a75 chore(build): file-sync production as default 2022-09-21 16:18:34 +08:00
Peng Xiao eaec72e676 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-14 00:26:16 +08:00
Andelf c3e96dba43 chore(dev): rm unused workspace card 2022-09-13 11:18:44 +08:00
Peng Xiao 5e44055984 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 09:46:58 +08:00
Tienson Qin e008a38540 fix: cloud icon is not shown when restarting the app 2022-09-01 19:59:43 +08:00
Peng Xiao 33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +08:00
Charlie 01d879c18e
feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Peng Xiao 37d0ad2524 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-24 16:50:57 +08:00
Gabriel Horner 0301fd3173 Print log messages and setup custom test runner
Got tired of getting bit by catch statements and no logging printing.
Moved frontend to a custom test runner as we may eventually need the
node-test-runner for other apps/builds
2022-08-11 16:32:00 -04:00
Peng Xiao 3198e054e0 cleanup 2022-07-23 16:49:49 +08:00
Peng Xiao 5542d27680 feat: showing breadcrumb for page block shape 2022-07-23 16:27:44 +08:00
Peng Xiao 26ad627661 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-03 12:46:36 +08:00
Andelf fb92e64967 refactor(build): use env flags to control feature gate 2022-06-28 15:46:12 +08:00