gpui-component/crates/story/src
Jason Lee 851099f890
sidebar: Refactor Sidebar API to avoid map call will segmentation fault on release. (#628)
Close #471

```
    Finished `release` profile [optimized] target(s) in 9.99s
     Running `target/release/examples/sidebar`
[1]    30606 segmentation fault  cargo run --example sidebar --release
```

This may cause by used `map` break by maybe Rust compiler bug, I
detected that if I remove a `map`, then the crash will gone.

So, this changes to refactor the Sidebar API to avoid use `map`.
2025-02-14 17:18:39 +08:00
..
fixtures svg_img: Embed the font file (#401) 2024-11-08 15:45:00 +08:00
accordion_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
assets.rs tiles: Add Tiles (#435) 2024-12-16 20:33:14 +08:00
button_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
calendar_story.rs calendar: Add Matcher for disabled dates (#623) 2025-02-13 17:43:19 +08:00
dropdown_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
form_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
icon_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
image_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
input_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
lib.rs example: Add modal example. (#625) 2025-02-14 14:44:26 +08:00
list_story.rs chrome: Refactor state fields to remove is_ prefix. (#627) 2025-02-14 15:20:18 +08:00
main.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
modal_story.rs chore: Upgrade GPUI 2025/02/10 (#610) 2025-02-10 11:53:25 +08:00
popup_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
progress_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
resizable_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
scrollable_story.rs theme: Add to support always show scrollbar mode and default to match with system style. (#621) 2025-02-12 15:15:33 +08:00
sidebar_story.rs sidebar: Refactor Sidebar API to avoid map call will segmentation fault on release. (#628) 2025-02-14 17:18:39 +08:00
switch_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
table_story.rs chrome: Refactor state fields to remove is_ prefix. (#627) 2025-02-14 15:20:18 +08:00
text_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
title_bar.rs theme: Add to support always show scrollbar mode and default to match with system style. (#621) 2025-02-12 15:15:33 +08:00
tooltip_story.rs Rename package from ui to gpui-component (#606) 2025-02-06 17:21:46 +08:00
webview_story.rs chore: Upgrade GPUI 2025/02/10 (#610) 2025-02-10 11:53:25 +08:00