aglinxinyuan opened a new pull request, #9376:
URL: https://github.com/apache/texera/pull/9376
### What changes were proposed in this PR?
Dataset and Model creation repeat the same form markup and styling. Share
their Formly template and reuse Sass mixins across both creators and the
contributor editor, removing 107 net lines. Preserve live model bindings,
version-mode visibility, loading behavior, and each form’s selectors, margins,
and hover colors.
### Any related issues, documentation, discussions?
Closes #9374.
### How was this PR tested?
- All 37 existing creator/contributor tests pass before and after. The
original cases and outcomes match.
- Compared 24 rendered states, six completion flows, and two model
replacements. All match. Swapping the visibility binding fails the render check.
- All six expanded/compressed Sass outputs match byte for byte.
- Full frontend formatting/lint and 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)
--
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]