-
Notifications
You must be signed in to change notification settings - Fork 151
fix: add missing text inputs in macOS Configure Bundler dialog #2747
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
Conversation
Co-authored-by: Saadnajmi <[email protected]>
Co-authored-by: Saadnajmi <[email protected]>
|
@copilot Can you take out formatting only changes? |
Co-authored-by: Saadnajmi <[email protected]>
Done. Removed the formatting change to line 130 that was unrelated to the feature. See commit 507e6f2. |
|
@copilot can we move around the ifdefs to share more code and put similar blocks of iOS and macOS code together? |
Co-authored-by: Saadnajmi <[email protected]>
Refactored the code to extract the shared bundler configuration logic into a common |
|
@copilot No this edited the iOS portion of the ifdef. We need to keep the iOS part of the ifdef as unedited as possible |
Co-authored-by: Saadnajmi <[email protected]>
Reverted the iOS section to its original state. Now only the macOS portion (within the |

Issue Summary
The "Configure Bundler" screen in the dev menu was missing text input fields on macOS. The iOS version properly creates an alert with three text fields for IP, port, and entrypoint, but the macOS version only showed a simple alert with a message and a "Use bundled JS" button without any input fields.
Changes Made
Updated the macOS implementation in
RCTDevMenu.mmto:#else // [macOSblockImplementation Details
The implementation follows the same pattern used in
RCTAlertManager.mmfor adding text fields to NSAlert dialogs on macOS:Code Organization
Testing
This is a UI-only change that requires manual testing on macOS. The expected behavior is:
Security
✅ CodeQL check passed (no applicable code for analysis)
✅ No new security vulnerabilities introduced
✅ Uses same validation logic as existing iOS implementation
Fixes [Dev Menu] TextInputs missing from "Configure Bundler" screen of dev menu #2746
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.