Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Avatar Component - Introduced ForwardRef #163

Merged
merged 2 commits into from Oct 6, 2019

Conversation

priscilawebdev
Copy link
Contributor

@priscilawebdev priscilawebdev commented Oct 6, 2019

Type: Refactor

The following has been addressed in the PR: https://github.com/verdaccio/ui/issues/162

Unit or Functional tests are included in the PR? Not yet

Description:

Wrapped Material UI Avatar component with ForwardRef

@codecov
Copy link

codecov bot commented Oct 6, 2019

Codecov Report

Merging #163 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   83.01%   83.04%   +0.03%     
==========================================
  Files          98       99       +1     
  Lines         936      938       +2     
  Branches      149      149              
==========================================
+ Hits          777      779       +2     
  Misses        146      146              
  Partials       13       13
Impacted Files Coverage Δ
src/components/Engines/Engines.tsx 100% <ø> (ø) ⬆️
src/components/AvatarTooltip/AvatarTooltip.tsx 83.33% <ø> (ø) ⬆️
src/muiComponents/TextField/TextField.tsx 100% <ø> (ø) ⬆️
src/components/Repository/Repository.tsx 100% <ø> (ø) ⬆️
src/components/Install/InstallListItem.tsx 88.88% <ø> (ø) ⬆️
src/components/Package/styles.ts 100% <ø> (ø) ⬆️
src/muiComponents/IconButton/IconButton.tsx 100% <100%> (ø) ⬆️
src/components/Author/Author.tsx 90.9% <100%> (ø) ⬆️
src/muiComponents/Avatar/Avatar.tsx 100% <100%> (ø)
src/muiComponents/Tooltip/Tooltip.tsx 100% <100%> (ø) ⬆️
... and 1 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 909a8d9...3291971. Read the comment docs.

@juanpicado
Copy link
Member

@priscilawebdev conflict ⬆️

juanpicado
juanpicado previously approved these changes Oct 6, 2019
Copy link
Member

@juanpicado juanpicado left a comment

Choose a reason for hiding this comment

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

🚀 great, I was not pretty aware of this https://reactjs.org/docs/forwarding-refs.html React.forwardRef good to know.

@juanpicado juanpicado merged commit 626bcce into master Oct 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor/162_add_forwardRef_avatar branch October 6, 2019 16:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants