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

#3324 fix double quotes in prop table and add additional examples #3401

Merged
merged 3 commits into from
Apr 12, 2018

Conversation

danielduan
Copy link
Member

@danielduan danielduan commented Apr 11, 2018

Issue: fix #3324

screen shot 2018-04-11 at 3 15 21 pm

What I did

removed quotes and added examples for default props

How to test

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

Please tag your pull request with at least one of the following:
["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@codecov
Copy link

codecov bot commented Apr 11, 2018

Codecov Report

Merging #3401 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3401      +/-   ##
==========================================
+ Coverage   36.78%   36.87%   +0.08%     
==========================================
  Files         458      458              
  Lines       10044    10045       +1     
  Branches      907      913       +6     
==========================================
+ Hits         3695     3704       +9     
+ Misses       5818     5782      -36     
- Partials      531      559      +28
Impacted Files Coverage Δ
addons/info/src/components/Props.js 95.45% <100%> (+0.1%) ⬆️
addons/info/src/components/PropVal.js 91.66% <100%> (+7.4%) ⬆️
addons/knobs/src/components/types/Number.js 7.46% <0%> (ø) ⬆️
addons/links/src/react/components/link.js 76.56% <0%> (ø) ⬆️
lib/core/src/server/build-static.js 23.07% <0%> (ø) ⬆️
addons/graphql/src/components/FullScreen/index.js 0% <0%> (ø) ⬆️
addons/knobs/src/components/GroupTabs.js 30.48% <0%> (ø) ⬆️
lib/ui/src/libs/withLifecycleDecorator.js 18.91% <0%> (ø) ⬆️
lib/core/src/client/preview/reducer.js 37.5% <0%> (ø) ⬆️
app/react-native/src/server/addons.js 0% <0%> (ø) ⬆️
... and 62 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 908ac7a...3ffeddb. Read the comment docs.

@danielduan danielduan force-pushed the dd/docgen-prop-table branch from cafe14a to 25dd8c1 Compare April 11, 2018 20:25
@ndelangen
Copy link
Member

Netlify seems to have times out, not a blocker I'd say for this PR

Copy link
Member

@Hypnosphi Hypnosphi left a comment

Choose a reason for hiding this comment

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

Looks like we just shouldn't use the same component (PropVal) for values in table and in "Story Source"

screen shot 2018-04-12 at 02 18 40

@danielduan danielduan force-pushed the dd/docgen-prop-table branch from b0086de to 3ffeddb Compare April 12, 2018 16:02
@danielduan
Copy link
Member Author

good catch @Hypnosphi, should be fixed now.

@danielduan danielduan dismissed Hypnosphi’s stale review April 12, 2018 16:24

fixed the missing quotes in source

@danielduan danielduan merged commit 8c2f644 into master Apr 12, 2018
@Hypnosphi Hypnosphi added the patch:yes Bugfix & documentation PR that need to be picked to main branch label May 17, 2018
Hypnosphi pushed a commit that referenced this pull request May 17, 2018
#3324 fix double quotes in prop table and add additional examples
@Hypnosphi Hypnosphi added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 17, 2018
@Hypnosphi Hypnosphi deleted the dd/docgen-prop-table branch September 8, 2018 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants