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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Deprecate isToolshown, rename to showToolbar #18131

Merged
merged 4 commits into from
May 9, 2022

Conversation

JonathanKolnik
Copy link
Contributor

Issue:
This is a follow up to #18106 where @shilman mentioned that we should rename isToolshown to showToolbar and deprecate isToolshown.

What I did

Renamed isToolshown to showToolbar in most of the code and docs and deprecate isToolshown, left it as an optional config which I believe is the correct way to deprecate this specific config.

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@nx-cloud
Copy link

nx-cloud bot commented May 3, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit aad962b. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@JonathanKolnik JonathanKolnik requested a review from shilman May 3, 2022 22:20
@JonathanKolnik JonathanKolnik added the maintenance User-facing maintenance tasks label May 3, 2022
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

Thanks so much @JonathanKolnik !! 🙏

@ndelangen can you please review & make sure that isToolshown is still supported until 7.0?

@shilman shilman changed the title deprecate isToolshown, rename to showToolbar API: Deprecate isToolshown, rename to showToolbar May 4, 2022
@ndelangen
Copy link
Member

@JonathanKolnik looks like there are CI failures

@JonathanKolnik JonathanKolnik force-pushed the jono/sb-334-deprecate-istoolshown-storybook branch from 1422323 to b514ef0 Compare May 4, 2022 19:13
@shilman
Copy link
Member

shilman commented May 9, 2022

@JonathanKolnik FYI I updated this PR with proper deprecation instructions. Please check it out!

@shilman shilman merged commit a108352 into next May 9, 2022
@shilman shilman deleted the jono/sb-334-deprecate-istoolshown-storybook branch May 9, 2022 02:14
@JonathanKolnik
Copy link
Contributor Author

@shilman thank you, I actually meant to ask you about this after seeing a similar message on Friday but got sidetracked! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: addons maintenance User-facing maintenance tasks ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants