Skip to content

fix(ui): repair model import advanced controls - #12599

Merged
mudler merged 1 commit into
masterfrom
fix/import-advanced-controls
Oct 10, 2026
Merged

mudler merged 1 commit into
masterfrom
fix/import-advanced-controls

Conversation

@mudler-agent

@mudler-agent mudler-agent commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Move Advanced options directly below the request preview. Adjust now opens, focuses, and scrolls to the controls. Keep automatic backend selection as the default and preserve explicit backend preferences.

Remove duplicate loading spinners from Import and YAML Save. Clarify that source-format recognition does not validate model contents.

Notes for Reviewers

Regression tests failed against the original implementation before passing with the fix. Independently verified:

  • 71 Chromium import browser tests, including desktop/mobile controls and pending submissions.
  • 16 request utility tests.
  • Targeted ESLint, inline-style gate, production UI build, and diff checks.
  • Independent code review passed.

To reproduce from core/http/react-ui, with the existing E2E server configuration:

PLAYWRIGHT_EXTERNAL_SERVER=1 PW_WORKERS=2 npm run test:e2e -- "e2e/import-.*spec.js"
node --test src/utils/tools.test.js
npx eslint src/pages/ImportModel.jsx e2e/import-controls.spec.js e2e/import-flow.spec.js
npm run lint:inline-styles
npm run build

Browser tests mock imports; no models were downloaded. Full repository tests and make build were not run. Copy changes cover English only.

Signed commits

  • Yes, I signed my commits.
  • Documentation updated (docs/content/) for user-facing changes.

Place advanced options before checks and focus them from Adjust.
Use the shared kit busy spinner without a second loading indicator.
Clarify that source recognition checks format, not model contents.

Cover pending submissions, keyboard disclosure, backend preferences,
and source copy with full-page browser regressions.

Assisted-by: Codex:gpt-5
@mudler
mudler merged commit b7d9b93 into master Oct 10, 2026
64 of 72 checks passed
@mudler
mudler deleted the fix/import-advanced-controls branch October 10, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants