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

Rest MUI components - Introduced ForwardRef #224

Merged
merged 20 commits into from
Oct 31, 2019

Conversation

priscilawebdev
Copy link
Contributor

@priscilawebdev priscilawebdev commented Oct 26, 2019

Type: Refactor

The following has been addressed in the PR: #162

Description:

Wrappedt he rest of MUI components with ForwardRef. That is the reason why this PR got large :D

@codecov
Copy link

codecov bot commented Oct 26, 2019

Codecov Report

Merging #224 into master will increase coverage by 0.42%.
The diff coverage is 96.22%.

@@            Coverage Diff             @@
##           master     #224      +/-   ##
==========================================
+ Coverage   88.56%   88.98%   +0.42%     
==========================================
  Files         119      139      +20     
  Lines         883      926      +43     
  Branches      160      141      -19     
==========================================
+ Hits          782      824      +42     
- Misses         87       91       +4     
+ Partials       14       11       -3
Impacted Files Coverage Δ
src/components/DetailSidebar/styles.ts 100% <ø> (ø) ⬆️
...components/DetailContainer/DetailContainerTabs.tsx 100% <ø> (ø) ⬆️
src/components/Header/HeaderMenu.tsx 100% <ø> (ø) ⬆️
src/components/DetailSidebar/DetailSidebar.tsx 85% <ø> (ø) ⬆️
src/components/UpLinks/styles.ts 100% <ø> (ø) ⬆️
src/components/DetailContainer/DetailContainer.tsx 60% <ø> (ø) ⬆️
src/components/Help/Help.tsx 100% <ø> (ø) ⬆️
src/components/AutoComplete/styles.tsx 100% <ø> (ø) ⬆️
src/components/Login/Login.tsx 91.48% <ø> (ø) ⬆️
src/components/Repository/styles.ts 100% <ø> (ø) ⬆️
... and 65 more

@priscilawebdev priscilawebdev changed the title Rest MUI components - Introduced ForwardRef [WIP] Rest MUI components - Introduced ForwardRef Oct 26, 2019
@priscilawebdev priscilawebdev changed the title [WIP] Rest MUI components - Introduced ForwardRef Rest MUI components - Introduced ForwardRef Oct 30, 2019
@verdacciobot
Copy link

Thanks for your PR, the @verdaccio/ui package will be accessible from here for testing purposes:

npm install @verdaccio/[email protected] --registry https://registry.verdaccio.org

@@ -28,7 +28,6 @@ const HeaderMenu: React.FC<Props> = ({ onLogout, username, isMenuOpen = false, a
vertical: 'top',
horizontal: 'right',
}}
id="header--button-account"
Copy link
Member

Choose a reason for hiding this comment

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

Id might be need it for e2e testing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch :-) but... this id was duplicated .. so 2e2 tests were not passing

image

@juanpicado juanpicado merged commit b56e438 into master Oct 31, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor/162_introduced_forward_ref_mui_components branch October 31, 2019 07:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants