Commit Graph

128 Commits

Author SHA1 Message Date
charlie
af7651462b enhance(ux): polish classic select for the property dropdown editor 2024-08-29 14:00:05 +08:00
charlie
3d582c9cda enhance(ux): support do not remind me for the shui confirm dialog 2024-08-26 16:34:53 +08:00
charlie
c02052f214 fix(css): invalid tailwind value 2024-08-22 12:36:31 +08:00
charlie
1b0a67f359 enhance(dev): add debug option for the property edit dropdown 2024-08-22 11:32:21 +08:00
charlie
d3057f6965 refactor: remove unused css 2024-08-09 14:38:12 +08:00
charlie
0c2dd53c2f enhance(ui): refactor classic modal with the shui dialog 2024-06-26 09:29:20 +08:00
charlie
e2ff6e1990 enhance(ui): refactor classic modals with the shui dialog 2024-06-25 15:37:11 +08:00
Tienson Qin
8626710a2f fix: use the new popover instead of custom dropdown for whiteboards 2024-06-03 16:59:33 +08:00
charlie
fe12ffab86 enhance(ui): polish accent color for the classic form select 2024-04-15 18:30:59 +08:00
charlie
d8f98c2733 enhance(ui): polish details for the input style 2024-04-09 11:22:52 +08:00
charlie
c0bf03520f enhance(ui): polish the emojis&icons picker 2024-02-29 16:20:47 +08:00
Tienson Qin
5facb99652 Merge branch 'master' into enhance/refacotr-ui-x-menu 2024-02-06 10:25:38 +08:00
charlie
2fdd69090b fix(ui): incorrect accent color for the range slider 2024-02-05 13:33:07 +08:00
charlie
4c98549d9a enhance(ui): clean up css vars 2024-01-31 11:51:25 +08:00
charlie
c32a569270 enhance(ui): polish toggle button for the non-accent colors 2024-01-23 18:09:58 +08:00
charlie
8f0c4faec7 enhance(ui): polish the non-accent colors 2024-01-22 18:41:55 +08:00
charlie
252d3b4f27 enhance(ui): replace the hard color to radix and shadcn vars color 2024-01-21 18:25:03 +08:00
charlie
a0298266ba enhance(ui): polish logseq color vars 2024-01-19 11:43:53 +08:00
charlie
91c54a6189 enhance(ui): polish popover accent color 2024-01-17 17:49:43 +08:00
charlie
402ac73ec9 fix(ui): accent colors for the form input 2024-01-16 16:11:37 +08:00
charlie
e7b9d58bd9 enhance(ui): polish accent colors 2024-01-12 17:34:35 +08:00
charlie
a27f360cd8 enhance(ui): make consistent accent colors for all the popover dropdown 2024-01-05 12:47:31 +08:00
charlie
a9fb491811 fix(ui): incorrect position for the filter modal on ios platform 2024-01-03 17:07:39 +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
4402dcd38a chore: replace --logseq-og with --ls 2023-11-09 13:37:33 +08:00
Tienson Qin
086e25b236 fix: button default background color 2023-11-09 13:31:53 +08:00
Tienson Qin
f52e6bf127 enhance: replace ui/button with shui/button 2023-11-09 00:37:14 +08:00
Ben Yorke
40c660625e Annotate all lx colors 2023-11-06 14:53:59 +01:00
Tienson Qin
de4ad909a9 Merge branch 'master' into feat/cmdk 2023-11-06 16:12:02 +08:00
Tienson Qin
4eb595cb94 fix: sub modal background 2023-11-05 20:48:17 +08:00
Tienson Qin
942b1677e3 enhance: remove modal border 2023-11-05 18:07:42 +08:00
Charlie
1389836119 Feat: the new handbooks (#8524)
* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks popup

* feat(ui): WIP dragable & resizable for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP handbooks markdown body

* feat(ui): WIP handbooks nodes for dashboard render

* feat(ui): WIP watch mode for development

* improve(ui): typos

* feat(ui): WIP enhance watch mode

* feat(ui): WIP support topic conent link local assets

* feat(ui): WIP support slide gallery for demo images & videos.

* fix(ui): parse value about draging position offset

* improve(ui): background color transition of handbook item card

* improve(ui): resizable of handbooks popup

* feat(handbooks): search topics

* improve(handbooks): search results within topics group

* improve(ui): better interaction for handbooks searchbar

* fix(handbooks): conflictive up/down for searchbar interaction

* improve(ux): better interaction for handbooks searchbar

* feat(ux): support youtube video for topic demos media

* fix(ui): container size of youtube video demos

* improve(handbooks): support local video for topic demos

* improve(ui): polish markdown body style for handbooks topic details

* chore: remove debugs

* chore: remove debugs

* improve(ui): polish active style for topic item card

* improve(ui): polish style of demos item

* improve(ui): help buttons still be visible when right sidebar opened

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support chapters searching for topics list

* fix: lint

* improve(ui): position of demo slides bullets

* fix(ui): index of chapter select

* improve(handbooks): typo

* fix(dev): lint

* fix(dev): lint

* fix(pdf): remove prefix(`@`) checking for links of org mode page

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks pane

* feat(ui): WIP handbooks popup

* feat(ui): WIP dragable & resizable for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP pane navigations for handbooks popup

* feat(ui): WIP handbooks markdown body

* feat(ui): WIP handbooks nodes for dashboard render

* feat(ui): WIP watch mode for development

* improve(ui): typos

* feat(ui): WIP enhance watch mode

* feat(ui): WIP support topic conent link local assets

* feat(ui): WIP support slide gallery for demo images & videos.

* fix(ui): parse value about draging position offset

* improve(ui): background color transition of handbook item card

* improve(ui): resizable of handbooks popup

* feat(handbooks): search topics

* improve(handbooks): search results within topics group

* improve(ui): better interaction for handbooks searchbar

* fix(handbooks): conflictive up/down for searchbar interaction

* improve(ux): better interaction for handbooks searchbar

* feat(ux): support youtube video for topic demos media

* fix(ui): container size of youtube video demos

* improve(handbooks): support local video for topic demos

* improve(ui): polish markdown body style for handbooks topic details

* chore: remove debugs

* chore: remove debugs

* improve(ui): polish active style for topic item card

* improve(ui): polish style of demos item

* improve(ui): help buttons still be visible when right sidebar opened

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support sub chapters for topic detail

* improve(handbooks): support chapters searching for topics list

* fix: lint

* improve(ui): position of demo slides bullets

* fix(ui): index of chapter select

* improve(handbooks): typo

* fix(dev): lint

* fix(dev): lint

* improve(handbook): i18n

* fix(lint): unused translations

* fix: accessibility issues and translations

* fix(handbook): chapters navigation

* enhance(handbook): ux of the chapters select

* enhance(handbook): support link other page with markdown link syntax

* improve(ui): polish ui details of handbook topics card

* fix(handbook): parse key from href with a specific extension

* enhance(handbook): logic of chapters navigation

* enhance(handbook): ui of chapters navigation

* fix: lint

* improve(ui): display nowrap for code text

* fix(handbook): remove unnecessary source map

* fix(ui): missing component key of handbook chapter select

* enhance(handbook): WIP support panes navigation for the external links

* enhance(handbook): support panes navigation for the external links

* improve(ui): footer links of the handbook home pane

* improve(ui): footer links of the handbook home pane

* improve(ui): polish topics card

* improve(handbook): add shortcuts category card for home pane

* improve(ui): WIP the new help menu

* improve(ui): the new help menu

* fix: incorrect help link

* improve(ux): close help menu when click outside

* fix: lint

* fix(lint): remove unused translation

* fix(ui): the link of changelog

* fix(ui): the cover thumb container size of the topic card

* fix(ui): handbook popup overlay index

* enhance(ux): preivew images with lightbox modal for the handbook content

* enhance(ux): bottom border for the handbook content header when then content body scrolled

* fix: missing i18n

* improve(handbook): polish ui details

* fix: lint

* enhance(handbook): polish details

* fix(ui): incorrect safety init

* fix(ui): missing key for the help menu items

* enhance(ui): disable resize for the handbook popup container

* chore: build libs core

* fix(ui): incorrect shortcuts label

* enhance(handbook): cache discord online number

* enhance(handbook): fix heading level sizes

* enhance(handbook): improve paragraph spacing

* enhance(handbook): improve margins of media elements

* enhance(handbook): polish discord button

* enhance(plugin): make headings/font weights/colors look like in the design

* enhance(handbook): writing mode option is only available for develop mode

* enhance(handbook): polish handbook dashboard page

* enhance(handbook): typos

* enhance(ux): get discord online users count from logseq server

* fix(handbooks): incorrect var name

* enhance(handbook): polish details

---------

Co-authored-by: Bad3r <bad3r@protonmail.com>
Co-authored-by: situ2001 <yongcong2001@outlook.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-10-27 14:33:10 +08:00
Ben Yorke
4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00
Ben Yorke
c8692d12c4 Updates to radix jakobs feedback 2023-06-30 09:35:01 +02:00
Ben Yorke
c6cad4135e second pass at styling 2023-06-30 09:34:31 +02:00
Ben Yorke
3e86da1b7b Initial radix color styling 2023-06-30 09:34:29 +02: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
Ben Yorke
86d4351e96 design refresh 2023-06-09 10:49:18 -04:00
charlie
b6a7b81441 enhance(shortcuts): polish list for the plugins shortcuts 2023-05-18 17:59:09 +08:00
Charlie
60fbfdf2f7 Enhance: plugin-related improvements (#8787)
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374
 - fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920
 - feat: add a plug-in flag for the plugin slash commands item
 - feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>
 - feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string }
 - enhance: auto-check updates for the installed plugins from Marketplace
 - feat: expose template-related APIs to SDK
2023-04-12 21:27:40 +08:00
charlie
be2140608d improve(ui): adapt the login modal to responsive layout 2023-03-28 22:53:34 +08:00
Charlie
95c5cba9db Feat: The new login UI (#8865)
Built-in login UI instead of callback

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-27 19:56:18 +08:00
Tienson Qin
db6fc6b7ee feat: simple query builder (#8774)
Simple query builder

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
charlie
a345f434e3 enhance(ux): auto-complete ux with mouse 2023-03-13 13:54:47 -04:00
Tienson Qin
74bc7c69cb fix: set min width for modal 2022-12-29 21:35:09 +08:00
Konstantinos Kaloutas
ccca56efd9 fix: button display 2022-12-20 21:40:11 +08:00
charlie
38e58b7de5 fix(mobile): maximum width for modal content container 2022-12-19 17:30:10 +08:00
charlie
6bfa722cd9 fix(ui): missing padding of the modal container on mobile 2022-12-13 14:40:36 +08:00
Andelf
cfdcd9410c Merge branch 'master' into enhance/mobile-ux-2 2022-12-06 12:46:15 +08:00
Sergey Kolesnik
8b8fe908c0 A bunch of sanity in search palette CSS (#7334)
* legacy style fix: clean `#search-wrapper svg` css

* search palette css review; `--ls-search-icon-color` var reabilitation

Co-authored-by: Konstantinos <konstantinos@logseq.com>
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-12-05 10:51:27 -05:00