From 752d2279ce931aaff1e8a8de2a78ac0e4b6d45d5 Mon Sep 17 00:00:00 2001 From: FredApps Date: Fri, 20 Nov 2026 19:26:44 +0100 Subject: [PATCH] Allow the owned gallery story memo key --- crates/design-lint/src/workspace.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/design-lint/src/workspace.rs b/crates/design-lint/src/workspace.rs index 5584a3d6b..3dab5fe16 100644 --- a/crates/design-lint/src/workspace.rs +++ b/crates/design-lint/src/workspace.rs @@ -152,6 +152,8 @@ const NO_GLOBAL_STATE: &[(&str, &str)] = &[ // Settled fact: a card's view of a story's state keys by the story value's revision, whether the start is taken, the // dialog's flags and the reset count; the view of every shown story's state is one fixed-size digest of those keys. // Both are props held as `&mut`, which the derive does not take. + // A card keys its owned story registration by the name and show function the card reads. + ("crates/ui-gallery/src/chrome/card.rs", "MemoProps"), ("crates/ui-gallery/src/viewer/picks.rs", "MemoProps"), // Settled fact: the names of a preset group key by a walk over the group and its folders (`dyn EachName`), which // the derive cannot see through.