Commit Graph

108 Commits (e9670d10f2645b13f086398cd86df652cca6d453)

Author SHA1 Message Date
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
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
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
Peng Xiao 0075dac0c5 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-05-23 21:54:07 +08:00
Tienson Qin eb42972ef9 fix: drag drop on non consecutive blocks
close #5267
2022-05-23 15:20:29 +08:00
Tienson Qin 56e594adb7 fix: add missing tldraw.js for electron 2022-05-17 10:50:16 +08:00
Peng Xiao a05ab09f89 fix: reorg routes 2022-05-17 01:06:45 +08:00
Peng Xiao e02a7dd344 move tldraw/next inside of logseq 2022-05-16 19:55:07 +08:00
Peng Xiao 97120441db wip
wip
2022-05-16 15:53:10 +08:00
Tienson Qin 83569141fc feat: add encryption back 2022-05-09 22:15:30 +08:00
Tienson Qin b65359ae3f Remove unused code based on Gabriel's suggestions 2022-04-24 11:17:47 +08:00
Tienson Qin b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
Charlie 0d3ac91ca3
Feature/Setups of Onboarding Process (#4580)
UX enhancement: onboarding setup graphs 

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-04-02 21:37:38 +08:00
Gabriel Horner a7b230d71d Organize testing helpers and namespaces
Start a helper ns and put test specific namespaces under frontend.test.
2022-03-10 15:43:07 +08:00
Andelf 46d9cbaa5f fix(dev): sourcemap path in electron while dev 2022-03-09 18:06:08 +08:00
Gabriel Horner 7f78c8d933 Rewrite tests from #4382 to use with-redefs
No need to have set-marker impl copied with with-redefs. Move tests to
its corresponding test ns
2022-03-02 15:52:03 -05:00
charlie dee179f5f5 enhance(dev): remove sync static files in development to decrease cup usage 2022-03-01 20:42:52 +08:00
Gabriel Horner 50e5764369 Fix --exclude option
Subtle annoying bug with symbol. Also allos multiple exclude options
2022-02-28 16:27:22 +08:00
rcmerci 2748f95e84 fix: sourcemap cannot load when developing 2022-02-25 12:20:17 +08:00
Gabriel Horner 35d2023e24 Add shadow test runner that provides most test-runner like options 2022-02-24 22:45:52 +08:00
Tienson Qin 982eba9396 refactor: remove i18n tongue context 2022-02-08 17:31:32 +08:00
Gabriel Horner 2f86f6859e Remove unnecessary additional target thanks to cmdline option 2022-01-22 00:01:11 +08:00
Gabriel Horner 558784a8bd Add shadow build for auto testing 2022-01-22 00:01:11 +08:00
Andelf 3d12402b6a fix(build): rm parser-worker patch 2021-12-26 10:50:58 +08:00
Andelf 7bd30a6204 refactor(dev): use global dev-http in shadow-cljs 2021-12-22 10:40:58 +08:00
Andelf f80af25b94 enhance: format build cfgs, reorder module deps 2021-12-22 10:40:58 +08:00
Tienson Qin 53aa6afcac chore: update github workflow 2021-11-18 18:23:11 +08:00