Repository navigation
feat: Add the standalone Reactlog viewer and Python package - #166
Open
karangattu wants to merge 1 commit into
Open
karangattu wants to merge 1 commit into
karangattu wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reactlog now owns the standalone report viewer from the Shiny for Python Reactlog PRs. A Python caller can read a saved R or Python trace and write an interactive HTML file with the viewer embedded.
pkg-r/and update its build, checks, RStudio project, and pkgdown demo. Development installs useremotes::install_github("rstudio/reactlog/pkg-r").reactlogpackage underpkg-py/. It ships the report template, stylesheet, and compiled JavaScript in the wheel and has no runtime dependencies.The viewer comes from the top of the py-shiny Reactlog stack. Wiring the consumer PRs to the new package is a separate change. py-shiny#2467 · py-shiny#2531
Try it
From the repository root, run
uv pip install ./pkg-py. With an exported trace intrace.json:Verification
npm run build. TypeScript checks and all nine JavaScript tests passed.devtools::check("pkg-r")with--no-manual. Zero errors and warnings, one note for the existingrmarkdownimport.