Skip to content

refactor: [M3-7509, M3-7518] TopMenu and TagsList v7 Stories#9948

Merged
abailly-akamai merged 3 commits intolinode:developfrom
abailly-akamai:M3-7518
Dec 1, 2023
Merged

refactor: [M3-7509, M3-7518] TopMenu and TagsList v7 Stories#9948
abailly-akamai merged 3 commits intolinode:developfrom
abailly-akamai:M3-7518

Conversation

@abailly-akamai
Copy link
Contributor

@abailly-akamai abailly-akamai commented Nov 30, 2023

Description 📝

Small PR to get rid of more .mdx stories and replace them with a .tsx one when relevant.
In this PR we are refactoring TopMenu & Tags stories and getting rid of icons since they are not relevant anymore.

This does not touch any client facing code.

Changes 🔄

  • New v7 story for Tags List
  • New v7 story for TopMenu
  • Remove icons .mdx stories

Preview 📷

Screenshot 2023-11-30 at 16 49 48

Screenshot 2023-11-30 at 16 50 00

How to test 🧪

Verification steps

pull code locally and run yarn storybook

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@abailly-akamai abailly-akamai self-assigned this Nov 30, 2023
@abailly-akamai abailly-akamai changed the title refactor: [M3-7509, M3-7518] v7 Stories refactor: [M3-7509, M3-7518] TopMenu and Tags v7 Stories Nov 30, 2023
import { ColorPalette } from './ColorPalette';

<Meta title="Core Styles/Color Palette" component={ColorPalette} />
<Meta title="Design System/Color Palette" component={ColorPalette} />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit more relevant a title, and will also push this category down. Eventually the design system will have its own storybook and it won't belong here, but for now we'll keep this page alive.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're removing the icons from storybook - unless a real list is kept up to date there's no reason to have this here. We usually get our icons straight from MUI anyway. See https://design.linode.com/?path=/docs/core-styles-icons-ui-icons--documentation, those icons are not accurate at all.

@abailly-akamai abailly-akamai changed the title refactor: [M3-7509, M3-7518] TopMenu and Tags v7 Stories refactor: [M3-7509, M3-7518] TopMenu and TagsList v7 Stories Nov 30, 2023
@abailly-akamai abailly-akamai marked this pull request as ready for review November 30, 2023 21:54
@abailly-akamai abailly-akamai requested a review from a team as a code owner November 30, 2023 21:54
@abailly-akamai abailly-akamai requested review from jaalah-akamai and mjac0bs and removed request for a team November 30, 2023 21:54
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stories looked good.

I agree with your retitling of the Color Palette story and deletion of the outdated icons.

Thanks for removing mdx!


/**
* - Items presented in the top navigation are considered universally important and should be available regardless of any particular task.
* - The number of items should be limited. In the future, **Help & Support** could become a drop down with links to **Community**, **Guides**, and etc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future, Help & Support could become a drop down with links to Community, Guides, and etc.

I know this was existing copy, just ported over. I wonder if we have a ticket for this.

@mjac0bs mjac0bs added the Add'tl Approval Needed Waiting on another approval! label Nov 30, 2023
Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup!
✅ confirmed stories look good!

@coliu-akamai coliu-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Dec 1, 2023
@abailly-akamai abailly-akamai merged commit 6dd45ff into linode:develop Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Multiple approvals and ready to merge! Storybook

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants