Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Updates for beacon#876

Merged
plbabin merged 9 commits intomasterfrom
updates-for-beacon
Aug 19, 2020
Merged

Updates for beacon#876
plbabin merged 9 commits intomasterfrom
updates-for-beacon

Conversation

@Charca
Copy link
Copy Markdown
Collaborator

@Charca Charca commented Aug 10, 2020

Features

This PR updates a few components based on a few issues I've found while upgrading Beacon to hsds-react v3:

  • Updated styling of ArticleCard and MessageCard components.
  • Fixes icon names.
  • Adds an optional tooltipAppendTo prop to the Input component to control where the tooltip is rendered.
  • Fix an issue within the FrameComponent where the cached selectors are passed to the new sheet in StyleSheetManager. A fix already exists in styled-component, but it's not released yet (Pass empty names option to Sheet when using StyleSheetManager with custom target styled-components/styled-components#3159)
  • Fix an issue with the mountSelector in Portal. It will only fallback on the frame document only if there is no existing body from the FrameContext

@Charca Charca requested a review from plbabin August 10, 2020 20:06
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 10, 2020

Deploy preview for hsds-react ready!

Built with commit 79901f5

https://deploy-preview-876--hsds-react.netlify.app

@coveralls
Copy link
Copy Markdown

coveralls commented Aug 10, 2020

Pull Request Test Coverage Report for Build 3355

  • 6 of 10 (60.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.06%) to 94.512%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/Frame/Frame.jsx 5 9 55.56%
Files with Coverage Reduction New Missed Lines %
src/components/Portal/Portal.jsx 1 88.0%
Totals Coverage Status
Change from base Build 3344: -0.06%
Covered Lines: 6340
Relevant Lines: 6577

💛 - Coveralls

@Charca Charca requested a review from TerrenceLJones August 10, 2020 20:28
Copy link
Copy Markdown
Contributor

@TerrenceLJones TerrenceLJones left a comment

Choose a reason for hiding this comment

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

LGTM.

@plbabin
Copy link
Copy Markdown
Collaborator

plbabin commented Aug 19, 2020

I added some new fixes that are required in beacon. I updated the PR description with the changes

Copy link
Copy Markdown
Collaborator

@plbabin plbabin left a comment

Choose a reason for hiding this comment

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

it all looks good, well done!

@plbabin plbabin merged commit cc6d134 into master Aug 19, 2020
@plbabin plbabin deleted the updates-for-beacon branch August 19, 2020 14:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants