Commit Graph

266 Commits

Author SHA1 Message Date
rcmerci
2d67629276 enhance(rtc): show download logs when init downloading graph 2025-05-18 01:56:00 +08:00
Tienson Qin
8a8d855094 enhance: shift+click to select table rows 2025-05-07 15:03:04 +08:00
Tienson Qin
68417bbb01 enhance(ux): table row/cell navigation (#11837)
* enhance(ux): up/down to navigate table rows

* enhance: remove block id+uuid class

Use `blockid`.

* enhance: arrowleft to select cell when a table row has been selected

* wip: table cell navigation

* feat: up/down/left/right table cell navigation

* enhance(ux): scroll to cell when it's not visible

* fix: save block content when exit title cell popup

* fix: table keyboard navigation doesn't work on virtualized table

The solution is to preload more rows for virtualized tables.
2025-05-02 05:47:58 +08:00
Tienson Qin
2fca4b0a53 chore: remove unused code 2025-04-27 13:30:53 +08:00
charlie
9dbc658595 enhance(ux): auto focus the trigger element for the dimissing shui popup 2025-04-27 13:02:10 +08:00
charlie
5454d821a0 enhance(ui): add support for the shui popup as mask from the target 2025-04-27 10:53:04 +08:00
charlie
dd755427af enhance(ui): shui dialog blink 2025-04-25 16:56:41 +08:00
Tienson Qin
7893ece5e9 fix: dialog title accepts string or react component 2025-04-25 16:13:47 +08:00
charlie
7183bbd2b4 fix(shui): dialog content warning 2025-04-25 14:33:00 +08:00
Charlie
d9bc7fb61b refactor(ui): remove the radix primitives (#11832)
* refactor(ui): remove cloned radix primitives

* fix(ui): radix dialog warning

* fix(ui): remove radix toast warning
2025-04-25 13:02:10 +08:00
Mega Yu
5f8f5b037c fix table view selection bug 2025-04-24 00:53:04 +08:00
Charlie
21c58e8912 refactor(ui): remove react tippy (#11822)
* refactor: remove all react tippy stuff
2025-04-17 18:32:06 +08:00
Gabriel Horner
bd945b2408 fix: shui/button triggers double-click when Enter is pressed
Follow up to 6cb93386ae which only
fixed it for one button
2025-04-10 12:37:48 +08:00
Tienson Qin
3d238d22fc fix: load whiteboard data for file graphs 2025-04-09 20:39:33 +08:00
Tienson Qin
bdde2c7526 Merge branch 'feat/db' into perf/app-start 2025-04-09 17:57:36 +08:00
Gabriel Horner
6cb93386ae fix: creating a choice with keyboard
always displays invalid warning. This happened because Enter was
causing a 2nd click, upsert and then the message to display.
Fixes https://test.logseq.com/#/page/67f52d87-3858-4b06-a26b-f601b0c4c1ef
2025-04-08 10:17:14 -04:00
Tienson Qin
8f13520e5a fix: pinned columns 2025-04-08 15:37:51 +08:00
Tienson Qin
aa8aa798df perf: lazy rendering table cell 2025-04-08 11:56:18 +08:00
Tienson Qin
4169f20a28 Merge branch 'feat/db' into perf/app-start 2025-04-07 20:06:45 +08:00
Tienson Qin
70e2012e29 bump React to 18 2025-04-07 19:51:14 +08:00
Tienson Qin
c2aad7109b perf: don't trigger <get-block when scrolling table view 2025-04-07 19:18:45 +08:00
Tienson Qin
38c3cfd0c2 enhance(ux): set persistent row height 2025-04-03 17:23:13 +08:00
Tienson Qin
1aca680ae4 Merge branch 'feat/db' into perf/app-start 2025-03-31 21:53:37 +08:00
Tienson Qin
da74228213 fix: later picked settings should have higher priority for sorting
fix https://test.logseq.com/#/page/67cd8311-b5f6-4974-b18d-038876725b0d
2025-03-27 15:05:16 +08:00
Tienson Qin
27a50ad0d7 fix: table select 2025-03-25 21:25:25 +08:00
charlie
ad1bc36811 chore(dev): remove warning 2025-03-25 14:59:02 +08:00
Tienson Qin
b87c43e697 Merge branch 'feat/db' into perf/app-start 2025-03-13 04:35:52 +08:00
Tienson Qin
89c7abfae1 wip: view perf improvement 2025-03-10 06:17:12 +08:00
Tienson Qin
5d2ab65d7c Merge branch 'feat/db' into feat/blocks-action-bar 2025-03-08 13:55:33 +08:00
charlie
f0124e0ac0 enhance(ui): improve popup management and restore last saved cursor functionality 2025-03-07 17:07:05 +08:00
charlie
919224e713 enhance(ui): improve icon picker behavior and popup management 2025-03-07 14:12:34 +08:00
Tienson Qin
02a3c407fb Merge branch 'feat/db' into feat/blocks-action-bar 2025-02-28 19:25:24 +08:00
Tienson Qin
3ba14c6051 enhance: show selection action bar on mouse up 2025-02-28 17:01:09 +08:00
charlie
40f84e1dde enhance(ui): polish property dropdown editor 2025-02-27 11:42:31 +08:00
Tienson Qin
82ca4bc9e5 wip: add action bar for selected blocks
New UI component: ButtonGroup.
2025-02-27 00:07:58 +08:00
charlie
a51b26c161 fix(ui): sticky columns for the pin table header 2025-02-26 17:33:00 +08:00
charlie
290616c14e enhance(ux): disable sticky table header for the list journals 2025-02-26 16:02:57 +08:00
Tienson Qin
38c74161a3 Merge branch 'feat/db' into enhance/reference-view 2025-02-24 14:53:27 +08:00
charlie
2d1c3bf050 chore: remove debug 2025-02-24 14:42:07 +08:00
charlie
4e629ddaa6 enhance(ui): set active state for the popup trigger 2025-02-24 14:41:16 +08:00
Tienson Qin
1b72337b11 enhance: fade in table footer to avoid ui jitter 2025-02-20 03:36:44 +08:00
Tienson Qin
4e70901f0d enhance: display columns visibility only for the table view 2025-02-17 18:28:40 +08:00
Tienson Qin
e7e4294088 Feat: view group by (#11731)
* wip: view group by

* feat: view group by rendering

* enhance: use current group's value when creating new block

* enhance: add icons for view layouts

* fix: group rows selection

* fix: property type migration from #11695

* refactor: use namespaced keyword for block export

instead of confusing :build/block. Also improved related tests,
simplified import steps, added some missing sqlite.build docs,
and fixed :build/uuid not working for some existing journals.

* fix: remove export+imports invalid

when uuids are kept and when journals are created.
Also removed :logseq.class/Journal from export as its needless noise

* fix(ux): incorrect behavior for the sub menu content within the table header popup

* fix: group rows delete

* fix: lint

* fix: group block delete

* fix: bump version

* fix: group by titles not correct for :checkbox

Also enable group-by for :date as they just work

* fix: disable nonsensical and unreadable groupings for :many properties

* fix: grouping not working for :default property type

and sometimes :number or :url.
Was grouping by entity and not what user reads. If there are
2 :default values with 'text ha', this seemed buggy

* fix: icons not showing for grouping by status

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2025-02-12 12:56:55 -05:00
charlie
8d3dbaa0eb fix(ux): incorrect behavior for the sub menu content within the table header popup 2025-02-11 11:43:31 +08:00
Tienson Qin
423a4b088e feat: views support multiple columns sort (#11694)
undefined
2025-01-24 10:29:37 -05:00
charlie
a2b0afb5d9 chore(dev): fix react warnings 2025-01-01 17:14:33 +08:00
charlie
4bcda99145 enhance(rum): adapt react class for the component friendly keys warning 2024-12-31 18:47:05 +08:00
charlie
91f3dc3d41 chore(dev): react keys warnings 2024-12-31 16:16:13 +08:00
Tienson Qin
dd294992a7 fix: react key warnings 2024-12-30 09:37:17 +08:00
Tienson Qin
c75efabc04 fix: react key warning 2024-12-30 09:22:08 +08:00