From e533e127bffa559a49aa4ccc5a1e91fa4c776a6d Mon Sep 17 00:00:00 2001 From: giorgoslytos Date: Fri, 17 May 2024 12:16:36 +0300 Subject: [PATCH] feat: Addition of stories for account pages that were missing them --- .../account/pages/Authenticator.stories.tsx | 173 +++++++++ stories/account/pages/Log.stories.tsx | 354 ++++++++++++++++++ 2 files changed, 527 insertions(+) create mode 100644 stories/account/pages/Authenticator.stories.tsx create mode 100644 stories/account/pages/Log.stories.tsx diff --git a/stories/account/pages/Authenticator.stories.tsx b/stories/account/pages/Authenticator.stories.tsx new file mode 100644 index 00000000..2f229056 --- /dev/null +++ b/stories/account/pages/Authenticator.stories.tsx @@ -0,0 +1,173 @@ +import React from "react"; +import { Meta } from "@storybook/react"; +import { createPageStory } from "../createPageStory"; + +const { PageStory } = createPageStory({ + pageId: "totp.ftl" +}); + +const meta = { + title: "account/Authenticator", + component: PageStory +} satisfies Meta; +export default meta; + +export const Default = () => ( + +); + +export const WithTotpEnabled = () => ( + +); + +export const WithManualMode = () => ( + +); + +export const MoreThanOneTotpProviders = () => ( + +); diff --git a/stories/account/pages/Log.stories.tsx b/stories/account/pages/Log.stories.tsx new file mode 100644 index 00000000..8e1fdfe5 --- /dev/null +++ b/stories/account/pages/Log.stories.tsx @@ -0,0 +1,354 @@ +import React from "react"; +import { Meta } from "@storybook/react"; +import { createPageStory } from "../createPageStory"; + +const pageId = "log.ftl"; + +const { PageStory } = createPageStory({ + pageId +}); + +const meta = { + title: "account/Log", + component: PageStory +} satisfies Meta; + +export default meta; + +export const Default = () => ( + +);