mirror of
https://github.com/gotson/komga.git
synced 2025-12-24 01:14:03 +01:00
add missing mdx test pages
This commit is contained in:
parent
6ccfb9bbae
commit
597ee02d4a
12 changed files with 127 additions and 0 deletions
14
next-ui/src/components/import/readlist/Table.mdx
Normal file
14
next-ui/src/components/import/readlist/Table.mdx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './Table.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# ImportReadlistTable
|
||||
|
||||
Data table displaying books to add to a new read list.
|
||||
- If a read list entry has a `seriesId` returned by the server, it will be automatically selected.
|
||||
- If a read list entry has a `bookId` returned by the server, it will be automatically selected.
|
||||
- When a series is picked, if there's a book in the series with the requested number, then it is selected automatically.
|
||||
- Only selected entries will be used upon creation.
|
||||
<Canvas of={Stories.Default} />
|
||||
9
next-ui/src/components/layout/app/drawer/Drawer.mdx
Normal file
9
next-ui/src/components/layout/app/drawer/Drawer.mdx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './Drawer.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LayoutAppDrawer
|
||||
|
||||
Navigation drawer.
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './ReorderLibraries.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LayoutAppDrawerReorderLibraries
|
||||
|
||||
List that allows reordering libraries through drag'n'drop.
|
||||
<Canvas of={Stories.AllPinned} />
|
||||
10
next-ui/src/components/layout/app/drawer/menu/Libraries.mdx
Normal file
10
next-ui/src/components/layout/app/drawer/menu/Libraries.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './Libraries.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LayoutAppDrawerMenuLibraries
|
||||
|
||||
Section of the navigation drawer showing libraries.
|
||||
<Canvas of={Stories.Default} />
|
||||
14
next-ui/src/components/library/form/CreateEdit.mdx
Normal file
14
next-ui/src/components/library/form/CreateEdit.mdx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './CreateEdit.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LibraryFormCreateEdit
|
||||
|
||||
Library creation and edition dialog.
|
||||
|
||||
It is built using a stepper that behaves differently depending on creation/edition:
|
||||
- in creation mode, order of steps is enforced, and buttons to navigate between steps are shown
|
||||
- in edition mode, any step can be edited. Navigation buttons are not shown.
|
||||
<Canvas of={Stories.Create} />
|
||||
10
next-ui/src/components/library/form/StepGeneral.mdx
Normal file
10
next-ui/src/components/library/form/StepGeneral.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './StepGeneral.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LibraryFormStepGeneral
|
||||
|
||||
General options to create/edit a library.
|
||||
<Canvas of={Stories.Default} />
|
||||
10
next-ui/src/components/library/form/StepMetadata.mdx
Normal file
10
next-ui/src/components/library/form/StepMetadata.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './StepMetadata.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LibraryFormStepMetadata
|
||||
|
||||
Metadata options to create/edit a library.
|
||||
<Canvas of={Stories.Default} />
|
||||
10
next-ui/src/components/library/form/StepOptions.mdx
Normal file
10
next-ui/src/components/library/form/StepOptions.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './StepOptions.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LibraryFormStepOptions
|
||||
|
||||
Options to create/edit a library.
|
||||
<Canvas of={Stories.Default} />
|
||||
10
next-ui/src/components/library/form/StepScanner.mdx
Normal file
10
next-ui/src/components/library/form/StepScanner.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './StepScanner.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# LibraryFormStepScanner
|
||||
|
||||
Scanner options to create/edit a library.
|
||||
<Canvas of={Stories.Default} />
|
||||
10
next-ui/src/components/pageHash/KnownTable.mdx
Normal file
10
next-ui/src/components/pageHash/KnownTable.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './KnownTable.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# PageHashKnownTable
|
||||
|
||||
Table showing known duplicate pages.
|
||||
<Canvas of={Stories.Default} />
|
||||
10
next-ui/src/components/pageHash/MatchTable.mdx
Normal file
10
next-ui/src/components/pageHash/MatchTable.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './MatchTable.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# PageHashMatchTable
|
||||
|
||||
Table showing matches for a specific duplicate page.
|
||||
<Canvas of={Stories.Default} />
|
||||
10
next-ui/src/components/pageHash/UnknownTable.mdx
Normal file
10
next-ui/src/components/pageHash/UnknownTable.mdx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Canvas, Meta } from '@storybook/addon-docs/blocks';
|
||||
|
||||
import * as Stories from './UnknownTable.stories';
|
||||
|
||||
<Meta of={Stories} />
|
||||
|
||||
# PageHashUnknownTable
|
||||
|
||||
Table showing unknown duplicate pages.
|
||||
<Canvas of={Stories.Default} />
|
||||
Loading…
Reference in a new issue