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

Fix broken link to repo in empty knobs panel #9530

Merged
merged 1 commit into from Jan 21, 2020

Conversation

fireseasonnow
Copy link
Contributor

What I did

The link to repo in empty knobs panel couldn't be triggered. The problem was with missing cancel={false} prop, because Link component has a cancel={true} by default.

How to test

  1. Go to Knobs addon panel
  2. Check if no knobs are found
  3. Click on the link to repo
  • Is this testable with Jest or Chromatic screenshots? No
  • Does this need a new example in the kitchen sink apps? No
  • Does this need an update to the documentation? No

The link to repo in empty knobs panel couldn't be triggered. The problem was with missing `cancel={false}` prop, because `Link` component has a `cancel={true}` by default.
@vercel
Copy link

vercel bot commented Jan 18, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/rcdvpah0v
✅ Preview: https://monorepo-git-fork-whitebackdoor7-next.storybook.now.sh

@ndelangen ndelangen added addon: knobs bug patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jan 21, 2020
@ndelangen ndelangen added this to the 5.3.x milestone Jan 21, 2020
@ndelangen ndelangen merged commit 4daacfe into storybookjs:next Jan 21, 2020
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Jan 21, 2020
shilman pushed a commit that referenced this pull request Jan 21, 2020
Fix broken link to repo in empty knobs panel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: knobs bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants