-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Template Card got new requirements
- Loading branch information
Showing
2 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{/* | ||
SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/} | ||
|
||
import * as Component from './TemplateCard.stories.js' | ||
import { Meta, Title, Story, Canvas, Unstyled } from '@storybook/blocks' | ||
|
||
<Meta of={Component} /> | ||
|
||
<Title /> | ||
|
||
TemplateCard shall introduce the template to the user and provide some basic insights: | ||
<ul> | ||
<li>is this a template of a model element or a document</li> | ||
<li>is it a stable template or an experimental thing / not for production</li> | ||
<li>how many object / document instances this template applies to</li> | ||
<li>indicate if the template is broken / cant enumerate objects / other issues </li> | ||
<li>maybe indicate modeling rules compliance score</li> | ||
</ul> | ||
|
||
Normal users can see a few buttons: | ||
|
||
<Story of={Component.Demo} /> | ||
|
||
Administrators can see more buttons: | ||
|
||
<Story of={Component.Demo} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters