Repository navigation
refactor(frontend): extract shared VersionsFilesBrowser component - #8942
Merged
aglinxinyuan merged 1 commit intoOct 10, 2026
Merged
Conversation
…et-detail + model-detail into one shared texera-versions-files-browser component.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8942 +/- ##
============================================
- Coverage 92.59% 92.58% -0.02%
Complexity 5043 5043
============================================
Files 1252 1254 +2
Lines 53583 53537 -46
Branches 6672 6670 -2
============================================
- Hits 49617 49566 -51
- Misses 2319 2321 +2
- Partials 1647 1650 +3
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aglinxinyuan
approved these changes
Oct 10, 2026
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.
What changes were proposed in this PR?
dataset-detailandmodel-detailinto one shared presentational component,texera-versions-files-browser(template, SCSS, toolbar view-state, sider resize, and copy-path logic).<texera-versions-files-browser>with inputs/outputs and keep their own data loading and version-selection logic.isMaximizedandisRightBarCollapsedparent-owned as two-way bindings, sinceisMaximizedalso gates the page header outside the tab; the child reports toggles rather than owning the flags.Any related issues, documentation, discussions?
Closes: #8941
How was this PR tested?
cd frontend && npx ng test --include='**/versions-files-browser.component.spec.ts' --include='**/dataset-detail.component.spec.ts' --include='**/model-detail.component.spec.ts', expect all 231 tests to pass.Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF
🤖 Generated with Claude Code