Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

[FIX] Cancelling when adding a server

Open reinaldonetof opened this issue 3 years ago • 0 comments

Proposed changes

Disable the close button while connecting and enable it again in case of an error

Jira: TC-110

Issue(s)

How to test or reproduce

When opening the Servers List, on Room List View, the user has the option to add a new server.

If they click on it, they are redirected to a screen that is just like the "first screen of the app", on which the user types in the server they want and is moved on to continue to the login process.

Screenshots

https://user-images.githubusercontent.com/47038980/192863934-98ff20aa-ed0e-4791-a27e-bf1e49204b19.mov

Types of changes

  • [x] Bugfix (non-breaking change which fixes an issue)
  • [ ] Improvement (non-breaking change which improves a current function)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Documentation update (if none of the other choices apply)

Checklist

  • [x] I have read the CONTRIBUTING doc
  • [x] I have signed the CLA
  • [x] Lint and unit tests pass locally with my changes
  • [ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
  • [ ] I have added necessary documentation (if applicable)
  • [ ] Any dependent changes have been merged and published in downstream modules

Further comments

reinaldonetof avatar Sep 27 '22 00:09 reinaldonetof