-
-
Notifications
You must be signed in to change notification settings - Fork 500
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
Road to 1.0 (request for comments) #104
Comments
@oblador I don't know what you think about it, but if we are starting a new version of react-native-lightbox from scratch, we could review, add to the list and close the previous issues. For instance, I think the iPhone X Support issues should also be added to the Must have list. |
@oblador The list looks good. How should we prioritize it? IMO, these are first-class must-have:
Maybe we can branch a new |
@StevenMasini Yup, iPhone X support is a given, but wouldn't consider it a major feature to list here. I have an X so no worries that it'll be implemented :-) @peteroid Cool, those are all in the must haves right? Prioritization within each section is less important, just wanted to make sure I didn't omit anything important, or placed something in the wrong bucket. |
pull request #85 let overlay can be zoomed. Pinch to zoom😊 |
Support for gallery mode, I will try this. |
@ZackLeonardo Awesome! Before you start on gallery mode can we discuss the overall API in a ticket first? |
@oblador Sure. I run into kind of similar scene in my spare time app, I am thinking of its outline after work. |
@oblador My opinion: add galleryMode(true/false) and Key props to LightBox component, then those which galleryMode values are true and have the same Key value can be swiped in LightboxOverlay component. |
@oblador Any progression here ? How can we contribute to this ? |
@StevenMasini I've gotten to a good start, have a first PR up here: #106 My thought is to get a foundation up in the |
@oblador thank you for the push access. I will run and review both branch |
|
Having a hard time breaking this up in well scoped PRs before knowing what I want as the final API, so I've gone ahead to create a proof of concept implementation with a new API. You can try it out here: https://github.com/oblador/react-native-lightbox/tree/phoenix-wip/Example/src In essence you'll wrap your application with a Galleries will similarly be wrapped with an optional Lastly we have the LMK what your thoughts are and if I'm totally off somewhere. |
It's good that we don't rely on I am just wondering for the |
@StevenMasini You'd send in a <ModalPresenterProvider ImageComponent={FastImage}>
<LightboxImage source={{ uri: 'https://...' }} />
</ModalPresenterProvider> |
@StevenMasini Any thoughts on the general approach? Want to help out by working on the shared element transition? I'm going on vacation for two weeks now so won't be working actively on it for that time. |
@oblador The general approach sound good to me. We already fit three of our main requirement 👍 We should sync up more via Twitter, faster to interact and less formal I think. |
@oblador It looks awesome that we can remove the dependency of the |
Looking forward to 1.0! I'd highly recommend having a footer (like the header) It will be very useful for actions like liking an image or other things like flag/comments. Cheers and thanks for the hard work. |
@oblador Is there a timeline for release v1.0? Or has it moved repo as I see there have been no commits for some time... |
This project seems dead. Any alternatives? |
@redgenie None that I know of. If you want to make it with react navigation you can consider using https://github.com/fram-x/FluidTransitions Otherwise... Build one 😄 This is your chance 😎 |
This project by @terrysahaidak looks very promising. It uses reanimated 2. https://github.com/terrysahaidak/react-native-gallery-toolkit @terrysahaidak is there a way to implement a lightbox with your lib? Also, do you plan on supporting web? Update I found this lightbox example: software-mansion/react-native-reanimated#842. It's not a standalone package, but it's a start |
The lightbox behavior as well as Gallery component is in progress right now, I have opened draft pull request for that. Pretty much everything I see in the topic is already added/I plan to add to the library. Also, since Reanimated 2 and gesture handler supports web, the lib can be run on web too. It's not perfect right now, but can be improved in the future. Also, I'm in contact with Reanimated team. Since my library is kind of "pushing Reanimated to limits" we constantly finding some bugs and fixing them and making sure Reanimated the best as possible. So we target 60fps and "no-lag-on-mount". Also, documentation website for all available right now components will be published soon. |
I'm taking up development of this repo again of this package after a long silence in belief that this should be solved at the navigation level. I've been convinced that there still use cases for this package after all and my hopes of navigation libraries properly supporting shared element transitions hasn't really been fulfilled.
Since there has been a lot of developments in the React Native community (such as Android support, native animation driver etc) since the inception of this package, I'll be starting over from a clean slate. API will most likely change, but will keep backwards support when possible/sane. Before starting it'd be nice to hear from the community which features are the most important, so I've done a quick outline of my requirements/priorities.
Please comment with your thoughts and priorities. If you want to help out in in form (like development, documentation, issue triaging, testing etc) please reach out here or to me personally on twitter at @trastknast.
Must have
Image
component (ImageProgress, FastImage etc)Modal
Really nice to have
Nice to have
On the fence
Not doing
Ping @StevenMasini @peteroid @elkinjosetm @bilalsyed001 @ncuillery @ZackLeonardo @Kureev
The text was updated successfully, but these errors were encountered: