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

[menu-bar][cli] Add support for opening tarballs with multiple apps #73

Merged

Conversation

gabrieldonadel
Copy link
Member

@gabrieldonadel gabrieldonadel commented Oct 11, 2023

Why

Closes ENG-10132

When attempting to open a .tar file users would get stuck at the "Installing" stage as the CLI would expect the users to select which app they would like to install using the keyboard, even though the CLI process is not interactive. To fix this and any other problems related to interacting with we should remove the promps library from eas-shared.

How

This PR refactors the logic responsible for the communication of errors from the CLI to the menu bar, allowing us to reconstruct the Error object from the cli on the React Native side. Apart from that this PR also adds support for opening tarballs with multiple apps and adds a new native Alert (showMultiOptionAlert)

Test Plan

Screen.Recording.2023-10-10.at.17.43.21.mov

@linear
Copy link

linear bot commented Oct 11, 2023

@gabrieldonadel gabrieldonadel marked this pull request as ready for review October 11, 2023 00:53
@gabrieldonadel gabrieldonadel merged commit 9b35801 into main Oct 11, 2023
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/add-support-for-multi-app-tarballs branch October 11, 2023 06:18
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.

1 participant