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

Form configurability compatibility update #523

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

allan-on
Copy link
Contributor

@allan-on allan-on commented Jun 2, 2020

  • Updated Activities to extend DynamicJsonFormActivity instead of JsonFormActivity
  • Removed native-forms dependencies
  • Added doc-config client-core dependency
  • Updated renamed QueryBuilder methods

See #521 for details

Fix failing RegisterFragmentPresenterTest
@coveralls
Copy link

coveralls commented Jun 4, 2020

@@ -33,6 +34,9 @@ protected void scheduleJobsPeriodically() {
SyncSettingsServiceJob
.scheduleJob(SyncSettingsServiceJob.TAG, TimeUnit.MINUTES.toMillis(BuildConfig.CLIENT_SETTINGS_SYNC_MINUTES),
getFlexValue(BuildConfig.CLIENT_SETTINGS_SYNC_MINUTES));
DocumentConfigurationServiceJob
.scheduleJob(DocumentConfigurationServiceJob.TAG, TimeUnit.MINUTES.toMillis(BuildConfig.CLIENT_SETTINGS_SYNC_MINUTES),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add the job to run immediately after login?? I'll see if I can direct you to the exact location

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ekigamba In the LoginInteractor#scheduleJobsImmediately() ? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

@allan-allay Yea, I think that's it. Also add it to run when the sync button on the register is clicked

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool. Let me implement the changes

@keymane
Copy link

keymane commented Jun 4, 2020

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- reference-app/src/main/java/org/smartregister/anc/job/AncJobCreator.java  1
         

See the complete overview on Codacy

Schedule immediately on login & on sync icon clicked
@codeclimate
Copy link

codeclimate bot commented Jun 4, 2020

Code Climate has analyzed commit 48bdb6b and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@dubdabasoduba dubdabasoduba requested a review from ekigamba July 3, 2020 07:33
@dubdabasoduba dubdabasoduba changed the base branch from master to develop May 20, 2022 11:45
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.

4 participants