-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use mapped data more directly. * Rename domain modules and variables to be more accurate. * Redocument. * Use gsm release. Shinyapps doesn't seem to like the dev version. * Provide user-facing names for columns. * Better plugin YAML. * Bump R requirement to match gsm. * Don't double-fix names. * Abstract domain-name prettification. * Use pretty name for subject, too. * Get rid of unused param. * Finish removing unused arg.
- Loading branch information
1 parent
ecca5ce
commit 7e5bba9
Showing
98 changed files
with
1,247 additions
and
865 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#' Participant Domain Summary server | ||
#' | ||
#' @inheritParams shared-params | ||
#' @returns A string identifying the selected summary as a [shiny::reactive()]. | ||
#' @keywords internal | ||
mod_ParticipantDomainSummary_Server <- function( | ||
id, | ||
rctv_lParticipantDomainData | ||
) { | ||
moduleServer(id, function(input, output, session) { | ||
rctv_chrParticipantDomainDataNames <- reactive({ | ||
names(rctv_lParticipantDomainData()) | ||
}) | ||
|
||
output$domain_list <- renderUI({ | ||
lParticipantDomainData <- rctv_lParticipantDomainData() | ||
if (!length(lParticipantDomainData)) { | ||
return(out_Placeholder("participant")) | ||
} | ||
domainNames <- rctv_chrParticipantDomainDataNames() | ||
mod_ActionList_UI( | ||
session$ns("domain_list_choices"), | ||
domainNames, | ||
domainNames, | ||
purrr::map_int(lParticipantDomainData, NROW) | ||
) | ||
}) | ||
rctv_strSelectedDomain <- mod_ActionList_Server( | ||
"domain_list_choices", | ||
rctv_chrParticipantDomainDataNames | ||
) | ||
return(rctv_strSelectedDomain) | ||
}) | ||
} |
10 changes: 5 additions & 5 deletions
10
R/mod_ParticipantMetricSummary_UI.R → R/mod_ParticipantDomainSummary_UI.R
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 was deleted.
Oops, something went wrong.
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.