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

AC-1062 Multiple instances of Register Patient activity #983

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rishujam
Copy link
Contributor

@rishujam rishujam commented Mar 18, 2023

AC-1062 Multiple instances of Register Patient activity

Description of what I changed

I had to add a check before starting the navigation. So I added a navigation function in DashboardFragment which checks if one navigation is already in progress or not. Additionally, I had to upgrade the compile and target sdk version from 29 to 31 in openmrs-android-sdk build.gradle

Issue I worked on

https://issues.openmrs.org/browse/AC-1062

Checklist: I completed these to help reviewers :)

  • My pull request only contains ONE single commit
    (the number above, next to the 'Commits' tab is 1).

  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)

  • All new and existing tests passed.
  • My pull request is based on the latest changes of the master branch.

@rishujam rishujam marked this pull request as draft March 18, 2023 20:04
@rishujam rishujam marked this pull request as ready for review March 18, 2023 20:08
@rishujam
Copy link
Contributor Author

@shubhamsgit Please have a look

@rishujam rishujam changed the title fix AC-1062 AC-1062 Multiple instances of Register Patient activity Mar 18, 2023
@rishujam
Copy link
Contributor Author

@rishabh-997

Copy link
Member

@shubhamsgit shubhamsgit left a comment

Choose a reason for hiding this comment

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

I think showing a progress bar will be a better rectification as the present changes will not allow the app to inform the user that the activity is loading and the user will keep clicking on the button.

Also, can you please the android api level you encountered the bug on?

buildToolsVersion "29.0.2"

defaultConfig {
minSdkVersion 17
targetSdkVersion 29
targetSdkVersion 31
Copy link
Member

Choose a reason for hiding this comment

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

Any specific reason for changing the targetSdkVersion?

@shubhamsgit
Copy link
Member

Furthermore, I would like to inform you, @rishujam, that the current version of the application is solely intended for demonstrative purposes for the implementers. Therefore, it would be more advantageous for us to focus on resolving any existing bugs within the feature modules of the application or exploring possibilities for additional functionality to be incorporated.

@rishujam
Copy link
Contributor Author

@shubhamsgit Updated in the latest commit, Please have a look

  • Added ProgressBar
  • sdk version back to 29

@IzzySoft
Copy link

Apologies for abusing this PR for the note, bu you have no public issue tracker. Since v2.8.4, there were only debug builds attached to releases here – 2.8.4 was the last one with a release build. Could you please rectify that? Feel free to delete this comment afterwards 😉 Thanks in advance!

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