Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make reusable WebviewWrapper component #1775

Merged
merged 6 commits into from
May 26, 2022
Merged

Conversation

rogermparent
Copy link
Contributor

@rogermparent rogermparent commented May 25, 2022

#1774 <- this

This PR follows up #1736 and #1774 by:

  • Solving duplication issues by making a shared WebviewWrapper component that both provides derived CSS theme variables and suppresses the contextmenu event in its contents.
  • Solving the issue of having Theme and useThemeVariables by removing Theme and changing all of its uses to WebviewWrapper.

@rogermparent rogermparent self-assigned this May 26, 2022
@mattseddon mattseddon changed the base branch from main to expand-plots-wrapper-element May 26, 2022 00:51
Base automatically changed from expand-plots-wrapper-element to main May 26, 2022 02:23
@rogermparent rogermparent enabled auto-merge (squash) May 26, 2022 02:26
@codeclimate
Copy link

codeclimate bot commented May 26, 2022

Code Climate has analyzed commit c0d3dfc and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.8% (0.0% change).

View more on Code Climate.

@rogermparent rogermparent merged commit 5b8dc2f into main May 26, 2022
@rogermparent rogermparent deleted the webview-wrapper-component branch May 26, 2022 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants