Usage Metrics Dashboard: Port over data loading & updating flow from Runtime Version Scanner
@toph-allen is already working on this.
Since Jul 21, 2025.
Assessment
This issue has not been assessed yet.
Description
Currently, when sidebar filters are updated, the Usage Metrics Dashboard passes the updated data object to reactable() directly. This causes the table to be rerendered, and any JS elements of the table are reset. In fact, the code currently uses a hack to work around this to preserve the contents of the search field.
The Runtime Version Scanner handles this better: it the table with an empty data frame at first, and then uses updateReactable() to update the data. The one caveat to this is that cells whose HTML is computed in a cell argument to colDef need to be pre-computed, as those arguments are not run during updateReactable() (known issue).
- Dominant language
- R
- Stars
- 10
- Forks
- 8
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/connect-extensions
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
posit-dev/connect-extensions#467 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
posit-dev/connect-extensions#452 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
posit-dev/connect-extensions#432 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
posit-dev/connect-extensions#431 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
posit-dev/connect-extensions#430 ·
All issues in posit-dev/connect-extensions
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·