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

Fix issue 536 loading of progress indefinitely when no notes available #544

Merged
merged 5 commits into from
Oct 6, 2022

Conversation

Varsha-Kulkarni
Copy link
Contributor

Summary

When there are no notes available, progress dialog keeps loading indefinitely trying to sync the data. The PR fixes issue #536

Description for the changelog

When the user logs into the app for the first time, app tries to sync with backend indefinitely since notes list is empty. The same is observed when all the existing notes are deleted. Notes can be synced during the first load after logging in or any error occurs while syncing. The condition which would sync notes when list is empty is removed which fixes the above issue.

Checklist

  • Build and linting is passing.
  • This change is not breaking existing flow of a system.
  • I have written test case for this change.
  • This change is tested from all aspects.
  • Implemented any new third-party library (Which not existed before this change).

dependabot bot and others added 5 commits October 3, 2022 02:10
Bumps [logback-classic](https://github.com/qos-ch/logback) from 1.4.1 to 1.4.3.
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](qos-ch/logback@v_1.4.1...v_1.4.3)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps `testContainerVersion` from 1.17.4 to 1.17.5.

Updates `testcontainers` from 1.17.4 to 1.17.5
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-java@1.17.4...1.17.5)

Updates `postgresql` from 1.17.4 to 1.17.5
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-java@1.17.4...1.17.5)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…le/noty-api/testContainerVersion-1.17.5

[API]: Bump testContainerVersion from 1.17.4 to 1.17.5 in /noty-api
…le/noty-api/ch.qos.logback-logback-classic-1.4.3

[API]: Bump logback-classic from 1.4.1 to 1.4.3 in /noty-api
Copy link
Owner

@PatilShreyas PatilShreyas left a comment

Choose a reason for hiding this comment

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

Thanks @Varsha-Kulkarni again for raising this 😃.

@PatilShreyas PatilShreyas changed the base branch from master to dev-v2.1.0 October 6, 2022 14:30
@PatilShreyas PatilShreyas merged commit 07d4f50 into PatilShreyas:dev-v2.1.0 Oct 6, 2022
@PatilShreyas PatilShreyas linked an issue Oct 7, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Defect: Progress dialog keeps running in infinite loop
2 participants