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

feat(rn): Update React Native wizard to use clack prompts #473

Merged
merged 17 commits into from
Oct 3, 2023

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Sep 28, 2023

This PR updates the RN Wizard implementation to use clack for prompts and shared tools from src/**/*. This PR aims to change the wizard behavior as little as possible and only focuses on the clack changes. For this reason, telemetry was not implemented and is disabled at the moment. (Will be added in follow up PR.)

lib/**/* RN implementation was completely removed.

This is a breaking change for RN Wizard

  • --skip-connect is not supported anymore
  • --quite is not supported anymore
  • --platform is not supported anymore (the SDK check is android, ios are present and patch them if they are)
  • --signup is not supported anymore (the wizard new impl asks if the user has an account)

Example of successful install flow:
Screenshot 2023-09-29 at 15 08 16

Example of uninstall flow:
Screenshot 2023-09-29 at 15 15 29

Example of pod install error:
Screenshot 2023-09-29 at 14 08 25

@github-actions
Copy link

github-actions bot commented Sep 28, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against cf7d23c

@krystofwoldrich krystofwoldrich marked this pull request as ready for review September 29, 2023 13:34
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Great work! I had a couple of comments but nothing that I'd consider blocking. Feel free to disregard my comments regarding coloring or UI, I'm just trying to adhere to our develop specifications. We can also just iterate on this later.
(sorry for the individual reviews instead of one w/ many comments, seems I clicked the wrong button in VSCode every time 😅 )

@krystofwoldrich
Copy link
Member Author

@Lms24 Thanks for the comment and the notes about the UI, I would like the wizards to follow the definition if possible, so I adjusted the prompts.

@krystofwoldrich krystofwoldrich merged commit 2cfdd8d into master Oct 3, 2023
10 checks passed
@krystofwoldrich krystofwoldrich deleted the kw-update-rn-to-clack branch October 3, 2023 15:09
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