T44d Web · Gallery builds for wasm32: one story per section by URL, themed by the host

The gallery's entry runs natively or, on wasm32, from a wasm_bindgen start
through gpui_web, single-threaded with WebGL2 fallback. ?page, ?story and
?theme choose what shows; an unknown one fails in the page and the log.
set_theme switches the mode later. Pictures load from ELY_GALLERY_ASSETS.
scripts/stories.py writes examples/gallery/stories.json from the pages.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-29 19:16:41 -04:00
1 parent 29f1c8f467
commit 09dd3fc2cb
83 files changed
+1000 -455

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ mod tasks;
mod time;
use super::Page;
use crate::{script::Step, ui::keep};
use crate::{step::Step, ui::keep};
pub const PAGE: Page = Page {
number: 31,
+2 -1
View File
@@ -1,7 +1,8 @@
use std::time::{Duration, Instant};
use std::time::Duration;
use ely_gpui_component::project::{DatabaseView, PomodoroTimer, Status, TimeEntry, TimeTracker};
use gpui::{App, IntoElement, ParentElement, SharedString, Styled, Window, div, px};
use web_time::Instant;
use super::{board, quiet};
use crate::{