Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

docs(Examples): use proper component variables #1748

Merged
merged 18 commits into from
Aug 7, 2019

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Aug 1, 2019

🚀

This PR improves Try it section in our docs examples to show only variables that were used in this example. It also handles updates properly.

How?

I applied a monkey-patch to Fela renderer to catch updates in renderRule(). It allows to get all values properly.

@vercel vercel bot temporarily deployed to staging August 5, 2019 14:43 Inactive
@vercel vercel bot temporarily deployed to staging August 5, 2019 14:59 Inactive
@vercel vercel bot temporarily deployed to staging August 5, 2019 15:02 Inactive
@DustyTheBot
Copy link
Collaborator

Fails
🚫 All of your entries in CHANGELOG.md should be in the **Unreleased** section!

Generated by 🚫 dangerJS

@codecov
Copy link

codecov bot commented Aug 5, 2019

Codecov Report

Merging #1748 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1748      +/-   ##
==========================================
+ Coverage   69.98%   69.99%   +0.01%     
==========================================
  Files         868      868              
  Lines        7336     7322      -14     
  Branches     2142     2140       -2     
==========================================
- Hits         5134     5125       -9     
+ Misses       2196     2191       -5     
  Partials        6        6
Impacted Files Coverage Δ
packages/react/src/lib/renderComponent.tsx 84.74% <ø> (-0.26%) ⬇️
packages/react/src/components/Dialog/Dialog.tsx 34.88% <0%> (ø) ⬆️
.../themes/teams/components/Chat/chatMessageStyles.ts 2.32% <0%> (ø) ⬆️
packages/react/src/components/Chat/ChatMessage.tsx 76.47% <0%> (+4.13%) ⬆️

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 05adb56...5b460dc. Read the comment docs.

@vercel vercel bot temporarily deployed to staging August 7, 2019 12:26 Inactive
@layershifter layershifter merged commit 4bbffab into master Aug 7, 2019
@delete-merged-branch delete-merged-branch bot deleted the docs/component-variables branch August 7, 2019 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants