-
Notifications
You must be signed in to change notification settings - Fork 634
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
Zeego MintsFilter migration #6126
Conversation
@@ -30,6 +30,7 @@ module.exports = function (api) { | |||
root: ['./src'], | |||
}, | |||
], | |||
'@babel/plugin-transform-export-namespace-from', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was in order to get the expo modules to work nicely. See: dominicstop/react-native-ios-context-menu#81 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This includes basic functionality for Dropdowns with titles and components. Will add submenus in a follow-up PR.
sideOffset={sideOffset} | ||
collisionPadding={12} | ||
> | ||
{menuConfig.menuTitle && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will crash if someone passes an empty string btw
Fixes APP-1510
Fixes APP-1797
Fixes APP-1691
What changed (plus any additional context for devs)
There is a lot of noise in this PR because of the need for Expo Modules for
react-native-ios-context-menu
.This PR adds the initial work of implementing Zeego dropdown menus. We're doing this to provide consistency between iOS and Android when it comes to dropdown menus. Right now we're using ActionSheets a lot on Android and incrementally we are hoping to reduce that number down to zero.
For this PR, we are adding one entry point in the MintsFilter Menu component.
Screen recordings / screenshots
iOS
Android
// coming soon
What to test
test that all other context menus are unaffected and the mints filter still works