eric-briscoe commented on code in PR #21520:
URL: https://github.com/apache/superset/pull/21520#discussion_r1017097453
##########
superset-frontend/src/components/MetadataBar/MetadataBar.stories.mdx:
##########
@@ -1,17 +1,25 @@
-import { Meta, Source } from '@storybook/addon-docs';
+import { Meta, Source, Story } from '@storybook/addon-docs';
-<Meta title="MetadataBar/Overview" />
+<Meta title="Design System/Components/MetadataBar/Overview" />
-# Usage
+# Metadata bar
-The metadata bar component is used to display additional information about an
entity. Some of the common applications in Superset are:
+The metadata bar component is used to display additional information about an
entity.
+
+## Usage
+
+Some of the common applications in Superset are:
- Display the chart's metadata in Explore to help the user understand what
dashboards this chart is added to and get
to know the details of the chart
- Display the database's metadata in a drill to detail modal to help the user
understand what data they are looking
at while accessing the feature in the dashboard
-# Variations
+## Basic example
+
+<Story id="design-system-components-metadatabar-examples--basic" />
Review Comment:
👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]