Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e94699d
Merge pull request #126 from Gilead-BioStats/main
jharmon-gilead Jul 21, 2026
3311a4e
Fix 124: Remove unused riskmetric package (#127)
jharmon-gilead Jul 22, 2026
86f2d91
Use public actions (#131)
jharmon-gilead Aug 4, 2026
e40e550
fix: update Gilead-BioStats links to Gilead-Public (#133)
nandriychuk Aug 11, 2026
47a7365
build: depend on gsm.vizr for the barchart migration (#134)
michkam89 Aug 13, 2026
98c2e76
feat: render eligibility_groupBar with gsm.vizr::bars (#134)
michkam89 Aug 13, 2026
96aecb9
feat: render discontinuation_groupBar with gsm.vizr::bars (#134)
michkam89 Aug 13, 2026
76f73e2
feat: render the single-series QTL barcharts with gsm.vizr::bars (#134)
michkam89 Aug 13, 2026
450a4a2
feat: render criteria_groupBar with gsm.vizr::bars (#134)
michkam89 Aug 13, 2026
c837ad5
feat: render reasons_groupBar with gsm.vizr::bars (#134)
michkam89 Aug 13, 2026
d54803b
refactor: delete Widget_BarChartQTL and serve gsm.viz from gsm.vizr (…
michkam89 Aug 13, 2026
bb25f4a
fix: stack segments in the published fill order (#134)
michkam89 Aug 13, 2026
3f16273
test: playwright coverage for the migrated QTL report (#134)
michkam89 Aug 13, 2026
3cc3ca1
docs: NEWS and version bump for the gsm.vizr barchart migration (#134)
michkam89 Aug 13, 2026
547936c
Ignore data-raw (#136)
jharmon-gilead Aug 13, 2026
11049db
Merge remote-tracking branch 'origin/dev' into feat/134-bars-migration
michkam89 Aug 13, 2026
49c6b67
test: assert the gsm.vizr Remotes ref is explicitly pinned (#134)
michkam89 Aug 13, 2026
0bd3253
refactor: native gsm.viz tooltip formats; drop axis-duplicating fill …
michkam89 Aug 18, 2026
df3b5b4
feat: fold the Site (by %) tab into the Site chart's position toggle …
michkam89 Aug 18, 2026
e1ce1a2
docs: NEWS for the review-driven chart changes; sync package Rd (#134)
michkam89 Aug 18, 2026
e47bc61
chore: point the gsm.vizr Remote at dev now that vizr #2 and #5 are m…
michkam89 Aug 24, 2026
0f1eaed
Merge pull request #137 from Gilead-Public/feat/134-bars-migration
michkam89 Aug 26, 2026
145dae8
chore: prepare the 1.4.0 release
michkam89 Aug 26, 2026
e34d50f
test: assert drawn bars and fail on a missing Remotes field (#134)
michkam89 Aug 26, 2026
e5a7925
test: cover percentage mode and the shared-bundle time series (#134)
michkam89 Aug 26, 2026
1bc4dbd
chore: pin gsm.vizr@main now that v0.1.0 is released (#134)
michkam89 Aug 27, 2026
1c38afc
Potential fix for pull request finding
michkam89 Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
^\.positai$
^\.claude$
^AGENTS\.md$
^data-raw$
^tests/playwright$
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thank you for your interest in contributing to the `gsm` suite of packages!

This repository follows the **centralized `gsm` Contributor Guidelines** maintained in [`gsm.core`](https://gilead-biostats.github.io/gsm.core/CONTRIBUTING.html).
This repository follows the **centralized `gsm` Contributor Guidelines** maintained in [`gsm.core`](https://gilead-public.github.io/gsm.core/CONTRIBUTING.html).
Please review those guidelines before opening issues or submitting pull requests.

## Key Points
Expand All @@ -12,4 +12,4 @@ Please review those guidelines before opening issues or submitting pull requests
- Track your issue on the [`gsm` Roadmap Project Board](https://github.com/orgs/Gilead-BioStats/projects/41).
- All code changes should be made in a branch and submitted as a PR following the guidelines linked above.

For detailed workflows (branching, releases, QC, CI/CD), please see the full [Contributor Guidelines in gsm.core](https://gilead-biostats.github.io/gsm.core/CONTRIBUTING.html).
For detailed workflows (branching, releases, QC, CI/CD), please see the full [Contributor Guidelines in gsm.core](https://gilead-public.github.io/gsm.core/CONTRIBUTING.html).
12 changes: 6 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# name: R-CMD-check.yaml
# version: 0.4.2
# version: 1.0.0
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Description: R CMD check for PRs
on:
Expand All @@ -17,7 +17,7 @@ jobs:
steps:
- name: Define matrix based on target branch
id: set-matrix
uses: gilead-biostats/gsm.utils/setup-matrix-with-dev@actions-v1
uses: gilead-public/gsm.utils/setup-matrix-with-dev@actions-v1
with:
pkg-use: 'public'
R-CMD-check:
Expand All @@ -32,18 +32,18 @@ jobs:
R_KEEP_PKG_SOURCE: yes
steps:
- name: Generate token
uses: gilead-biostats/gsm.utils/generate-token@actions-v1
uses: gilead-public/gsm.utils/generate-token@actions-v1
id: token
with:
app-id: ${{ secrets.CM_BOT_APP_ID }}
app-private-key: ${{ secrets.CM_BOT_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Check out repo
uses: gilead-biostats/gsm.utils/checkout@actions-v1
uses: gilead-public/gsm.utils/checkout@actions-v1
with:
token: ${{ steps.token.outputs.token }}
- name: Install R and dependencies
uses: gilead-biostats/gsm.utils/install@actions-v1
uses: gilead-public/gsm.utils/install@actions-v1
with:
token: ${{ steps.token.outputs.token }}
r-version: ${{ matrix.config.r }}
Expand All @@ -55,6 +55,6 @@ jobs:
shell: bash
run: echo "GITHUB_PAT=${{ steps.token.outputs.token }}" >> $GITHUB_ENV
- name: Check package
uses: gilead-biostats/gsm.utils/check-r-package@actions-v1
uses: gilead-public/gsm.utils/check-r-package@actions-v1
with:
error-on: ${{ matrix.config.error-on || '"warning"' }}
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown-all.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# name: pkgdown-all.yaml
# version: 0.4.1
# version: 1.0.0
# Description: Triggers the core pkgdown deployment and cleanup workflows.
name: pkgdown-all
on:
Expand Down Expand Up @@ -29,7 +29,7 @@ permissions:
pull-requests: write
jobs:
call-pkgdown-core:
uses: Gilead-BioStats/gsm.utils/.github/workflows/pkgdown-core.yaml@actions-v1
uses: gilead-public/gsm.utils/.github/workflows/pkgdown-core.yaml@actions-v1
with:
# These inputs only actually matter for workflow_dispatch; otherwise
# they're automatically determined.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qcthat.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# name: qcthat.yaml
# version: 0.2.1
# version: 0.2.2
# Description: Generate qcthat quality control reports for pull requests and releases and manage user acceptance testing.
on:
pull_request:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
if: >-
(github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'qcthat-uat')) ||
github.event_name != 'issues'
uses: Gilead-BioStats/qcthat/.github/workflows/qcthat-core.yaml@actions
uses: gilead-public/qcthat/.github/workflows/qcthat-core.yaml@actions
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
qcthat-app-id: ${{ secrets.CM_BOT_APP_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/r-releaser-caller.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# name: r-releaser-caller.yaml
# version: 0.4.1
# version: 1.0.0
# Description: R package release workflow
name: Release

Expand All @@ -17,7 +17,7 @@ permissions:

jobs:
call-release-workflow:
uses: Gilead-BioStats/gsm.utils/.github/workflows/r-releaser.yaml@actions-v1
uses: gilead-public/gsm.utils/.github/workflows/r-releaser.yaml@actions-v1
with:
tag: ${{ github.event.release.tag_name || inputs.tag }}
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# name: test-coverage.yaml
# version: 0.4.1
# version: 1.0.0
# Description: Compute test coverage and publish coverage-summary.json artifact
name: test-coverage
on:
Expand All @@ -18,7 +18,7 @@ permissions:
pull-requests: write
jobs:
call-test-coverage-core:
uses: Gilead-BioStats/gsm.utils/.github/workflows/test-coverage-core.yaml@actions-v1
uses: gilead-public/gsm.utils/.github/workflows/test-coverage-core.yaml@actions-v1
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
app-id: ${{ secrets.CM_BOT_APP_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/workflow-template-check.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# name: workflow-template-check.yaml
# version: 0.5.0
# version: 1.0.0
# Description: Check if GitHub Actions workflows match gsm.utils templates
name: Workflow Template Compliance Check
on:
Expand All @@ -16,7 +16,7 @@ permissions:
contents: write
jobs:
check-workflows:
uses: Gilead-BioStats/gsm.utils/.github/workflows/workflow-template-checker.yaml@actions-v1
uses: gilead-public/gsm.utils/.github/workflows/workflow-template-checker.yaml@actions-v1
with:
default-branch: ${{ github.event.repository.default_branch }}
pr-number: '${{ github.event.number }}'
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ docs
/doc/
/Meta/
.positai

# Playwright visual-test harness
tests/playwright/node_modules/
tests/playwright/fixture/
tests/playwright/test-results/
23 changes: 11 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gsm.qtl
Title: Good Statistical Monitoring QTLs
Version: 1.3.0
Version: 1.4.0
Authors@R: c(
person("Zhongkai", "Wang", , "Zhongkai.Wang6@gilead.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-1883-2265")),
Expand All @@ -12,16 +12,17 @@ Description: The Good Statistical Monitoring or 'gsm' suite of R packages
extension that contains the additional functions, workflows, and
document template to generate reports for QTL.
License: Apache License (>= 2)
URL: https://gilead-biostats.github.io/gsm.qtl,
https://github.com/Gilead-BioStats/gsm.qtl,
BugReports: https://github.com/Gilead-BioStats/gsm.qtl/issues
URL: https://gilead-public.github.io/gsm.qtl,
https://github.com/Gilead-Public/gsm.qtl,
BugReports: https://github.com/Gilead-Public/gsm.qtl/issues
Depends:
R (>= 4.0)
Imports:
dplyr,
forcats,
ggplot2,
gsm.core (>= 1.1.2),
gsm.vizr (>= 0.1.0),
gt,
htmltools,
htmlwidgets,
Expand All @@ -30,12 +31,9 @@ Imports:
purrr,
rlang,
scales,
stats,
stringr,
tibble,
tidyr,
utils,
workr,
yaml
Suggests:
cli,
Expand All @@ -46,15 +44,16 @@ Suggests:
lubridate,
pander,
qcthat,
riskmetric,
rmarkdown,
testthat (>= 3.0.0)
testthat (>= 3.0.0),
workr
VignetteBuilder:
knitr
Remotes:
gsm.core=Gilead-BioStats/gsm.core@main,
workr=Gilead-BioStats/workr@main,
qcthat=Gilead-BioStats/qcthat@*release
gsm.core=Gilead-Public/gsm.core@main,
gsm.vizr=Gilead-Public/gsm.vizr@main,
workr=Gilead-Public/workr@main,
qcthat=Gilead-Public/qcthat@*release
Config/Needs/website: DT, here, pkgdown, devtools
Config/roxygen2/version: 8.0.0
Config/testthat/edition: 3
Expand Down
33 changes: 33 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# gsm.qtl v1.4.0

### Key Enhancements:

- The six QTL barchart functions (`eligibility_groupBar()`, `eligibility_sourceBar()`,
`criteria_groupBar()`, `discontinuation_groupBar()`, `discontinuation_reasonBar()` and
`reasons_groupBar()`) now render through `gsm.vizr::bars()` on the `gsm.viz` JavaScript
library instead of `ggplot2` + `plotly::ggplotly()`. Their arguments are unchanged, but
**they now return a `bars` htmlwidget rather than a `plotly` object** — code that inspected
or post-processed the returned plotly object needs updating. Chart appearance is
structurally equivalent; charts sit slightly taller than before because `gsm.viz` adds its
axis and legend chrome on top of the per-category height.
- Tooltips now use the built-in `gsm.viz` formats: the stacked group charts show
`<group>: <count> (<percent>)` per segment, while `eligibility_sourceBar()` and
`discontinuation_reasonBar()` show the plain count. Those two single-series charts also
no longer map `fill`, dropping the legend and colour set that duplicated the category axis.
- The QTL0001 report renders one Site chart instead of separate `Site` and `Site (by %)`
tabs — the chart's position toggle switches between counts and percentages. The
`bPercentage` argument of `eligibility_groupBar()` is unchanged.
- `gsm.qtl` no longer vendors its own copy of the `gsm.viz` bundle. The QTL time-series widget
now loads the shared bundle published by `gsm.vizr`, which moves it from `gsm.viz` 2.2.0 to
2.4.1.

### Other Updates:

- Added `gsm.vizr` as a package dependency.
- Removed the unused `Widget_BarChartQTL` widget and its `barChartQTL.js` shim.
- `QTL_lineplot()` still renders with `plotly`, so `plotly` and `ggplot2` remain dependencies
until a generic line renderer is available.
- Removed the unused `riskmetric` dependency (#124).
- Updated repository links and CI actions for the move to the `Gilead-Public`
organization (#132).

# gsm.qtl v1.3.0

### Key Enhancements:
Expand Down
119 changes: 0 additions & 119 deletions R/Widget_BarChartQTL.R

This file was deleted.

Loading
Loading