-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add reconfigurable registers & profiles #676
Open
allan-on
wants to merge
163
commits into
master
Choose a base branch
from
add-reconfigurable-registers-and-profiles
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add the configurable register contract as part of the BaseRegisterContract - Implement new method in the BaseRegisterActivity
- Add RegisterParams pojo
1. Add ModuleMetadata class 2. Add LocationTagsConfiguration that holds the location tag configuration from BuildConfig 3. Add RegisterPageRowProviderMetadata class that defines what is displayed for each of the row label UIs
…configuration - Add the RowOptions, ViewHolder & RegisterProvider interfaces that will help make the register easily configurable - Add base implementations of the configurable classes - Add ModuleConfiguration that holds everything that is configurable on a module - Add ModuleFormProcessor that enables one to define how each form should be processed based on form name - Add ModuleRegisterQueryProvider that defines the queries used for search, quickly retrieving client IDs for each page, filter query & query for retrieving client details from the base-entity-id - Add RegisterProviderMetadata that defines how to retrieve specific values from a record eg first_name, age etc
- The default implementations are called BaseConfigurableRegisterActivity & BaseConfigurableRegisterFragment - Added default implementations of the model, view and presenters for the activity & fragment This commit is incomplete since there are a lot of compile errors
….ActivityInteractor
- Add default login username/password - Move from the main activity to register-page - Add SampleRepository & SampleApplication - Add ec_mother & ec_client tables
…pensrp_id - The code covers cases where zeir_id is used as the registration identifier for the client
…nSRP/opensrp-client-core into add-configurability-goldsmith-design
…add-configurability-goldsmith-design
…m:OpenSRP/opensrp-client-core into add-reconfigurable-registers-and-profiles
…m:OpenSRP/opensrp-client-core into add-reconfigurable-registers-and-profiles
Open
9 tasks
…add-reconfigurable-registers-and-profiles
…add-reconfigurable-registers-and-profiles
…add-reconfigurable-registers-and-profiles
…add-reconfigurable-registers-and-profiles
Refactored Toolbar configs to be merged in NavigationOptions
…add-reconfigurable-registers-and-profiles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR encompasses all work done to introduce configurable registers and/or profiles.
Merging this PR should close all related PRs that are already part of this.
See #665 for details and related PRs
Before merging: