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

fix: incorrect logos styles#94

Merged
juanpicado merged 3 commits into4.x-masterfrom
89-fix-incorrect-logos-style
Jul 10, 2019
Merged

fix: incorrect logos styles#94
juanpicado merged 3 commits into4.x-masterfrom
89-fix-incorrect-logos-style

Conversation

@sergiohgz
Copy link
Copy Markdown
Contributor

@sergiohgz sergiohgz commented Jul 9, 2019

Type: fix

The following has been addressed in the PR:

  • There is a related issue? #89
  • Unit or Functional tests are included in the PR: Updated snapshots related

Description: This fixes the logo styles following next:

  1. Remove unnecessary quotes that surrounds value in Emotion css templated string. This happens only when using templated string, with object syntax quotes are mandatory to transform value in a string.
  2. Revert a change made in Refactor: migrating Flow to Typescript #47, where md prop where removed from Logo component. After revert and set a bigger size when md (the same value before that PR), logo is centered and have correct styles.

- Remove unnecessary quotes in Emotion css templated string
- Revert md prop removed in #47 (with the size set before that)
@sergiohgz sergiohgz self-assigned this Jul 9, 2019
priscilawebdev
priscilawebdev previously approved these changes Jul 9, 2019
@priscilawebdev
Copy link
Copy Markdown
Contributor

@sergiohgz Thank you!!

…t-logos-style

# Conflicts:
#	src/components/Login/__snapshots__/Login.test.tsx.snap
Copy link
Copy Markdown
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.

  • update snapshot (I broke it on merge 😊 )
  • refactor the size prop

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #94 into 4.x-master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff               @@
##           4.x-master      #94      +/-   ##
==============================================
+ Coverage       70.21%   70.27%   +0.06%     
==============================================
  Files              89       89              
  Lines             856      858       +2     
  Branches          155      141      -14     
==============================================
+ Hits              601      603       +2     
- Misses            243      246       +3     
+ Partials           12        9       -3
Impacted Files Coverage Δ
src/components/Loading/Loading.tsx 100% <ø> (ø) ⬆️
src/components/Logo/Logo.tsx 100% <100%> (ø) ⬆️
src/components/Header/Header.tsx 89.47% <0%> (ø) ⬆️
src/components/Install/Install.tsx 50% <0%> (ø) ⬆️
...mponents/RegistryInfoDialog/RegistryInfoDialog.tsx 66.66% <0%> (ø) ⬆️

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 50664dc...0d00ab4. Read the comment docs.

Copy link
Copy Markdown
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.

Thanks @sergiohgz works fine, nice refactoring, much easier to understand what the prop does and easy to extend if we need it.

@juanpicado juanpicado merged commit 640e8ca into 4.x-master Jul 10, 2019
@delete-merged-branch delete-merged-branch bot deleted the 89-fix-incorrect-logos-style branch July 10, 2019 12:15
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.

5 participants