Commit Graph

186 Commits

Author SHA1 Message Date
Tienson Qin
b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Tienson Qin
48b5593008 wip: outliner refactor 2024-01-02 18:07:17 +08:00
Tienson Qin
ca4f0d4c04 enhance: increase bullet border width when its block was selected 2023-12-29 17:01:32 +08:00
Tienson Qin
2b0d956626 enhance: add border to bullet instead of block container 2023-12-26 17:56:43 +08:00
Mega Yu
b69087c30a optimize CSS to make the selection of blocks more intuitive 2023-12-26 17:56:43 +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
charlie
1fdcdbe454 fix(ui): incorrect background color of the references blocks item container 2023-11-30 17:52:44 +08:00
Tienson Qin
90ffbebc17 Merge branch 'master' into feat/db 2023-11-21 13:53:16 +08:00
Charlie
08633b7552 enhance(ui): polish accent color details (#10520)
* enhance(ui): polish accent color details

* fix(ui): inline code bg color for accent mode

* fix: set page properties bg color the same as block properties

* fix: plugins background color

* fix: set the same width for keymap

* fix: set limited height for settings modal

* fix: page title color

* fix: accent colors for bullets and guideline

* fix: bullet hover background

* fix: remove unnecessary background colors for onboarding

* fix: clear notification since the beginning of e2e tests

* chore: remove unstable page-rename test

* fix: e2e tests

* fix: reset whiteboard title to untitled if a page exists

* fix: linked whiteboard

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-11-20 23:26:30 +08:00
Tienson Qin
ee3442a44b Merge branch 'master' into feat/db 2023-11-14 20:40:36 +08:00
Tienson Qin
a31c530de5 fix: color-level class 2023-11-12 22:58:02 +08:00
Tienson Qin
4402dcd38a chore: replace --logseq-og with --ls 2023-11-09 13:37:33 +08:00
Tienson Qin
03a15e5391 fix: different background color for block children 2023-11-06 23:09:10 +08:00
Ben Yorke
40c660625e Annotate all lx colors 2023-11-06 14:53:59 +01:00
Tienson Qin
9cd3327794 enhance: lazy load performance 2023-10-25 16:22:34 +08:00
Tienson Qin
5153b81004 fix: diff position when click-to-edit 2023-10-03 07:57:27 +08:00
Ben Yorke
328cd58c9f Jakob round III 2023-09-29 16:11:20 +02:00
Ben Yorke
7868b3aee7 Jakob feedback 2023-09-29 11:17:52 +02:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
Tienson Qin
f5b290c64f enhance: show tags when editing a block 2023-08-31 17:36:38 +08:00
Konstantinos
caf1d9d1e3 Enhance: Left sidebar (#9880)
* wip: right sidebar

* fix: graph height

* re-enable scrolling on list

* style: indentation

* fix: always expand block when added to sidebar

* fix: show close button on mobile

* wip: right sidebar

* support default and custom icons

* fix whiteboard icon

* fix: header overflow

* remove unneeded dependency

* fix graph icon

* add middle click action and context menu

* add more context menu actions

* add reordering support

* fix dropdown visibility

* dnd fixes and initial state

* varous fixes

* fix event propagation

* enhance accesibility

* area expanded fix

* add translations

* refactoring

* enhance performance

* enhance text overflow

* fix page link

* drag enter fix

* add rounded corners and transition

* add keyboard shortcuts icon

* revert left sidebar change

* left sidebar bg and border

* various left sidebar enhancements

* alignment fixes

* split favorites and recents scrolling

* handle unavailable icon

* handle overflow edge case

* fix and refactor menu shortcuts

* handle zero items

* display nan shortcuts on mouse over

* min height fix

* min height fix

* simplify chevron icon

* minor fixes

* add flashcards shortcut

* revert initial sidebar state changes

* cloud icon fix

* fix border radius

* add missing go-home shortcut

* add clear recent button

* fix typo

* hide scrollbars

* remove transition

* fix: favorites

* fix: border and rounded corners

* fix: dnd delay

* Revert "add clear recent button"

This reverts commit d8c52c35f0.

* fix: keyboard shortcuts

* fix: shortcuts

* remove unused require
2023-08-16 23:39:29 +08: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
Tienson Qin
327d0abdb3 fix: wrong position when editing a block from sidebar or whiteboard 2023-06-16 12:29:20 +08:00
charlie
7c8bc62a68 fix(ui): incorrect position of the number list fold arrow on mobile 2023-05-15 19:34:30 +08:00
charlie
d97d200b05 fix(mobile): incorrect padding between the bullet marker and the content boundary on mobile 2023-05-15 19:34:30 +08:00
Tienson Qin
7f56e83df7 fix: can't jump to the correct position when editing number list 2023-05-15 16:06:14 +08:00
charlie
e9620959e0 enhance(ui): align the number list with the bullet list prefix marker 2023-05-15 15:34:29 +08:00
charlie
8ba4667f04 enhance(ui): align the number list with the bullet list prefix marker 2023-05-15 15:34:29 +08:00
Tienson Qin
a842b7de72 fix: align block content for ordered items and unordered items 2023-05-12 18:51:12 +08:00
charlie
3fd595ad2c fix(ui): vertical alignment for ordered list marker with bullet marker 2023-05-12 18:51:12 +08:00
charlie
8b08bcf070 enhance(ui): hover state for the number list item marker 2023-05-04 16:50:51 +08:00
charlie
097c58e1e7 enhance(ui): align left for the number list marker 2023-05-04 16:28:23 +08:00
charlie
339360a3dc fix(ui): make order list style more compatiable 2023-04-18 14:20:16 +08:00
charlie
91da91ee3f feat(ui): WIP number list block (own-property) 2023-04-18 12:30:19 +08:00
charlie
cc58ea4888 fix(ui): marker of number list 2023-04-15 10:10:38 +08:00
charlie
ae652b5637 feat(ui): WIP number list block (own-property) 2023-04-13 17:07:06 +08:00
charlie
a98e612a54 Merge branch 'master' into feat/custom-children-list-style 2023-04-13 01:00:40 +08:00
charlie
c8387e9663 fix(ui): breadcrumb fragments overflow in query results container 2023-04-12 23:26:01 +08:00
charlie
d8af0cc35a feat(ui): WIP number list block 2023-04-12 17:43:14 +08:00
charlie
d4950b1898 enhance(ui): add hint class for the blank content block 2023-04-12 00:40:20 +08:00
charlie
9b4fcbba66 fix: lint 2023-04-04 11:49:03 -04:00
charlie
4e631eed0c fix(ui): heading image overflow for the breadcrumb items 2023-04-04 11:49:03 -04:00
Tienson Qin
1c3b92d1e3 enhance: use icon for breadcrumb separator 2023-03-29 17:30:46 +08:00
Tienson Qin
d3155f41ff chore: margin tweaks 2023-03-29 17:30:46 +08:00
Tienson Qin
43bb77322f fix: query with breadcrumbs show blocks on wrong hierarchy
close #5859
2023-03-29 17:30:46 +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
3411af57fd fix(ui): consistent style for image container 2022-12-29 21:04:32 +08:00
charlie
45420963bc improve(ui): polish block padding on mobile 2022-11-29 12:29:32 +08:00