diff --git a/hub/client/application/hub/route-feedback/stories.tsx b/hub/client/application/hub/route-feedback/stories.tsx index 843c4f1f3..9488244f0 100644 --- a/hub/client/application/hub/route-feedback/stories.tsx +++ b/hub/client/application/hub/route-feedback/stories.tsx @@ -1,6 +1,9 @@ import type { Meta, StoryObj } from "@storybook/react-vite" import { fn } from "storybook/test" +import { HubWorkspace } from "@features/hub-workspace" +import { authenticatedHubWorkspaceData } from "@/storybook/fixtures/hub-administration" + import { RouteFeedback } from "." const meta = { @@ -36,3 +39,31 @@ export const NotFound: Story = { description: "This page is not connected in the first frontend journey.", }, } + +export const CanvasAccountMismatch: Story = { + args: { + heading: "Canvas connections unavailable", + description: + "Your Hub account changed while loading connections. Try again to see your connections.", + embedded: true, + onRetry: fn(), + }, + decorators: [ + (Story) => ( + + + + ), + ], +} + +export const CanvasAccountRetrying: Story = { + ...CanvasAccountMismatch, + args: { ...CanvasAccountMismatch.args, retrying: true }, +}