Commit Graph

405 Commits (8995881a387409401c1297fef81f9260f03ce50f)

Author SHA1 Message Date
Andelf da78593eb1 fix(sync): cannot delete some nested files
Close #11278
2024-05-08 16:42:41 +08:00
charlie e40e39c3aa enhance(ux): better highlights page name for the search result items 2024-04-29 15:56:11 +08:00
Tienson Qin a324d845b2 fix: don't parse refs from quoted string 2024-04-07 21:35:14 +08:00
Tienson Qin b5f0f58efc fix: missing refs for property text values when creating a page 2024-04-07 21:35:14 +08:00
Andelf ae41c6d192 fix(search): rm lowercase normalization for query terms 2024-02-29 18:28:22 +08:00
Andelf 27433ed6f8 fix(search): query highlight performace
Close #11027
Close #11026
2024-02-29 18:28:22 +08:00
charlie 4cfd97de3d Merge branch 'master' into enhance/refacotr-ui-x-menu 2024-01-25 12:34:15 +08:00
Gabriel Horner dc5127b48a enhance: publishing --dev also watches frontend
also provide a dedicated backend command for simpler
rebuilding of backend
2024-01-24 08:53:48 -05:00
Gabriel Horner 3cd7b2d762 enhance: add a --dev mode to publishing that pairs with shadow's watch 2024-01-24 08:53:48 -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
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 621faf90a4 fix: don't treat a block as pre block if it has auto heading 2023-12-15 17:10:16 +08:00
Gabriel Horner 8dde33e915 chore: Update datascript to latest version before our fork
Also updated db/entity because d/entity returns nil for nonexistent ids since 1.4.2
2023-12-15 09:42:52 +08:00
Tienson Qin ed06991f46 fix: remove :pdf from allowed formats 2023-12-06 17:39:31 +08:00
Tienson Qin 17f10edb39 fix: ignore binary files and other formats from watcher 2023-12-06 17:39:31 +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
Gabriel Horner 548fa98605 enhance: allow CLI and github action to set color accent 2023-11-28 22:32:34 +08:00
Andelf 68bae90039 test(fs): add unittests for new fn 2023-11-28 02:39:52 +08:00
Andelf 3069f5d7e3 fix(fs): path-join testcase 2023-11-28 02:39:52 +08:00
Andelf 61a3c19176 fix(fs): windows unc path support 2023-11-28 02:39:52 +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