Comments: the story renderer shows StoryBody; drop the gallery manifest's component-sheet notes

This commit is contained in:
aiongg
2026-11-12 14:32:38 +00:00
parent 6d5ba693f7
commit 37bb6cc4ec
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -30,7 +30,6 @@ name = "contract-api"
path = "src/bin/contract-api.rs"
test = false
# The component sheet's renderer: every story to a PNG, offscreen (desktop only).
[features]
# One feature per domain crate whose stories the viewer links; `apps` is all of them and the default. A build
# that needs one crate's stories only (the story renderer) turns the default off and names the crate.
@@ -101,7 +100,6 @@ craft-timeline = { workspace = true, features = ["screen-testing"], optional = t
craft-dialogs = { workspace = true, features = ["screen-testing"], optional = true }
craft-font-manager = { workspace = true, features = ["screen-testing"], optional = true }
craft-update = { workspace = true, features = ["screen-testing"], optional = true }
# The component sheet crops and writes its images.
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
+1 -1
View File
@@ -1,7 +1,7 @@
//! One card: stories live on their surface under a header with the component's name and, while a story differs from
//! its start, Reset; the Open command of an Overview card opens the component's tab. A card of several stories lays
//! them out as the component's catalog entry says, each under its caption. Each story runs in an embedded shell, so
//! its dialogs open inside the card. [`StoryBody`] is the story part alone, which the component sheet renders too.
//! its dialogs open inside the card. [`StoryBody`] is the story part alone, which the story renderer (`story-render`) shows too.
use crate::viewer::{CardState, Cells, DialogState};
use craft_behavior::{ColumnWidth, IconId};