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

App Stuck at loading , if the url is invalid #1370

Closed
tanmoysrt opened this issue Dec 12, 2022 · 4 comments · Fixed by #1380
Closed

App Stuck at loading , if the url is invalid #1370

tanmoysrt opened this issue Dec 12, 2022 · 4 comments · Fixed by #1380
Labels
bug Something isn't working

Comments

@tanmoysrt
Copy link

Describe the bug
Currently after providing , the organisation url , it got stuck at that screen if server is not running.
What I assuming, it just checking the format of url [https://example.com].
The app should be responsible to show error and cause to user, and go one step back to refactor the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Open app
  2. Provide any url [Valid format]
  3. App will got stuck at Select Organization Section

Expected behavior
The app should be responsible to show error and cause to user, and go one step back to refactor the issue.

Additional details

  • It's better to keep an endpoint in talawa-api to check, whether it's an talawa service or not.
  • Also the organization url need to be in this format http:///graphql
  • The app should be compaitable , if the user provide http:// . It should retry the /graphql in case user has not provided
@tanmoysrt tanmoysrt added the bug Something isn't working label Dec 12, 2022
@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Dec 12, 2022
@tanmoysrt
Copy link
Author

@palisadoes I will work on the issue, please assign the issue

@github-actions
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@palisadoes palisadoes removed the unapproved Unapproved, needs to be triaged label Dec 12, 2022
@palisadoes palisadoes reopened this Dec 25, 2022
@palisadoes
Copy link
Contributor

This issue is being reopened as the reporter bug is still present. The Pull Request was closed by the submitter without him providing a rationale.

@SiddheshKukade
Copy link
Member

Actually here the steps are in a wrong order & that might be a reason due to which application is behaving in a unexpected way.

To Reproduce Steps to reproduce the behavior:

1. Open app

2. Provide any url [Valid format]

3. App will got stuck at `Select Organization Section`

Correct Steps :

  1. Start App
  2. In the Server URL Screen:
    • Provide server URL (can be valid or invalid)
    • Click on verify button to check if it works.
    • If success message then click on login or signup
    • If wrong URL message is provided then we don't have to click on login or signup buttons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants