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

Add support for basic components in React native #1475

Merged
merged 37 commits into from
Jul 31, 2024

Conversation

Othman2001
Copy link
Contributor

Description

Please provide the following information:

  • What changes have you made:
    Support button, touchable opacity, Image and Linking

  • Why you made them, and:
    I think this change is very important to react native generator as it is currently is not supporting all core components.

  • Any other useful context:
    I think using a Button is much more convenient than pressable, that's why I migrated pressable usage to the button.
    the fiddle is not working properly with the Image component for some reason, but I managed to run the source code locally and tested all of my changes.
    Make sure to follow the PR preparation steps in CONTRIBUTING.md before submitting your PR:

  • Format the codebase

  • Update all snapshots

Copy link

changeset-bot bot commented Jun 8, 2024

🦋 Changeset detected

Latest commit: a21a753

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@builder.io/mitosis Patch
@builder.io/mitosis-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

gitguardian bot commented Jun 8, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
8531560 Triggered Generic High Entropy Secret 53feb5d nx.json View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Copy link

nx-cloud bot commented Jun 8, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a21a753. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets

Sent with 💌 from NxCloud.

@Othman2001 Othman2001 marked this pull request as draft June 14, 2024 21:16
@Othman2001 Othman2001 marked this pull request as ready for review June 15, 2024 09:39
@Othman2001 Othman2001 marked this pull request as draft June 17, 2024 20:04
@Othman2001 Othman2001 marked this pull request as ready for review June 29, 2024 13:56
@Othman2001
Copy link
Contributor Author

Uncovered a few other issues with how the components are being generated.

@samijaber This PR is ready for you review now, I have resolved your comments, can you please check it whenever you are free
Thank you

@Othman2001 Othman2001 marked this pull request as draft July 17, 2024 10:46
@Othman2001 Othman2001 marked this pull request as ready for review July 27, 2024 12:00
@Othman2001
Copy link
Contributor Author

@samijaber I have resolved the comments now, and separated the logic on two loops like we agreed, sorry if i were late.

Copy link
Contributor

@samijaber samijaber left a comment

Choose a reason for hiding this comment

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

Amazing job. Well done, and thank you for contributing this big improvement to the RN generator 🎉

@samijaber samijaber enabled auto-merge (squash) July 30, 2024 18:49
@samijaber
Copy link
Contributor

@Othman2001 you need to re-run the snapshots one last time for it to fix a merge conflict, and you're good to go!

auto-merge was automatically disabled July 31, 2024 18:29

Head branch was pushed to by a user without write access

@Othman2001
Copy link
Contributor Author

@Othman2001 you need to re-run the snapshots one last time for it to fix a merge conflict, and you're good to go!

@samijaber Done I have updated the snapshots, This PR is ready to go 🥳

@samijaber samijaber merged commit 952b3f5 into BuilderIO:main Jul 31, 2024
5 checks passed
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