forked from dhis2/dhis2-android-capture-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EMISANDROI-38] feat: standardize the TEI listing model (#30)
* version name 3.0 Signed-off-by: Pablo <[email protected]> * version name 3.0 (dhis2#3605) Signed-off-by: Pablo <[email protected]> * map is usable when card is first expanded to take full screen and then collapsed (dhis2#3601) * fix: [ANDROAPP-6050] remove program name when scheduling event (dhis2#3596) * [ANDROAPP-5701] Perform sync in local network (dhis2#3591) * Perform sync in local network Signed-off-by: Pablo <[email protected]> * Perform sync in local network Signed-off-by: Pablo <[email protected]> --------- Signed-off-by: Pablo <[email protected]> Co-authored-by: Pablo <[email protected]> * update mobile-ui version (dhis2#3615) * chore: [ANDROAPP-6139] Ignore flaky test (dhis2#3622) * chore: [ANDROAPP-6139] ignoreflaky test * fix: [ANDROAPP-6135] add ignore to shouldSuccessfullySyncSavedEvent * chore: [ANDROAPP-6135] Update rule engine and expression parser to re… (dhis2#3623) * chore: [ANDROAPP-6135] Update rule engine and expression parser to release version for 3.0 * chore: update rule-engine version 3.0.0 * fix: [ANDROAPP-6135] fix tests --------- Co-authored-by: Victor Garcia <[email protected]> * Update designSystem to release artifact 0.2 (dhis2#3627) Signed-off-by: andresmr <[email protected]> * [ANDROAPP-6134] Update sdk release version to 1.10.0 (dhis2#3629) Signed-off-by: Pablo <[email protected]> * [ANDROAPP-6161] Add server version 41 (dhis2#3630) Signed-off-by: andresmr <[email protected]> * [ANDROAPP-6162] Remove old form option (dhis2#3632) * [ANDROAPP-6162] Remove COMPOSE_FORM option Signed-off-by: andresmr <[email protected]> * [ANDROAPP-6162] Ignore flaky test Signed-off-by: andresmr <[email protected]> * [ANDROAPP-6162] Ignore flaky test Signed-off-by: andresmr <[email protected]> --------- Signed-off-by: andresmr <[email protected]> * Create deploy_release.yml placeholder workflow * Rename deploy_release.yml to deploy-release.yml * Update deploy-release.yml * feat: [ANDROAPP-6165] add continuous-delivery job to github (dhis2#3650) * fix: [ANDROAPP-6175] TeiDataFragment keeps reloading in landscape (dhis2#3647) * [ANDROAPP-6175] TeiDataFragment keeps reloading in landscape Signed-off-by: Pablo <[email protected]> * [ANDROAPP-6175] Check if grouped events option is visible Signed-off-by: Pablo <[email protected]> * [ANDROAPP-6175] Ignore flaky test Signed-off-by: Pablo <[email protected]> --------- Signed-off-by: Pablo <[email protected]> * ci: [ANDROAPP-6167] deploy release job * ci: [ANDROAPP-6167] deploy release job * ci: [ANDROAPP-6167] deploy release job * update vCode * build: 3.0 release (dhis2#3654) * build: 3.0 release * build: 3.0 release * build: rename apk files Signed-off-by: Pablo <[email protected]> --------- Signed-off-by: Pablo <[email protected]> Co-authored-by: Pablo <[email protected]> * ci: Update version name to 3.0.0.1 and version code to 134 Signed-off-by: andresmr <[email protected]> * fix: [ANDROAPP-6195] Add missing text resource keys (dhis2#3667) * fix: [ANDROAPP-6195] Add missing text resource keys Signed-off-by: Pablo <[email protected]> * fix: [ANDROAPP-6195] remove duplicates and typos Signed-off-by: Pablo <[email protected]> * fix: [ANDROAPP-6195] remove duplicates Signed-off-by: Pablo <[email protected]> * fix: [ANDROAPP-6195] add missing transifex configuration Signed-off-by: Pablo <[email protected]> --------- Signed-off-by: Pablo <[email protected]> * fix: [ANDROAPP-6194] Search outside the program (dhis2#3664) * fix: [ANDROAPP-6194] Send fetched list as parameter to avoid duplicated on search Signed-off-by: andresmr <[email protected]> * fix: [ANDROAPP-6194] Send fetched list as parameter to avoid duplicated on search Signed-off-by: andresmr <[email protected]> * fix: [ANDROAPP-6194] Add mockedWebServer response to mock get tracked entity instances Signed-off-by: andresmr <[email protected]> --------- Signed-off-by: andresmr <[email protected]> * fix: [ANDROAPP-6210] Manually instantiate resourceManager on BreakTheGlassBottomDialog (dhis2#3671) Signed-off-by: andresmr <[email protected]> * fix: missing translations (dhis2#3674) * fix: missing translations Signed-off-by: Pablo <[email protected]> * fix: duplicated resources Signed-off-by: Pablo <[email protected]> --------- Signed-off-by: Pablo <[email protected]> * chore: Update SDK to 1.10.0.1 (dhis2#3679) * chore: Update SDK to 1.10.0.1-SNAPSHOT Signed-off-by: andresmr <[email protected]> * chore: Update SDK to 1.10.0.1 Signed-off-by: andresmr <[email protected]> --------- Signed-off-by: andresmr <[email protected]> * build: Update release notes Signed-off-by: andresmr <[email protected]> * fix: refactoring changes * chore: klint checkstyle * feat: proposal to standardize TEI's cards * chore: updating tei list card details * fix: ignoring test * chore(app-module): klint format * chore(emis-module): klint format --------- Signed-off-by: Pablo <[email protected]> Signed-off-by: andresmr <[email protected]> Co-authored-by: Pablo <[email protected]> Co-authored-by: Ferdy Rodriguez <[email protected]> Co-authored-by: Manu Muñoz <[email protected]> Co-authored-by: Andrés Miguel Rubio <[email protected]> Co-authored-by: Xavier Molloy <[email protected]> Co-authored-by: Victor Garcia <[email protected]> Co-authored-by: manu <[email protected]>
- Loading branch information
1 parent
b9a9065
commit 5433b76
Showing
13 changed files
with
277 additions
and
32 deletions.
There are no files selected for viewing
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
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
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
13 changes: 13 additions & 0 deletions
13
emis/src/main/java/org/saudigitus/emis/data/model/mapper/SearchTeiModelMapper.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.saudigitus.emis.data.model.mapper | ||
|
||
import org.dhis2.commons.data.SearchTeiModel | ||
import org.saudigitus.emis.ui.teis.mapper.TEICardMapper | ||
|
||
fun SearchTeiModel.map( | ||
teiCardMapper: TEICardMapper, | ||
) = teiCardMapper.map( | ||
searchTEIModel = this, | ||
onSyncIconClick = { }, | ||
onCardClick = {}, | ||
onImageClick = {}, | ||
) |
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
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
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
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
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
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
Oops, something went wrong.