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

Components app #72

Merged
merged 22 commits into from
Mar 7, 2019
Merged

Components app #72

merged 22 commits into from
Mar 7, 2019

Conversation

rauanmayemir
Copy link
Member

@rauanmayemir rauanmayemir commented Mar 3, 2019

This PR will add basic components app along with several improvements:

  • Streamline NSView, NSVisualEffectView bindings and styling
  • Implement removeChild to remove nodes from the layout (not just from native side)
  • Improve NSScrollView bindings and account for a Cocoa quirk when views are sticked to the bottom of scroll view if the height is less than clip view (i.e no scroll needed)
  • Introduce the option to set Y axis flipping arbitrarily in the layout node context
  • Implement Clickable component to allow for making arbitrary areas clickable (also, drop all styling from Button - it should be a System component)
  • Implement View tab showcasing View style properties
  • Implement a prettier Welcome tab with a logo and some info
  • Add TBD details for Text, Image, Button, etc tabs

brisk-components

@rauanmayemir rauanmayemir marked this pull request as ready for review March 3, 2019 19:33
@rauanmayemir rauanmayemir requested a review from wokalski March 3, 2019 19:33
Copy link

@yawaramin yawaramin left a comment

Choose a reason for hiding this comment

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

Looks easy to read, very cool :-)

core/lib/Layout.re Outdated Show resolved Hide resolved
core/lib/Layout.re Outdated Show resolved Hide resolved
core/lib/Layout.re Show resolved Hide resolved
examples/components-macos/lib/Main.re Outdated Show resolved Hide resolved
examples/components-macos/lib/Tabs.re Outdated Show resolved Hide resolved
examples/components-macos/lib/Tabs.re Outdated Show resolved Hide resolved
renderer-macos/lib/Styles.re Outdated Show resolved Hide resolved
renderer-macos/lib/Styles.re Show resolved Hide resolved
renderer-macos/lib/Styles.re Show resolved Hide resolved
renderer-macos/lib/bindings/BriskView.re Show resolved Hide resolved
@rauanmayemir
Copy link
Member Author

@yawaramin thank you for your feedback!

Copy link
Member

@wokalski wokalski left a comment

Choose a reason for hiding this comment

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

Good job. I have a few comments but all of them are rather minor.

core/lib/Layout.re Show resolved Hide resolved
core/lib/Layout.re Show resolved Hide resolved
examples/components-macos/lib/Main.re Outdated Show resolved Hide resolved
examples/components-macos/lib/Main.re Outdated Show resolved Hide resolved
examples/components-macos/lib/Main.re Show resolved Hide resolved
renderer-macos/lib/bindings/BriskClickable.re Show resolved Hide resolved
renderer-macos/lib/components/Clickable.re Show resolved Hide resolved
renderer-macos/lib/components/EffectView.re Outdated Show resolved Hide resolved
renderer-macos/lib/stubs/BriskButton.c Show resolved Hide resolved
renderer-macos/lib/stubs/BriskClickable.c Show resolved Hide resolved
@wokalski wokalski merged commit f6f3dac into master Mar 7, 2019
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.

3 participants