Commit Graph

143 Commits

Author SHA1 Message Date
charlie
96fb8da599 enhance(ui): add ghost shui button for the toolbar 2024-12-19 17:51:33 +08:00
Tienson Qin
47524fda15 Merge branch 'feat/db' into refactor/dsl-query 2024-10-16 17:48:49 +08:00
charlie
7167e56f8c enhance(ui): remove classic sub modals 2024-10-12 11:56:38 +08:00
charlie
99eda538ab enhance(plugin): add report plugin entrances for the Marketplace. 2024-08-29 16:26:42 +08:00
Gabriel Horner
5ff364ba1e fix: stop shadowing vars for components
Turn on kondo :shadowed-var lint and fix failures.  If this lint had
been turned on, it would have caught logseq/db-test#38 and saved us time
from debugging which random component was accidentally shadowed by a var
and failing with 'Objects are not valid as a React child'. Also fixed a
few outside components but stopped b/c there are too many to do right
now
2024-08-23 15:19:33 -04:00
charlie
bfdbc200cc enhance(ui): add appearance option to the global app menus 2024-08-13 13:45:42 +08:00
charlie
d278067f8c enhance(ui): support hide close button option for the shui dialog 2024-06-26 10:01:54 +08:00
Tienson Qin
95eb0e7f4a Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-29 15:55:23 +08:00
charlie
7dca9292d1 enhance(ui): polish details 2024-04-28 19:24:47 +08:00
Tienson Qin
44af2213ce Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-21 13:22:37 +08:00
charlie
90a0d0d5f8 enhance(ui): polish the details for the plugins related cp 2024-04-19 17:21:38 +08:00
charlie
5797dbac6c enhance(ui): polish details for the settings-related dialog 2024-04-15 15:43:16 +08:00
Tienson Qin
9f9bfbc5e6 Merge branch 'feat/db' into refactor/db-remove-block-name-unique 2024-04-08 23:56:46 +08:00
Tienson Qin
2d5eb0f79f enhance: editor experience
1. back to use container id + editing block id instead of block dom
ref to decide which block is in editing, to simplify edit-block! and
reduce browser gc.
2. set next editing block ahead of receiving the data changes from db
worker, so the editor feels a bit faster.
2024-04-08 21:10:12 +08:00
charlie
8e4bd2e997 enhance(ui): refactor the plugin related components 2024-04-08 14:34:53 +08:00
charlie
57af873bf4 enhance(ux): support more align position for the shui dialog 2024-04-08 11:40:36 +08:00
charlie
76f8fbffd0 enhance(ui): refactor the dropdown with the shui popup 2024-04-01 11:46:59 +08:00
charlie
833384a361 enhance(ux): diagnosis for the shui popup trigger response is not immediate enough 2024-03-29 16:40:30 +08:00
charlie
1364e25714 enhance(ui): polish the shui dialog details 2024-03-28 14:32:56 +08:00
charlie
18a1655cac enhance(plugin): support custom daemon renderer from the plugin sdk 2024-03-22 15:25:02 +08:00
Gabriel Horner
e3b67a9d9a fix lints 2024-03-21 12:35:28 -04:00
charlie
53125d6315 enhance(plugin): support custom routes from the plugin sdk 2024-03-21 19:07:16 +08:00
charlie
bd26d0db0e fix(ui): the confirm dialog to uninstall plugin 2024-03-21 19:03:34 +08:00
charlie
527a8b177e enhance(ui): polish the plugins modal 2024-03-21 19:03:34 +08:00
charlie
b898a39ff2 enhance(ui): polish ui details for the property rows 2024-03-20 12:19:07 +08:00
charlie
e801118466 enhance(ui): refactor the classic modal with the shui dialog 2024-03-19 15:41:48 +08:00
charlie
72faafa832 enhance(ui): refactor the plugins modal with the shui dialog 2024-03-18 21:30:05 +08:00
charlie
419b99681e enhance(ui): refactor the plugin manager menu with the shui popup 2024-03-18 17:41:23 +08:00
charlie
7a59ef7413 enhance(ui): refactor the plugin manager menu with the shui popup 2024-03-18 17:33:49 +08:00
charlie
e1acd86481 fix(ui): checkbox behavior for the updates 2024-03-13 11:45:26 +08:00
Tienson Qin
5efb1536c2 fix: replace all onmousedown/up with onpointerdown/up
onMouseDown can't be used in dropdown trigger
2024-03-12 15:50:27 +08:00
Tienson Qin
d119a15229 enhance: use radix checkbox globally 2024-03-11 21:40:32 +08:00
charlie
c55dae4b1c enhance(ui): polish default border color variable 2024-01-16 16:31:46 +08:00
charlie
be5d205162 Merge branch 'master' into enhance/refacotr-ui-x-menu 2024-01-16 16:13:16 +08:00
Charlie
7db164ab47 Enhance: APIs related issues (#10782)
* fix(plugins): load unpacked package for the existed plugin

* enhance(plugin): increase timeout time for the plugin handshake

* enhance(api): support option to insert block with auto ordered list

* fix(api): skip empty target for the batch insertion blocks

* fix(api): before option for the batch blocks insertion

* enhance(api): types

* chore: bump minor version

* fix(apis): Empty `payload.uuid` when executing onMacroRendererSlotted inside query table
2024-01-16 15:47:56 +08:00
charlie
38eeb8cc8a enhance(ui): polish the shortcut label 2024-01-15 11:21:03 +08:00
charlie
8be15476ab enhance(ui): make consistent accent colors for all the popover dropdown 2024-01-05 15:20:12 +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
Charlie
036df25a17 Enhance: plugin APIs (#10399)
* 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

* fix(ux): support querying plugins with right space chars
2023-12-13 15:42:21 +08:00
charlie
0e1295b142 fix(ui): shui button internal theme state 2023-11-13 21:57:16 +08:00
Tienson Qin
f52e6bf127 enhance: replace ui/button with shui/button 2023-11-09 00:37:14 +08:00
Andelf
af2d00ac88 enhance(electron): close notification message when test proxy setting 2023-09-15 18:58:32 +09:00
Andelf
cd24919716 enhance(sync): refine network checking (#10147) 2023-09-06 00:18:34 +08:00
Charlie
741edecc57 Enhance(UX): marketplace (#9609)
* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo

* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo
2023-06-19 12:51:40 +08:00
charlie
52c3278a5d fix(ui): polish the plugin settings modal 2023-06-16 00:30:41 +08:00
Charlie
1696081bed Enhance(UX): polish details for the plugin fenced code block (#9590)
Add the ability for real-time rendering of fenced code block.
2023-06-14 21:49:00 +08:00
Konstantinos Kaloutas
135e3228b6 fix: translations 2023-06-09 13:54:32 +03:00
John Doe
9fcaebf70d enhance: convert hardcoded strings in the UI to be translatable (#9588)
* add some missing strings to en dict

* main/frontend/components/search: fix wrong title

* update namespaces according to file names

* update missing title with new namespace

* Revert translating developer logging

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-06-06 17:58:54 -04:00
Bad3r
607345fa87 fix: Ensure space rendering in menu item titles 2023-05-29 10:15:43 +08:00
charlie
aba0391ac1 fix(plugin): missing renderer for the pagebar ui items 2023-05-04 15:07:59 +08:00