Repository navigation
Resolve widget assets from gsm.vizr and migrate the prevalence plot (#589) - #590
Michał Kamiński (michkam89) wants to merge 8 commits into
Conversation
…tick format key (currently inert pending upstream gsm.viz support) (#589)
…ecodeValues() and unused vdiffr Suggests entry; pin gsm.vizr version floor (#589)
|
I know the bullet charts on Domain Details were the result of a lotttttttt of back-and-forth/discussion. Is the change acceptable, Jeremy Wildfire (@jwildfire) ? https://rinpharma.shinyapps.io/gsm-app-pr-590/ For example:
|
|
Nice work getting this running Michał Kamiński (@michkam89). I'd suggest the following configuration tweaks:
We probably have to live without the percentage annotations and lean on the prevalence axis tick lines. To Jon Harmon (@jonthegeek)'s point if we can get the features above implemented we should be able to deliver a nearly identical user experience. |
|
Thanks both - Spencer Childress (@samussiah), if I understand correctly
Participant: 77.77777777777779 (37.3%) What we could do instead: A. What do you think? |
|
Jon Harmon (@jharmon-gilead) Jeremy Wildfire (@jwildfire) what we are also violating in this PR are a few acceptance criteria from #496 (5, 8 and 11) - "displays a label with the numeric % of each value" for Study / Group / Participant, and partly 12–14 which toggle "the bar and label". Originally the labels sat in a fixed column on the right and were constantly visible. Do we accept retiring those? |
I think it's better UI for them to be visible without the hover (easier to understand at a glance), but I doubt it will stop acceptance. Jeremy Wildfire (@jwildfire) should we have Jenn/Gosia way in? |
I'd go with the custom formatter - forgot these numbers are derived in |
Jon Harmon (jharmon-gilead)
left a comment
There was a problem hiding this comment.
The code looks good! As long as everything else from discussions is resolved, this looks ready to go!


This PR was drafted by Claude Code using Sonnet 5 and reviewed by Michał Kamiński (@michkam89)
Resolve widget assets from gsm.vizr and migrate the prevalence plot (#589)
Summary
Moves widget assets from the undeclared
gsm.kricoupling to the declaredgsm.vizrdependency, and replaces the prevalenceggplot2chart withgsm.vizr::bars().Closes #589
Changes
gsmDependencies()now loads widget YAML, JS, CSS, and bundles fromgsm.vizr.gsm.kriremains inImportsfor 14 unrelated live calls.main.cssnow loads for all four widgets. It is byte-identical to the previous stylesheet and produced no visual change in baseline comparison.gsm.kri@main's 2.3.0 bundle togsm.vizr2.4.1.VizLevelseries; dodge preserves comparison without implying a combined total.interactive = FALSEprevents users switching to the invalid stacked presentation.gsm.vizris temporarily pinned toGilead-Public/gsm.vizr@for-gsm.app-589. The pointer branch avoids conflictinggsm.corerefs duringpakresolution and should revert todev/mainafter gsm.vizr 0.1.0 lands.ggplot2andscalesimports..0%; they now use the correctformatkey and render values such as49%.Reviewer notes
gsm.vizrrequires R >= 4.1, while gsm.app declares R >= 4.0. This needs a maintainer decision and is not resolved here.barsOutput()uses a different htmlwidgets default.man/*.Rdfiles changed becausedevtools::document()used roxygen2 8.0.0 instead of 7.3.3; these changes are non-functional.mod_dfDomains.mdandsrvr_PluginHelpers.mdchanged because of environment/rlangdrift, not this implementation.Validation
devtools::check(): 0 errors, 0 warnings, 1 worktree-only.gitNOTE that does not occur in a normal clone.["All"]sentinel match baseline behavior;gsm.vizr::bars()widget with a legend and no stacking toggle.