The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
57763e763bef80a5a162bc7b594a4747852ca11e / Xinyuan Lin <[email protected]>
refactor(frontend): remove dead DatasetDetailComponent code (#8746)

### What changes were proposed in this PR?

Removes dead code from `DatasetDetailComponent` that its template
stopped using during the dataset page's redesigns. **+2/−46 lines.**
There is no behaviour change.

- **Members:** `versionCreatorBaseVersion`, `displayPreciseViewCount` +
`changeViewDisplayStyle()`, and the `formatTime` / `formatSpeed`
aliases. The `format.util` import narrows to `formatCount`.
- **Styles:** `.tag-settings-btn`, `.tag-settings-title`,
`.tag-settings-row` (with its `span` and `::ng-deep .ant-switch` rules),
and `.description-section`.
- **Spec:** the "view flags" case keeps its maximize / right-bar
assertions and drops the three for the removed toggle. It is renamed to
match.

### History

| | |
| --- | --- |
| **Introduced by** | #2413 (2024-02-26), "Introduce Dataset GUI":
`versionCreatorBaseVersion`. #3269 (2025-02-19): the precise-view-count
toggle. #3662 (2025-08-19): the speed/time aliases. #4337 (2026-03-29),
"improve dataset detail page layout": the `.tag-settings-*` and
`.description-section` styles |
| **Usage removed by** | #3296 (2025-03-10):
`versionCreatorBaseVersion`. #4337 (2026-03-29): the view-count toggle.
#6493 (2026-07-27): tag settings moved to a Settings tab. #7043
(2026-07-30): the description moved to the Data Card tab. #8078
(2026-08-31): the speed/time aliases |

Each piece was left behind by a redesign that moved its markup
elsewhere. The oldest has been dead for eighteen months.

### Any related issues, documentation, discussions?

Closes #8745

### How was this PR tested?

No new tests. The kept spec cases cover the remaining members.

>From `frontend/`:

- `npx ng test --watch=false
--include='**/dataset-detail.component.spec.ts'`: 150 tests, all pass.
- `yarn format:ci`: clean.
- `npx ng build`: success.

To re-check:

```
git grep -n -E "versionCreatorBaseVersion|tag-settings|description-section" -- 
frontend   # no hits
```

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

With regards,
GitHub Actions via GitBox

Reply via email to