Commit Graph

189 Commits (62252479eeb4bed0c4db3c0a20024b36d34425b0)

Author SHA1 Message Date
Andelf 27433ed6f8 fix(search): query highlight performace
Close #11027
Close #11026
2024-02-29 18:28:22 +08:00
charlie 15dce782ae enhance(ui): WIP polish emojis&icons picker 2024-02-28 17:16:18 +08:00
charlie 49d3c63a89 enhance(ui): align popup position for the specific target element trigger 2024-02-26 22:16:45 +08:00
charlie 249a4ebac6 fix(ui): the date picker overflow within the property value editor 2024-02-26 17:12:12 +08:00
charlie 9f5104e590 refactor(ui): WIP refactor the perperty editor with the shui pupops 2024-02-23 14:48:25 +08:00
charlie 6d1fdd445a enhance(ui): export popup APIs to ui ns 2024-02-20 13:34:23 +08:00
charlie 38406fb39a enhance(ui): add tag for the popups pending state 2024-02-18 11:36:55 +08:00
charlie 832f18923d feat(ui): add x-popup implementation to shui 2024-02-09 12:12:21 +08:00
Tienson Qin 62b90b7ae7
Merge branch 'feat/db' into perf/lazy-load-data 2024-02-09 09:28:36 +08:00
charlie 5b6b9d050a enhance(ui): WIP playground for x popup 2024-02-08 17:10:27 +08:00
charlie 818cc2e4bb enhance(ui): WIP playground for x popup 2024-02-08 16:19:08 +08:00
charlie acb577c5f6 enhance(ui): WIP playground for x popup 2024-02-08 11:07:37 +08:00
charlie 6eb46ba77a enhance(ui): WIP playground for x popup 2024-02-08 10:04:11 +08:00
charlie b6a0ecd462 enhance(ui): WIP playground for x popup 2024-02-07 20:02:10 +08:00
charlie 41e72b976b enhance(ui): WIP playground for x popup 2024-02-07 18:50:40 +08:00
charlie 1466ad8cc5 enhance(ui): WIP playground for x popup 2024-02-07 16:48:44 +08:00
Tienson Qin 7e8ab72494 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-07 04:07:40 +08:00
charlie cb4a6701dd Merge branch 'master' into feat/db 2024-02-06 14:13:57 +08:00
Tienson Qin 9028976100 fix: block breadcrumb 2024-02-03 08:11:01 +08:00
Tienson Qin b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
charlie 38eeb8cc8a enhance(ui): polish the shortcut label 2024-01-15 11:21:03 +08:00
charlie 332f2fdf29 enhance(ui): polish colors for the cmdk shortcuts label 2024-01-10 16:36:46 +08:00
charlie adfbfa52ec enhance(ui): polish colors for the shortcut label component 2024-01-09 17:29:08 +08:00
charlie c6aa3a98dd enhance(ui): polish shortcuts component 2024-01-09 12:00:53 +08:00
aurnik 2fcffcbd25 Move page alias formatting for list items so the text highlights properly 2024-01-02 15:59:15 +08:00
Charlie 0dd5584010
Enhance(ui): left sidebar (#10765) 2023-12-29 16:54:47 +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 e04a5b4316 Merge branch 'master' into feat/db 2023-12-04 20:47:37 +08:00
Tienson Qin ecde2c3bfc
fix: cross-platform shotcuts (#10590)
This PR also simplifies the implementation of shui/shortcut a lot.

* fix: consistent char for the Enter key

* fix: show ctrl instead of ⌘ for copy ref

* fix: "Ctrl" should be split from "Ctrl X"
2023-12-03 12:40:08 +08:00
Tienson Qin 47082c8a16 fix: do not hide shortcuts in the search modal
Fixes #10575
2023-11-30 22:31:27 +08:00
Tienson Qin ee3442a44b Merge branch 'master' into feat/db 2023-11-14 20:40:36 +08:00
Tienson Qin 2a62767f34 chore: replace shui__ with ui__
Theme creators don't need to know about shui.
2023-11-13 22:39:53 +08:00
charlie 0e1295b142 fix(ui): shui button internal theme state 2023-11-13 21:57:16 +08:00
Tienson Qin e4714668b9 fix: cmdk on mobile 2023-11-13 16:41:00 +08:00
Tienson Qin eaadd462ff fix: listitem hardcode css variable 2023-11-13 13:37:21 +08:00
Tienson Qin 80703328b0 fix: keyboard shortcuts style 2023-11-13 13:09:14 +08:00
Tienson Qin 96693439d0
Feat/cmdk radix tweaks (#10493)
* prefer --lx-gray-11

* Fix sidebar item color

* Update theme mode images

* Update shortcuts globally

* Assets updated to support radix

* fix: add missing keyboard-shortcut class

* fix: custom button background

* fix: lower case shortcuts

* chore: remove old shortcut list

* fix: shortcut ns

* enhance: shortcut accepts both sequence and string

* fix: shortcut remap ux

* fix: remove codemirror box shadow

---------

Co-authored-by: Ben Yorke <ben@yorke.io>
2023-11-12 20:43:10 +08:00
Tienson Qin f52e6bf127 enhance: replace ui/button with shui/button 2023-11-09 00:37:14 +08:00
Ben Yorke 018835b700 Specify gradient stops 2023-11-08 15:59:48 +01:00
Tienson Qin 117ebe0768 fix: create button bg 2023-11-08 22:00:59 +08:00
Tienson Qin 05da1618b6 enhance: tip style tweaks based on jakob's suggestions 2023-11-08 20:41:07 +08:00
Ben Yorke 1896d372b1 fix highlighted text color 2023-11-07 16:35:31 +01:00
Tienson Qin 69370db70e fix: esc handler 2023-11-07 16:49:00 +08:00
Tienson Qin eeeea39fa4 fix: button doesn't support href attribute 2023-11-06 22:34:17 +08:00
Tienson Qin b0b24f795a fix: lint 2023-11-06 22:09:41 +08:00
Tienson Qin 04b85f6572 fix: hidden text 2023-11-06 11:35:23 +08:00
Tienson Qin fc4c1d4c71 fix: highlight match 2023-11-05 21:37:55 +08:00
Tienson Qin 2d1d841926 fix: white text icon for dark theme only 2023-11-05 19:56:12 +08:00
Tienson Qin 3f18cebe7d enhance: add fade-in to shortcut 2023-11-03 01:48:16 +08:00
Tienson Qin 6e046fb3d1 enhance: display shortcut when highlighted 2023-11-03 01:03:09 +08:00
Tienson Qin 12ddf65a22 Add shui/shortcut component
Display mod+up/down for show more/less
2023-11-03 00:47:31 +08:00
Tienson Qin 8d2d857ca3 fix: add default value for button theme 2023-11-03 00:19:17 +08:00
Tienson Qin 07146f4b81 enhance: ESC to quit filter 2023-11-03 00:16:36 +08:00
Tienson Qin f16127c80b enhance: tile sm size 2023-11-03 00:16:36 +08:00
Tienson Qin 439d08cf8a enhance: move tip to the left 2023-11-03 00:16:36 +08:00
Tienson Qin 42aa66c8e1 fix: replace buggy shortcuts handler with mixins
Also, removes :none for sections expand/collapse because:
1. It's not needed that often, we also have filters
2. Highlighted item will be invisible when collapsing the section
2023-11-01 16:47:44 +08:00
Tienson Qin 3b336ba9b1 fix: display block breadcrumb instead of its page for search items 2023-11-01 13:18:24 +08:00
Ben Yorke 184dfd7d54 More design tweaks 2023-10-26 14:24:12 +02:00
Ben Yorke 7a7c3b9c62 Design refresh 2023-10-24 17:35:51 +02:00
Ben Yorke 3325f47136 resizing 2023-10-21 16:28:17 +02:00
Ben Yorke 9d6154937a Save dialog 2023-10-16 20:39:04 +02:00
Tienson Qin 7138be295f remove :blocks-container-id usage 2023-10-11 00:46:47 +08:00
Ben Yorke 2d659e8058 Indice being built async + jakob feedback 2023-10-10 15:47:19 +02:00
Ben Yorke 2730f3bc0e another round of logging 2023-10-09 17:08:40 +02:00
Ben Yorke 145c519e1a Add logging to highlight query 2023-10-09 16:05:14 +02:00
Ben Yorke 6247cc35fe Abandon perf fix attempt 2023-10-09 15:00:35 +02:00
Ben Yorke 79a11f8b88 Jakob IV 2023-09-29 17:03:31 +02:00
Ben Yorke 2ab619e44a Fix build error 2023-09-29 16:21:14 +02:00
Ben Yorke 328cd58c9f Jakob round III 2023-09-29 16:11:20 +02:00
Ben Yorke 3106eeff99 Fix breaking normalization 2023-09-29 11:24:21 +02:00
Ben Yorke 7868b3aee7 Jakob feedback 2023-09-29 11:17:52 +02:00
Ben Yorke 3893d26445 Fix lower case bug 2023-09-26 15:32:13 +02:00
Ben Yorke e3407138cd Updates 2023-09-25 16:21:41 +02:00
Ben Yorke 2ee777ae97 Updates 2023-09-24 21:31:45 +02:00
Ben Yorke 246e904457 cmdk2 updates 2023-09-15 13:30:51 +02:00
Gabriel Horner 41bd76a704 Merge branch 'master' into feat/db 2023-09-07 17:52:25 -04:00
Tienson Qin 89186a438e perf: avoid unnessary block component rendering 2023-09-06 21:38:08 +08:00
Ben Yorke 0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
Ben Yorke 24006b3d82 updates 2023-08-25 15:54:00 +02:00
Zhizhen He 4cb23ab193 ci: upgrade typos to 1.16.8 2023-08-24 10:29:51 -04:00
Ben Yorke 8bff0f2139 cmdk initial implementation 2023-08-02 23:07:05 +03:00
Ben Yorke 6f984d45ef cmdk 2023-06-30 20:59:05 +02:00
Ben Yorke 4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00
Ben Yorke 1e264c9c76 Update codemirror 2023-06-30 09:35:34 +02:00
Ben Yorke a7b9c01586 Add native gradient support 2023-06-30 09:35:32 +02:00
Ben Yorke 641a38afa6 Setting of radix colors 2023-06-30 09:33:35 +02:00
Ben Yorke fe874cf163 adr shui 2023-06-30 09:32:53 +02:00
Tienson Qin c81e114a1c fix: lint 2023-06-28 15:20:22 +08:00
Ben Yorke 928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00