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

New Feature: Allow user to update server configuration #2105

Conversation

niyajali
Copy link
Collaborator

@niyajali niyajali commented May 31, 2024

  • Created UpdateServerConfigScreen.kt
  • Created Validation Use Cases
  • Saved Config in Preference Manager
  • Applied in :app, :auth module
  • Applied in Network Module

Fixes MIFOSAC-167

Please Add Screenshots If there are any UI changes.

Screen_recording_20240601_091831.mp4

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

[x] Created UpdateServerConfigScreen.kt
[x] Created Validation Use Cases
 Saved Config in Preference Manager
[x] Applied in :app, :auth module
[] Applied in Network Module
@niyajali
Copy link
Collaborator Author

@therajanmaurya kindly review this PR, I haven't applied in :network module yet, this is the main internal part like the heart of our app, so I would like to discuss it with you before using it in the module, it will be better if we could join a meeting with @Aditya-gupta99 to share my thoughts properly.

@therajanmaurya
Copy link
Member

This does not need to interact with network module. It will interact with data - datastore module
datastore - It will have function to update the config
data - It will expose the datastore update config function. We already have the functions
image

@niyajali
Copy link
Collaborator Author

yes sir but i think we have to configure BaseApiManager as well because in their we are using prefManager

@niyajali
Copy link
Collaborator Author

niyajali commented Jun 1, 2024

@therajanmaurya sir applied config in network module, kindly take a look

@therajanmaurya therajanmaurya merged commit e4a4c30 into openMF:master Jun 4, 2024
4 of 5 checks passed
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.

2 participants