Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove @storybook/addon-notes 5 from devDependencies #17399

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

tnir
Copy link
Contributor

@tnir tnir commented Apr 22, 2022

Signed-off-by: Takuya Noguchi takninnovationresearch@gmail.com

What type of PR is this? (check all applicable)

  • Refactor
  • Bug Fix
  • Optimization

Description

Removes @storybook/addon-notes 5 from devDependencies since Storybook 6 deprecated it in 2020.

This removes 485 (effective) lines from yarn.lock 馃帀 and 55 (effective) packages 馃帀 馃帀 including poper.js v1 馃嵖 .

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

Access to https://storybook.forem.com/?path=/docs/components-buttons--default to see if it works.

path=/docs/ in URL means the former "note" before upgrading to Storybook 6.x.

These screenshots are for if no regression happens and just for future reference:

Notes was renamed as Docs

before #9766 after #9766
from @nickytonline in #8947 6006-forem-forem-83jcp3y7n9k ws-us41 gitpod io__path=_docs_components-buttons--default

No more Notes tab in the bottom panel after #9766

6006-forem-forem-83jcp3y7n9k ws-us41 gitpod io__path=_docs_components-buttons--default (1)

UI accessibility concerns?

n/a

Added/updated tests?

  • No, and this is why: only storybook dependency is changed.

gif

馃槍

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
@tnir tnir requested review from a team, aitchiss and msarit and removed request for a team April 22, 2022 02:09
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Apr 22, 2022
@github-actions
Copy link
Contributor

Thank you for opening this PR! We appreciate you!

For all pull requests coming from third-party forks we will need to
review the PR before we can process it through our CI pipelines.

A Forem Team member will review this contribution and get back to
you as soon as possible!

@tnir tnir changed the title Remove @storybook/addon-notes 5 Remove @storybook/addon-notes 5 from devDependencies Apr 22, 2022
Copy link
Contributor

@aitchiss aitchiss left a comment

Choose a reason for hiding this comment

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

I took this for a spin locally, and it looks great!

I did notice locally when testing this that MentionAutocompleteTextArea has docs which aren't showing in Storybook, but this seems to have been broken some time ago 馃槄 I'll make a note to fix that up separately.

@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Apr 22, 2022
@jeremyf jeremyf merged commit aed1b9f into forem:main Apr 22, 2022
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Apr 22, 2022
@tnir tnir deleted the tnir/remove-storybook-addon-notes-17398 branch April 22, 2022 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants