Commit Graph

171 Commits

Author SHA1 Message Date
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
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
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
charlie
0d04e777fc fix(ui): style not refresh when toggling option for the fold button position 2022-11-25 14:49:10 +08:00
charlie
748fa46dda improve(ui): details for block container 2022-11-25 12:41:57 +08:00
charlie
7c0d3cb075 improve(ui): details for block container 2022-11-25 12:29:29 +08:00
charlie
0777a11df4 improve(mobile): WIP polish ui details 2022-11-24 21:26:38 +08:00
charlie
b3a6ed21de improve(ux): WIP support place fold arrow on the right of block container 2022-11-24 15:54:38 +08:00
Sergey Kolesnik
355b1449b1 style fix: add css var --color-level-6 for light theme (#7337) 2022-11-23 14:25:50 +08:00
charlie
3145cba42d enhance(ui): polish indent/outdent swipe icons 2022-11-08 12:02:43 +08:00
Konstantinos Kaloutas
9f4c1e853f fix: blend left block border with different bgs 2022-11-07 00:30:17 +08:00
Charlie
d53ac94bfc Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +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
0422f31130 fix(ui): color of block control arrow 2022-09-21 14:49:20 +08:00
Konstantinos Kaloutas
58b8f0ce21 fix: link color on highlighted areas 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
fcbb09f240 feat: open image in browser if external 2022-09-05 23:11:11 +08:00
Konstantinos Kaloutas
b70648feaf enhance: styles of image overlay buttons 2022-09-05 23:11:11 +08:00
Tienson Qin
49acb54178 feat: add properties as linked references 2022-07-07 01:42:16 +08:00