The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-9522-f030df12b73c2c6a8f2e8b325c6e762d54fead7f
 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
941051bf2a94237bc312e7ebe63f747a0c5f0403 / Xinyuan Lin <[email protected]>
refactor(frontend): share dataset and model resource UI (#9522)

### What changes were proposed in this PR?

Extracts shared stylesheets, Settings-tab cards, overview statistics
projection, Formly field builders, upload-tuning loaders, and test
fixtures across dataset and model management UI components with no
user-facing behavior change:

| Area | Shared abstraction | Consumers |
| --- | --- | --- |
| Detail layout & cards | `_resource-detail-shared.scss`,
`overviewStatistics` (`@for`), single-icon binding &
`createFiletreeFixture` | Dataset detail, model detail, versions
browser, filetree |
| Settings tab | `ResourceDetailSettingsComponent`
(`div[texeraResourceDetailSettings]`) | Dataset detail Settings, model
detail Settings |
| Creator & contributor forms | `resourceNameAndDescriptionFields`,
`contributorInput`, `createFormlyModalFixture` | Dataset creator, model
creator, contributor editor |
| Version uploader | Table-driven `loadUploadSettings`, shared
`stageFile`/`mount`/`expectAbortRequest` test helpers | Version uploader
& spec |

### Any related issues, documentation, discussions?

Closes #9520.

### How was this PR tested?

Ran in `frontend/` on `63e9447924`:

- `yarn format:ci` — passed
- `yarn tsc --noEmit -p src/tsconfig.app.json` — passed
- `yarn tsc --noEmit -p src/tsconfig.spec.json` — passed
- `yarn test:ci` — `254 passed (254)` files, `7290 passed | 1 skipped
(7291)` tests
- `yarn ng run gui:test-browser --watch=false --progress=false` — `3
passed (3)` files, `23 passed (23)` tests in Chromium
- `yarn build:ci --skip-nx-cache` — production build succeeded
- Review-round follow-up (`8bfb77b1e6`): `prettier-eslint`, `eslint`,
`tsc` (app + spec), and `ng test` across `dataset-detail`,
`model-detail`, and `versions-files-browser` (`231/231` passed)
- **Playwright Chromium (`1280x980`) against `ng serve` with stubbed
`/api/**`**: navigated to `/user/dataset/1` (`Data Card`, `Versions &
Files`, `Settings`) and `/user/model/1` (`Model Card`, `Settings`)
before and after refactoring to verify identical layout and controls.

#### Visual comparison (`1280x980` desktop)

| View | Before (`main`) | After (this PR) |
| --- | --- | --- |
| Dataset Data Card | ![Before dataset
overview](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/before-dataset-overview.png)
| ![After dataset
overview](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/after-dataset-overview.png)
|
| Dataset Versions & Files | ![Before dataset
versions](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/before-dataset-versions.png)
| ![After dataset
versions](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/after-dataset-versions.png)
|
| Dataset Settings | ![Before dataset
settings](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/before-dataset-settings.png)
| ![After dataset
settings](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/after-dataset-settings.png)
|
| Model Card | ![Before model
overview](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/before-model-overview.png)
| ![After model
overview](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/after-model-overview.png)
|
| Model Settings | ![Before model
settings](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/before-model-settings.png)
| ![After model
settings](https://raw.githubusercontent.com/aglinxinyuan/texera/778af1ef1b63167c10a9f875d939a3fec73ecc39/after-model-settings.png)
|

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Antigravity IDE (Gemini 3.8 Flash)

Report URL: https://github.com/apache/texera/actions/runs/44983528353

With regards,
GitHub Actions via GitBox

Reply via email to