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

Add reconfigurable registers & profiles #676

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

Conversation

allan-on
Copy link
Contributor

@allan-on allan-on commented Oct 29, 2020

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:

ekigamba and others added 30 commits September 17, 2020 17:00
- 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
- 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
allan-on and others added 23 commits March 3, 2021 16:20
Refactored Toolbar configs to be merged in NavigationOptions
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.

3 participants