fix(dashboard): the target editor fits the window, in sections (#987) #988

Merged
sharang merged 1 commits from fix/target-edit-modal into main 2026-11-12 10:04:14 +00:00
Owner

Summary

Closes #987.

  • Dialogs: every dialog (.modal-dialog) now stops at the window height and scrolls inside. Its actions stay pinned at the bottom. Before, the target editor was about 1,010px tall: on a 900px window its title and Speichern were out of reach.
  • Target editor ("Prüfobjekt bearbeiten"):
    • 680px wide, in sections: Artefakte, Datei hinzufügen, Von der Prüfung ausgenommen, Projekte.
    • Adding a reference: kind and reference on one line; branch, token and "Hinzufügen" on the next. Before, all five were squeezed into one 480px line, with the kind cut to "Git-F".
    • Stored artifacts: the reference on its own line, wrapping long URLs; the token field fills the row.
    • The project picker reads as a section inside a dialog: no framed box, and its heading styled like the others.
  • File upload (shared with onboarding): the fields fill the width, and the archive password gets its own line, since its label is long.
  • Inline styles in the editor moved into classes.

Checked

In a local run of main (dev mode, demo targets):

  • 1440×900, light mode: title and actions visible, scrolls inside, sections separated.
  • 390×844 (phone), dark mode: fields stack, no horizontal scroll, Save pinned.

Test plan

  • cargo fmt --all --check
  • clippy for the dashboard with --features server and --features web (no default features)
  • dashboard tests (193)

🤖 Generated with Claude Code

## Summary Closes #987. - **Dialogs:** every dialog (`.modal-dialog`) now stops at the window height and scrolls inside. Its actions stay pinned at the bottom. Before, the target editor was about 1,010px tall: on a 900px window its title and **Speichern** were out of reach. - **Target editor ("Prüfobjekt bearbeiten"):** - 680px wide, in sections: Artefakte, Datei hinzufügen, Von der Prüfung ausgenommen, Projekte. - Adding a reference: kind and reference on one line; branch, token and "Hinzufügen" on the next. Before, all five were squeezed into one 480px line, with the kind cut to "Git-F". - Stored artifacts: the reference on its own line, wrapping long URLs; the token field fills the row. - The project picker reads as a section inside a dialog: no framed box, and its heading styled like the others. - **File upload (shared with onboarding):** the fields fill the width, and the archive password gets its own line, since its label is long. - Inline styles in the editor moved into classes. ## Checked In a local run of main (dev mode, demo targets): - 1440×900, light mode: title and actions visible, scrolls inside, sections separated. - 390×844 (phone), dark mode: fields stack, no horizontal scroll, Save pinned. ## Test plan - [x] `cargo fmt --all --check` - [x] clippy for the dashboard with `--features server` and `--features web` (no default features) - [x] dashboard tests (193) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-11-12 09:42:57 +00:00
fix(dashboard): the target editor fits the window, in sections (#987)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m42s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 20m49s
693e2a788f
The "Prüfobjekt bearbeiten" dialog was taller than a laptop window and
could not scroll, so its title and Save were out of reach; at 480px its
add-reference row squeezed five controls into one line.

Dialogs now stop at the window height and scroll, with the actions
pinned at the bottom. The target editor is 680px wide and split into
sections (artefacts, add a file, exclusions, projects); adding a
reference puts kind and reference on one line and branch, token and the
button on the next; the upload's archive password gets its own line;
the project picker reads as a section inside a dialog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang merged commit 867453b63e into main 2026-11-12 10:04:14 +00:00
Sign in to join this conversation.