gpui-component/crates/story/src
Jason Lee 8558da4a7b
table: Improve Table to only render visible range columns for performance up to stable on 120 FPS (#489)
This change to make Table to only render visible range columns.

With the example table story case:

- 32 columns

## Before

- Normally fast scroll: 80~90 FPS
- Drag fast scroll: 60 FPS

## After

- Normally fast scroll: 120 FPS
- Drag fast scroll: 90~100 FPS

![CleanShot 2024-12-12 at 16 57
54](https://github.com/user-attachments/assets/1553d109-442c-4633-92f2-d3a9724668f3)
2024-12-12 17:09:26 +08:00
..
fixtures svg_img: Embed the font file (#401) 2024-11-08 15:45:00 +08:00
accordion_story.rs accordion: Add Accordion. (#355) 2024-10-17 17:31:59 +08:00
button_story.rs button: Rename ButtonStyle to ButtonVariant. (#460) 2024-12-03 19:22:28 +08:00
calendar_story.rs calendar: Add small, medium, large size support to Calendar. (#393) 2024-11-04 19:25:30 +08:00
dropdown_story.rs theme: Add apply_color to theme to support merge a new color into theme color. (#353) 2024-10-16 18:38:21 +08:00
icon_story.rs button: Rename ButtonStyle to ButtonVariant. (#460) 2024-12-03 19:22:28 +08:00
image_story.rs image_story: Fix the pie_chart size 2024-12-09 16:00:19 +08:00
input_story.rs input: Add to support multi-line Input. (#463) 2024-12-09 20:17:05 +08:00
lib.rs scrollbar: Use default cursor style when hovered on scrollbar. (#480) 2024-12-10 14:43:02 +08:00
list_story.rs list: Add cx argument to ListDelegate. (#361) 2024-10-18 10:17:59 +08:00
modal_story.rs button: Rename ButtonStyle to ButtonVariant. (#460) 2024-12-03 19:22:28 +08:00
popup_story.rs chore: Rename longbridgeapp to longbridge. (#477) 2024-12-10 11:36:39 +08:00
progress_story.rs divider: Support custom colors (#459) 2024-12-03 19:06:10 +08:00
resizable_story.rs modal: Improve Modal and Panel focus handle. (#238) 2024-09-12 19:51:33 +08:00
scrollable_story.rs sidebar: Add Sidebar (#452) 2024-12-02 23:21:39 +08:00
sidebar_story.rs breadcrumb: Add Breadcrumb. (#461) 2024-12-03 22:24:44 +08:00
switch_story.rs sidebar: Add Sidebar (#452) 2024-12-02 23:21:39 +08:00
table_story.rs table: Improve Table to only render visible range columns for performance up to stable on 120 FPS (#489) 2024-12-12 17:09:26 +08:00
text_story.rs chore: Rename longbridgeapp to longbridge. (#477) 2024-12-10 11:36:39 +08:00
tooltip_story.rs button: Rename ButtonStyle to ButtonVariant. (#460) 2024-12-03 19:22:28 +08:00
webview_story.rs webview: Update wry. (#343) 2024-10-14 22:19:35 +08:00