Skip to content

Commit

Permalink
Fixed links to other doc pages
Browse files Browse the repository at this point in the history
  • Loading branch information
wrigh393 committed Mar 12, 2021
1 parent 4ac4e37 commit ae4d802
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/components/ItemHeaderView/ItemHeaderView.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks';
import ItemHeaderView from './ItemHeaderView';

The ItemHeader displays item metadata for items of selected queues and allows for filtering by field and opening an item by clicking. Items are passed in as a required parameter. It is to be used with the [ItemTableAppBar](/#/Components/ItemTableAppBar).
The ItemHeader displays item metadata for items of selected queues and allows for filtering by field and opening an item by clicking. Items are passed in as a required parameter. It is to be used with the [ItemTableAppBar](/?path=/docs/components-itemtableappbar--default-story).

It is based on [react-table](https://react-table.tanstack.com/).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks';
import ItemMetadataView from "./ItemMetadataView";

The ItemMetadataView displays the metadata for an item as part of the [ItemView](/#/Components/ItemView).
The ItemMetadataView displays the metadata for an item as part of the [ItemView](?path=/docs/components-itemview--with-item).

<Meta title="Components/ItemMetadataView" component={ItemMetadataView} />

Expand Down
2 changes: 1 addition & 1 deletion src/components/ItemTable/ItemTable.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks';
import ItemTable from './ItemTable';

The ItemTable is the primary view for webqueue2. It displays item metadata for items of selected queues and allows for filtering by field and opening an item by clicking. Items are passed in as a required parameter. It is to be used with the [ItemTableAppBar](/#/Components/ItemTableAppBar).
The ItemTable is the primary view for webqueue2. It displays item metadata for items of selected queues and allows for filtering by field and opening an item by clicking. Items are passed in as a required parameter. It is to be used with the [ItemTableAppBar](?path=/docs/components-itemtableappbar--default-story).
It is based on [react-table](https://react-table.tanstack.com/).

<Meta title="Components/ItemTable" component={ItemTable} />
Expand Down
15 changes: 2 additions & 13 deletions src/components/ItemTableAppBar/ItemTableAppBar.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import ItemTableAppBar from "./ItemTableAppBar";
import { ThemeProvider } from "@material-ui/styles";


The ItemTableAppBar is the primary toolbar for the [ItemTable](/#/Components/ItemTable). It displays the application title and application wide actions.
The ItemTableAppBar is the primary toolbar for the [ItemTable](/?path=/docs/components-itemtable--loading). It displays the application title and application wide actions.

<Meta title="Components/ItemTableAppBar" component={ItemTableAppBar} />

export const Template = (props) => <ItemTableAppBar {...props} />

Default
# Default

<Canvas>
<Story name="Default" args={{
Expand All @@ -19,14 +19,3 @@ Default
{Template.bind({})}
</Story>
</Canvas>

DarkMode active

<Canvas>
<Story name="Dark Mode active" args={{
title:"webqueue2",
darkmode:true
}}>
{Template.bind({})}
</Story>
</Canvas>
2 changes: 1 addition & 1 deletion src/components/ItemViewAppBar/ItemViewAppBar.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks';
import ItemViewAppBar from "./ItemViewAppBar";

The ItemViewAppBar is the primary toolbar for the [ItemView](/#/Components/ItemView). It displays the item title and action for closing the sidebar.
The ItemViewAppBar is the primary toolbar for the [ItemView](/?path=/docs/components-itemview--with-item). It displays the item title and action for closing the sidebar.

<Meta title="Components/ItemViewAppBar" component={ItemViewAppBar}/>

Expand Down
2 changes: 1 addition & 1 deletion src/components/LoginForm/LoginForm.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The LoginForm acts as the only public facing page for the webqueue2. If any part

export const Template = (props) => <LoginForm {...props} />

# Today
# Default

<Canvas>
<Story name="Default">
Expand Down
2 changes: 1 addition & 1 deletion src/components/MessageView/MessageView.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks';
import MessageView from "./MessageView";

The MessageView displays an [EmailHeader](/#/Components/EmailHeader) and the content of a message.
The MessageView displays an [EmailHeader](/?path=/docs/components-emailheader--default-without-props) and the content of a message.

<Meta title="Components/MessageView" component={MessageView}/>

Expand Down
2 changes: 1 addition & 1 deletion src/components/PrivateRoute/PrivateRoute.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks';

The PrivateRoute wraps [React Router](https://reactrouter.com/)'s [Route component](https://reactrouter.com/web/api/Route) and checks for authentication using [AuthProvider](#/Components/AuthProvider). If authentication is valid, the children of the PrivateRoute are rendered. Otherwise, the user is redirected to the login page.
The PrivateRoute wraps [React Router](https://reactrouter.com/)'s [Route component](https://reactrouter.com/web/api/Route) and checks for authentication using [AuthProvider](/?path=/docs/components-authprovider--page). If authentication is valid, the children of the PrivateRoute are rendered. Otherwise, the user is redirected to the login page.

<Meta title="Components/PrivateRoute" component={PrivateRoute} />

Expand Down

0 comments on commit ae4d802

Please sign in to comment.