Commit Graph

160 Commits

Author SHA1 Message Date
charlie
4738e33555 Merge branch 'master' into feat/db 2024-02-08 15:15:15 +08:00
charlie
8d4f77b1d2 feat(ui): support more dots-button action menu for the favorites/recent pages 2024-02-08 11:39:50 +08:00
Gabriel Horner
59456464f3 enhance: make loading indicator noticeable for publishing
publishing apps can take awhile to load so we want the loading
to be obvious, not muted
2024-02-07 15:23:13 -05:00
Tienson Qin
7e8ab72494 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-07 04:07:40 +08:00
Tienson Qin
140287e3ea perf: don't load properties and classes for initial data
This commit also fixed the issue that some pages such as "Status" will
be shown as lower cased.
2024-02-07 03:45:35 +08:00
charlie
cb4a6701dd Merge branch 'master' into feat/db 2024-02-06 14:13:57 +08:00
Tienson Qin
fa9d5fac1e Load whole data for shorter pages 2024-02-03 19:02:25 +08:00
rcmerci
0b52f8ad58 enhance: make ui reactive when favorites updated 2024-01-31 23:51:24 +08:00
rcmerci
c93c8b8c3e refactor: reorder favorites 2024-01-26 16:56:19 +08:00
rcmerci
5bcd671db1 enhance: add fn get-favorites 2024-01-25 19:40:28 +08:00
rcmerci
7d54918ca6 enhance: replace favorite related fns 2024-01-25 19:40:28 +08:00
charlie
201b34a089 fix: remove unused bindings 2024-01-22 18:43:48 +08:00
charlie
8f0c4faec7 enhance(ui): polish the non-accent colors 2024-01-22 18:41:55 +08:00
Tienson Qin
b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Tienson Qin
4236ade600 fix: whiteboard issues 2024-01-11 01:38:06 +08:00
charlie
bc8d773a70 enhance(ui): animation for the context menu 2024-01-09 10:52:33 +08:00
charlie
a56dba21f3 refactor(ui): actions dropdown menu for the right sidebar block card 2024-01-03 17:16:06 +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
0226275647 fix: view-box instead of viewbox 2023-11-16 21:34:10 +08:00
Tienson Qin
ee3442a44b Merge branch 'master' into feat/db 2023-11-14 20:40:36 +08:00
Tienson Qin
e0c7ff0ba3 fix: keep one command for toggle cards 2023-11-12 21:49:41 +08:00
Tienson Qin
40955a025c enhance: replace help font with svg 2023-11-12 21:20:33 +08:00
Tienson Qin
de4ad909a9 Merge branch 'master' into feat/cmdk 2023-11-06 16:12:02 +08:00
Gabriel Horner
de3d7b7b5f Merge branch 'master' into feat/db 2023-11-01 17:31:17 -04: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
Tienson Qin
b19e42938c fix: bad performance due to ui/tippy sub state 2023-10-25 20:11:49 +08:00
Tienson Qin
eb09da9730 enhance: add a link button for embedded block and page icon for page 2023-10-12 17:21:05 +08:00
Tienson Qin
d9ab81e00d enhance: use block dom node for editing instead of container 2023-10-11 00:46:47 +08:00
Tienson Qin
d9f59f863d fix: page icon 2023-10-09 14:48:39 +08:00
Tienson Qin
b44e4d7d1f Use dnd-kit instead of beautiful-dnd 2023-10-04 09:54:33 +08:00
Tienson Qin
51c7f6319b enhance: replace favorites with beautiful dnd 2023-10-03 14:52:54 +08:00
Tienson Qin
53df250cc8 enhance: enum choices drag && drop support 2023-09-28 06:02:35 +08:00
Tienson Qin
0cbd6c09f8 perf: slow switch to the editor mode for long pages 2023-09-07 00:12:48 +08:00
Tienson Qin
f8f2f987c4 enhance: new lazy blocks implementation
1. GC blocks below viewport only
2. No long uses heavy react-intersection-observer
2023-09-04 22:00:45 +08:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
Tienson Qin
03ec9580c3 Merge branch 'master' into feat/db 2023-08-22 20:32:15 +08:00
Konstantinos Kaloutas
8ebf2dbadb fix: left sidebar duplicate favorites 2023-08-22 16:08:26 +08:00
Konstantinos Kaloutas
c089fde242 fix: recent whiteboards click 2023-08-17 19:58:31 +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
Tienson Qin
cb93cc3e9a Merge branch 'master' into feat/db 2023-08-15 13:42:37 +08:00
Tienson Qin
73ce46483b handle more properties including title, icon, public and filters 2023-08-01 20:50:13 +08:00
Konstantinos Kaloutas
6276e182b2 fix: setting default sidebar pages on config #9950 2023-07-31 09:50:39 -04:00
Tienson Qin
a0d6107d99 feat: class && configuration 2023-07-09 21:35:06 +08:00
Ben Yorke
4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00
Tienson Qin
abf574a90a fix: store page uuids in recent/pages for db graphs 2023-06-26 18:48:54 +08:00
Tienson Qin
fd6b587235 Merge branch 'master' into feat/db 2023-06-21 14:09:16 +08:00
Konstantinos Kaloutas
d13ba8d9e7 chore: refactoring 2023-06-08 16:59:09 +03:00
rcmerci
628a8b3826 use atom to replace some high frequency used state vars 2023-06-01 00:14:52 +08:00
Konstantinos Kaloutas
2cfa46cecb Merge branch 'master' into feat/integrated-title-bar 2023-05-30 10:14:35 +03:00