41 Commits

Author SHA1 Message Date
Charlie
a0a19a91fa feat: new authenticate UI (#12172)
* enhance(ui): login form

* enhance(ui): add localization support with translate and locale management

* enhance(ui): WIP implement new authentication forms with context management

* enhance(ui): add password visibility toggle to input row

* enhance(ui): adjust padding for password visibility toggle

* enhance(i18n): implement internationalization support for authentication UI

* enhance(ui): implement sign in and sign up functionality with loading state

* enhance(ui): add session management and error handling in login form

* enhance(ui): add confirm code form and enhance authentication flow

* enhance(ui): improve sign-in flow and confirm code handling

* enhance(ui): add warning variant to alerts and improve error handling

* enhance(ui): implement countdown timer for code resend functionality

* enhance(ui): implement countdown timer for password reset and enhance login flow

* enhance(ui): export authentication and enhance UI components

* enhance(ui): integrate new login component and refresh token handling

* chore: clear amplify related codes

* enhance(i18n): normalize language codes and update locale handling

* enhance(auth): add multilingual support for signup and password reset flows

* enhance(ui): update login styles to inherit text color

* enhance(ui): adjust input color variables for improved accessibility

* enhance(auth): add password policy validation and tips in multiple languages

* enhance(ui): improve localization handling and update alert styles

* enhance(mobile): enhance login modal styling and accessibility

* fix(ui): update password validation regex for special characters

* enhance(ui): add padding to card header in login dialog

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2025-10-28 16:55:43 +08:00
charlie
85303725c9 fix(ui): add .cljc contents for the tailwind processer 2024-07-02 22:03:41 +08:00
charlie
f27055b05d enhance(ux): polish the emojis&icons picker 2024-02-29 17:31:43 +08:00
charlie
cb4a6701dd Merge branch 'master' into feat/db 2024-02-06 14:13:57 +08:00
charlie
f6c86987b1 enhance(ui): compatible gray background colors 2024-01-31 17:18:09 +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
charlie
a0eab81c75 enhance(ui): polish the default accent color 2024-01-22 11:42:38 +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
d53a9dcb8b enhance(ui): polish logseq accent colors 2024-01-19 16:44:20 +08:00
charlie
a27f360cd8 enhance(ui): make consistent accent colors for all the popover dropdown 2024-01-05 12:47:31 +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
ee3442a44b Merge branch 'master' into feat/db 2023-11-14 20:40:36 +08:00
Ben Yorke
1c8fe61531 Fix description text color 2023-11-07 16:39:04 +01:00
Ben Yorke
adc788f1c6 Fix colorization 2023-11-07 14:52:12 +01:00
Ben Yorke
863c4f93da Customizable overrides 2023-11-07 14:32:08 +01:00
Ben Yorke
9d6154937a Save dialog 2023-10-16 20:39:04 +02:00
Ben Yorke
246e904457 cmdk2 updates 2023-09-15 13:30:51 +02:00
Ben Yorke
a7b9c01586 Add native gradient support 2023-06-30 09:35:32 +02:00
charlie
cbeccfb9e9 Merge branch 'master' into enhance/keymaps-manager-x 2023-05-15 09:26:23 +08:00
Ben Yorke
928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
charlie
39f529b20b enhance(ui): layout of the recording shortcut modal 2023-05-05 16:31:34 +08:00
Konstantinos Kaloutas
1951994995 chore: add tailwind column classes to safelist 2022-10-13 16:52:51 +08:00
charlie
31f6375800 enhance(css): add line clamp plugin to tailwind 2022-10-13 16:52:51 +08:00
charlie
e40646c959 improve(ui): reg pattern for tailwind utilities safelist 2022-10-13 16:52:51 +08:00
charlie
ba2b5e09a8 improve(ui): small polish 2022-10-13 16:52:51 +08:00
charlie
1d301899a1 enhance(ui): upgrade tailwind & configures 2022-10-13 16:52:51 +08:00
Konstantinos
6007d6061f Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +08:00
Charlie
18b7a7864b Feat/plugin marketplace (#2766)
* Squashed commit of the following:

commit ea9af272e4
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:23:24 2021 +0800

    feat: type c to git commit

    also, fixed an issue that backspace can delete selected blocks
    when there's a dialog.

commit 78e24f7479
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:01:21 2021 +0800

    fix: add patch parser worker to yarn watch

commit 7f6e777bcd
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:57:46 2021 +0800

    fix: add several shortcuts to the Others category

commit 509697b276
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:55:40 2021 +0800

    fix: git username and email configuration

* Squashed commit of the following:

commit 401d85be5f
Author: Peng Xiao <pengxiao@outlook.com>
Date:   Fri Aug 27 11:10:32 2021 +0800

    feat: add protobuf mode

commit dc1e9fdfc9
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 13:33:47 2021 +0800

    chore: replace : with comma for git path

    ':' is a reserved character on Windows

commit ea9af272e4
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:23:24 2021 +0800

    feat: type c to git commit

    also, fixed an issue that backspace can delete selected blocks
    when there's a dialog.

commit 78e24f7479
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:01:21 2021 +0800

    fix: add patch parser worker to yarn watch

commit 7f6e777bcd
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:57:46 2021 +0800

    fix: add several shortcuts to the Others category

commit 509697b276
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:55:40 2021 +0800

    fix: git username and email configuration

* feat(plugin): ui of marketplace plugins list

* improve(plugin): support reload

* improve(plugin): installation from marketplace

* fix conflicts

* improve(plugin): installation from github public repo

* chore: remove unwanted dependency

* chore: remove console

* improve(plugin): add shortcuts

* ui(plugin): polish LOADING indicator

* improve(plugin): support up-to-date of marketplace plugin

* fix: remove debug option

* improve(plugin): better interaction of themes picker

* improve(plugin): better experience when installing theme from marketplace

* fix(plugin): downloads label of marketplace plugin

* improve(plugin): update package name field

* improve(plugin): change marketplace packages repo to `logseq/marketplace`

* fix(plugin): plugin title when updating notification

* fix: conflicts

* enhance(plugin): i18n related marketplace & lifecycle of plugin installation

* improve(plugin): handle offline situation

* ui(plugin): header plugin icons container

* fix(ui): add class identity for journal page with date page name

* improve(plugin): remote readme for marketplace plugin

* enhance(plugin): polish plugin card

* chore(plugin): build libs core

* Squashed commit of the following:

commit 751db4828c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 16:58:25 2021 +0800

    enhance: log git errors

commit c2dbbc77bf
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 16:27:00 2021 +0800

    enhance: display refresh status

commit f734b6db37
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 16:03:57 2021 +0800

    fix: .git doesn't work well with third-party cloud services

commit 7e44d81f1d
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 13:52:38 2021 +0800

    fix: git init into the current graph folder

    instead of a separate git directory because .gitdir might has
    different paths on multiple devices, another reason is that the graph
    might have different histories considering the .git directory is not
    synced.

commit b86a801514
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 23:23:27 2021 +0800

    enhance: don't show diff if there's only blank changes

commit 0b55d119aa
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 22:39:06 2021 +0800

    fix: save the previous content in Logseq first and commit it

    to avoid overwritten when syncing with iCloud/Dropbox/syncthing.

commit e0baf4b05c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 22:18:45 2021 +0800

    fix: close file watcher when exit the app

commit 10e7a9fbd6
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 21:05:38 2021 +0800

    fix: disable cut selections in the query result block

commit 90c2bd7cc2
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 18:42:17 2021 +0800

    fix: terminate parser and persist dbs when reloading the app (electron)

commit 571c81af30
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 17:57:33 2021 +0800

    enhance: add sync from local files (the old refresh way)

commit a16e5c98ba
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 17:23:57 2021 +0800

    fix: Dragging blocks to update notes does not synchronize updates to
    the notes file in real time.

    close #2744

commit 6897a22a3f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 16:43:30 2021 +0800

    fix: disable page/block auto-complete once the cursor went outside

commit feb4404874
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 13:28:47 2021 +0800

    fix: wrong page metadata saved for another graph

commit b96332122f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 13:08:28 2021 +0800

    enhance: catch errors when app quits

commit 1ee0c240c3
Author: Jiang Hailong <gombiuda@gmail.com>
Date:   Wed Sep 1 20:54:13 2021 +0800

    FIX: Linked reference is not refresh after file altering #2694

commit 0550c8a876
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 12:25:39 2021 +0800

    fix: display logbook for scheduled tasks

commit 2a5f0cee7c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 12:21:19 2021 +0800

    fix: spent hours for logbook

commit 1f2c9e4d3f
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 12:59:09 2021 +0900

    fix(timestamp): remove old SCHEDULED/DEADLINE timestamp

    When using `date-picker` to update the SCHEDULED/DEADLINE timestamp by
    clicking an existing one, logseq will add a new timestamp instead of
    updating the old one. This patch fixs this issue.

commit cb23b967e4
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 11:36:34 2021 +0900

    fix(repeat): more consistent with orgmode style

    Ref: https://orgmode.org/manual/Tracking-your-habits.html

commit 229c7f2594
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 15:11:07 2021 +0900

    enhance(property): remove empty properties drawer

commit a76df9ce97
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 10:27:30 2021 +0900

    fix(clock): duplicate clock-in log twice

    1. `set-marker` will not log time anymore. The time logging is moved
    to `with-timetracking`
    2. Concat `logbook` only if `new-clocks` is nil, which fixs the
    duplication of clock-in log.

commit c79e9f9e3e
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 12:04:16 2021 +0800

    code: cleanup

commit 9ec85db09a
Author: DarshanSudhakar <$K3Ug1i&>
Date:   Mon Sep 6 08:32:07 2021 +0530

    Fixing typo  for the tooltip 'Block reference'

commit eec677873b
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 11:49:58 2021 +0800

    enhance: page history support reverting back

commit 7273112a00
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 11:23:31 2021 +0800

    git: revert back

commit cd853b5864
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 10:39:08 2021 +0800

    git: should compare ignored-files with disk content

commit a84dfb5eff
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 10:31:16 2021 +0800

    git: add ignore-files to avoid repeated notifications

commit 86577e7ebf
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 10:07:39 2021 +0800

    fix: ignore permission denied error when git add all

commit 8dc0ca9ff5
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 09:54:03 2021 +0800

    fix: run git config core.safecrlf false on windows

commit 9edaae559d
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 09:20:06 2021 +0800

    refactor: extract file ops

commit f12f58d3fa
Author: tiagodevezas <tiagodevezas@gmail.com>
Date:   Fri Sep 3 23:25:07 2021 +0100

    fix typos

commit 9e82f0117c
Author: tiagodevezas <tiagodevezas@gmail.com>
Date:   Fri Sep 3 21:32:03 2021 +0100

    Translate shortcuts to Portuguese (pt-PT)

commit 9a2c17bb05
Author: tiagodevezas <tiagodevezas@gmail.com>
Date:   Fri Sep 3 20:58:33 2021 +0100

    Translate new settings to pt-PT

commit c05034cc34
Author: Sebastian Bensusan <sbensu@gmail.com>
Date:   Sat Sep 4 07:57:07 2021 -0700

    feat(calc): Understand percentages

commit bfe6a5d6cb
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 08:46:30 2021 +0800

    enhance: commit the content in logseq when detecting any disk changes

* improve(plugin): add install plugin api

* fix(plugin): protected plugin installation api

* improve(plugin): tweak readme display for local

* fix: conflicts

* fix(plugin): get block option with include children

* improve(plugin): copy more marketplace manifest fields to plugin

* fix: conflicts

* improve(plugin): shortcut for copying plugin id

* Squashed commit of the following:

commit e51ea54a75
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 13 10:40:25 2021 +0800

    fix: change ack timeout

* fix(plugin): non blank icon string

* fix: conflicts

* fix: e name

* fix: remove debug from state

* chore(plugin): bump libs minor version

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-09-13 19:49:51 +08:00
rcmerci
ccdbe92527 chore: fix indent 2021-07-22 12:07:04 +08:00
rcmerci
33f317f59c add card view ui 2021-07-22 12:07:04 +08:00
Peng Xiao
94286c1e05 fix: use tailwind to set animation style 2021-07-22 10:12:41 +08:00
Weihua Lu
40d912c277 chore: upgrade tailwind 2021-07-06 23:47:13 +08:00
Tienson Qin
1df15ca082 feat(filters): css tweaks 2021-03-05 14:15:37 +08:00
charlie
965abe817a fix(ui): add blue theme color 2021-03-03 16:28:55 +08:00
Tienson Qin
1d618cffd6 fix: add missing green color 2021-03-02 11:57:23 +08:00
charlie
c61c6dd4f4 feat(ui): use modal dialog display settings page 2021-02-26 19:57:44 +08:00
charlie
2db70bdfc4 style: fix notification text theme issue & ui details 2020-12-13 12:43:36 +08:00
Runjuu
5e271ba454 fix(dev): unexpected purgecss result
use tailwind's build-in purge instead.
2020-11-02 16:36:07 +08:00
Runjuu
22887860df feat(dev): better support for processing tailwind css
- support use tailwind’s most features.
- support write css right next to the components.
2020-11-02 09:56:52 +08:00
Tienson Qin
2d1fa33204 refactor: remove web 2020-10-27 23:19:40 +08:00