The GitHub Actions job "Backport Approval Check" on texera.git/gh-readonly-queue/main/pr-9376-01cfd253bfbe8c04b39181f7f81c3f0e967bf273 has succeeded. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 99c5ba3a25e04fe77472fa8a82fca365fc0f723d / Xinyuan Lin <[email protected]> refactor(frontend): share resource creation forms (#9376) ### What changes were proposed in this PR? Dataset and Model creation repeat the same form markup and styling. Both creators now render a new `texera-resource-creator-form` component, which holds the Formly fields, the visibility and downloadability switches, and the Create and Cancel buttons. Each creator passes in its form, model and flags and handles the component's events. The component and the contributor editor share one Sass mixin for the form width and the button styles, removing 67 net lines. The rendered controls behave as before, and the version creator still hides the switches. The one visible change: the model creator's Create button now hovers in the dataset creator's `#0062cc` instead of `#0069d9`. ### Any related issues, documentation, discussions? Closes #9374. ### How was this PR tested? - The 37 existing creator and contributor-editor tests pass before and after, with the same names in the same order. They drive the new component through each creator's rendered buttons and switches, including the version mode without switches. - Compiled each stylesheet with Sass and compared it with main: the contributor editor's CSS is identical, the dataset creator's matches the new component's apart from the two renamed classes, and the model creator's differs only in that hover color. - Full frontend formatting/lint and the application AOT build pass. ```sh cd frontend node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng.js test gui --watch=false --progress=false \ --include src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-version-creator/user-dataset-version-creator.component.spec.ts \ --include src/app/dashboard/component/user/user-model/user-model-creator/user-model-creator.component.spec.ts \ --include src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-contributor-editor/user-dataset-contributor-editor.component.spec.ts node .yarn/releases/yarn-4.14.1.cjs run format:ci node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng.js build gui --aot=true --progress=false ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6) and Claude Code (Claude Opus 5.5) Report URL: https://github.com/apache/texera/actions/runs/42745430742 With regards, GitHub Actions via GitBox
