File tree Expand file tree Collapse file tree
apps/webapp/app/routes/storybook.agent-ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ export type GallerySection = {
6666 sectionId : string ;
6767 title : string ;
6868 group : GalleryGroup ;
69- /** A state that only exists after a click. */
70- expandText ?: string ;
7169} ;
7270
7371export const GALLERY_GROUPS : { group : GalleryGroup ; page : GalleryPageId ; label : string } [ ] = [
@@ -226,13 +224,11 @@ export const MANIFEST: GallerySection[] = [
226224 sectionId : "investigation-card-concluded-code-grounded" ,
227225 title : "Concluded, code-grounded — source citation and Show code" ,
228226 group : "investigation" ,
229- expandText : "How I worked this out" ,
230227 } ,
231228 {
232229 sectionId : "investigation-card-concluded-not-code-grounded" ,
233230 title : "Concluded, not code-grounded — no source citation, no Show code" ,
234231 group : "investigation" ,
235- expandText : "How I worked this out" ,
236232 } ,
237233 {
238234 sectionId : "investigation-card-inconclusive" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { DashboardAgentMessages } from "~/components/dashboard-agent/DashboardAg
1010import { DashboardAgentSuggestedPrompts } from "~/components/dashboard-agent/DashboardAgentSuggestedPrompts" ;
1111import { AgentPanelColumn } from "~/components/dashboard-agent/panel-layout" ;
1212import { liveProgress } from "~/components/dashboard-agent/progress-line" ;
13- import { resolveSuggestedPrompts } from "~/components/dashboard-agent/suggested-prompts" ;
1413import type { WakeWatch } from "~/components/dashboard-agent/WakeBanner" ;
1514import { WatchChips , type WatchChip } from "~/components/dashboard-agent/WatchChips" ;
1615import { cn } from "~/utils/cn" ;
@@ -175,9 +174,9 @@ const promotedPrompt: SuggestedPrompt = {
175174 source : "promoted" ,
176175} ;
177176
178- const dismissedPromptIds = resolveSuggestedPrompts ( demoPageContexts . failedRun )
179- . slice ( 0 , 1 )
180- . map ( ( prompt ) => prompt . id ) ;
177+ // Pinned, not resolved: the fixture's signal has a fixed timestamp, so a live resolve would
178+ // dismiss a different chip once that timestamp aged out of the freshness window.
179+ const dismissedPromptIds = demoFixtures . demoDismissedPromptIds ;
181180
182181function toWatchChip ( watch : ( typeof demoWatches . row ) [ number ] ) : WatchChip {
183182 return {
You can’t perform that action at this time.
0 commit comments