* fix(studio): align config cards, dynamic height for expanders, LoRA collapsible * Fix clipping regressions in training, dataset, and params section cards - training-section: Add hasMessage conditional so the card expands (min-h) when startError, vision/audio incompatibility, or config validation messages are present instead of always using fixed height - dataset-section: Expand card when a local dataset is selected via upload (datasetSource === "upload" && selectedLocalDataset), not only when the Advanced panel is open - params-section: Guard loraOpen behind isLora so switching to full fine-tune collapses the card instead of staying expanded from stale React useState * Fix dataset card clipping for direct file uploads Use uploadedFile instead of selectedLocalDataset in the card height condition. selectedLocalDataset is derived from localDatasets.find() which only resolves for Data Recipe entries, not direct file uploads (.jsonl, .csv, .parquet, .arrow). The card already renders the Eval Dataset panel based on uploadedFile (line 750), so the height gate should match. --------- Co-authored-by: Daniel Han <danielhanchen@gmail.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| .gitkeep | ||
| biome.json | ||
| components.json | ||
| data-designer.openapi (1).yaml | ||
| eslint.config.js | ||
| index.html | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||