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

Regularise how Webview handles styling, and add show/hide to Lacci #343

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

noahgibbs
Copy link
Collaborator

@noahgibbs noahgibbs commented Jul 29, 2023

Description

Add parent styles to Scarpe Webview as a thing, and have the various widgets pick up on that. In order to make styles mergeable, convert all style hash keys to symbol, not a mix of symbol and string.

As a side effect, that means we can set a "hidden" property on the widget in the parent and pick it up in the children.

For added fun, there's a test that makes one of all the top-level widgets, puts it into an array called @ widgets and then does a bunch of stuff to mess with it.

Checklist

  • Run tests locally
  • Run linter(check for linter errors)

@noahgibbs noahgibbs force-pushed the hide_show branch 3 times, most recently from 0ad036d to 30a16fe Compare July 29, 2023 17:34
@noahgibbs noahgibbs marked this pull request as ready for review July 29, 2023 17:34
@Schwad Schwad merged commit ce5c22e into main Jul 31, 2023
@noahgibbs noahgibbs deleted the hide_show branch August 1, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants