Usage Metrics Dashboard: Port over data loading & updating flow from Runtime Version Scanner

Open
#250 2 comments 0 reactions 1 assignee View on GitHub

@toph-allen is already working on this.

Since Jul 21, 2025.

Assessment

This issue has not been assessed yet.

Description

content: Usage Metrics Dashboard

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/connect-extensions

All issues in posit-dev/connect-extensions

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.