docs+feat: React UI v2.0 — Phase 9 (Streamlit deprecation banner + parity matrix)#37
Merged
Conversation
6a0cc3e to
a218c83
Compare
- src/runtime/ui.py: top-of-page st.warning() banner explaining the React UI is the supported path in v2.0.0-rc1 and Streamlit will be removed in v2.1. Suppressible via ASR_HIDE_STREAMLIT_DEPRECATION=1. Link target configurable via ASR_REACT_URL (default http://localhost:8000/). - dist/ui.py regenerated (HARD-08).
- docs/REACT_UI_PARITY.md: feature-by-feature mapping of every Streamlit render_* / *_block function to its React counterpart. 21 features at full parity, 3 at partial (hypothesis trail panel, retry preview JSON, agent prompt expander — all working substitutes, dedicated views scheduled for v2.1), 2 intentionally deferred (keyboard shortcuts, dark theme). Verdict: React UI clears the v2.0.0-rc1 ship gate. Streamlit keeps shipping (with deprecation banner) until v2.0.0 GA.
96a8228 to
e053fb2
Compare
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.
Summary
Phase 9 of v2.0-rc1. Completes the milestone:
src/runtime/ui.pyshows anst.warningat the top of the page pointing operators at the React UI. Suppressible viaASR_HIDE_STREAMLIT_DEPRECATION=1; URL viaASR_REACT_URL.dist/ui.pyregenerated (HARD-08).docs/REACT_UI_PARITY.mdfeature-by-feature mapping of every Streamlitrender_*/*_blockfunction to its React counterpart. 21 features at full parity, 3 at partial (hypothesis trail dedicated view, retry preview JSON, agent prompt expander — all with working React substitutes, dedicated views scheduled for v2.1), 2 deferred (keyboard shortcuts, dark theme).Verdict: React UI clears the v2.0.0-rc1 ship gate.
Stacked PRs
Based on #36 (Phase 8). After #36 merges, this PR will retarget to
main.Once this merges, the v2.0.0-rc1 git tag goes on
main(docs/RELEASE.md§ "Cut a release candidate").Verification
uv run ruff check src/runtime/ui.pycleanstreamlit run src/runtime/ui.py→ banner visible at top;ASR_HIDE_STREAMLIT_DEPRECATION=1 streamlit run ...→ banner suppressed.Test plan
uv run pytest -xstill passesstreamlit run src/runtime/ui.pyshows the bannerv2.0.0-rc1on main after squash-merge🤖 Generated with Claude Code