rbelavadi opened a new pull request, #7043:
URL: https://github.com/apache/texera/pull/7043
### What changes were proposed in this PR?
Extracts the remaining content on the dataset detail page into two new
tabs: Data Card and Versions & Files. Part of #6394; second of three
sub-issues (#6395, Settings, already merged).
- **Versions & Files** — pure relocation. The existing file browser,
version selector, file preview, and upload widget move here unchanged.
- **Data Card**: new read-only overview, two cards:
- Description (moved out of the page header, which previously duplicated
it, the header now shows name/badges/counts only), using the existing
`texera-markdown-description` component's built-in "View more" collapse for
long descriptions.
- Key facts panel: Created date, Last updated (latest version's creation
date, independent of whatever's selected in Versions &
Files), Latest version file name, Selected version size, and Versions
count.
Before: two tabs- Data Card (holding everything: file browser, version
history, uploads, plus a duplicated description in the header) and Settings.
<img width="1915" height="1018" alt="settings_tab_recording"
src="https://github.com/user-attachments/assets/eee5240a-9bc1-493c-8fda-02e2eb2ba759"
/>
After: three tabs- Data Card (read-only overview only), Versions & Files
(file/version management, split out of the old Data
Card tab), and Settings (unchanged).
<img width="1918" height="1019" alt="dataset_detail_tab_layout"
src="https://github.com/user-attachments/assets/7f4e4f58-336b-4a71-8812-28d79dac2489"
/>
### Any related issues, documentation, discussions?
Closes #6942
### How was this PR tested?
Manually tested on UI, since this is primarily a reorganization:
- Confirmed Versions & Files retains all existing functionality (file
browsing, version switching, file preview, upload) unchanged.
- Confirmed description renders correctly in Data Card, including markdown
formatting and the "View more" collapse behavior on long descriptions.
- Confirmed "Last updated" and "Versions" reflect the true latest version
regardless of which version is selected in Versions & Files (verified they
don't shift when switching selected versions there).
- Confirmed the header no longer shows a duplicated description.
- Confirmed the Settings tab, merged separately in #6395, is unaffected by
this change.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.8)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]