Skip to content

fix(web): let the backup details panel fill the window height - #1152

Merged
ValgulNecron merged 3 commits into
masterfrom
fix/backup-details-panel-height
Nov 28, 2026
Merged

ValgulNecron merged 3 commits into
masterfrom
fix/backup-details-panel-height

Conversation

@ValgulNecron

@ValgulNecron ValgulNecron commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

What

The backup details side panel had a fixed height of 760px (h-[760px] on Drawer.Dialog in web/src/components/backups/BackupDetailDrawer.tsx). On a tall window the panel stopped mid-screen and its body scrolled although there was room; on a window shorter than 760px the Delete/Restore footer fell below the fold.

The override is removed, so the dialog uses the drawer's own full-height default for right placement. The header and footer stay fixed and the body scrolls only when the content does not fit.

Test edit (maintainer sign-off given)

web/e2e/screenshots/slice-3.spec.ts, test zhLZN: Backup Detail Drawer: the capture window is set to 1440x760 so the element capture keeps the 440x760 size design.fig draws the drawer at. Reference image, crop, thresholds and assertions are unchanged.

Design

No design.fig change: the drawer looks the same and only stretches with the window. The 440x760 component in the design is one sample height.

Verification

  • npx tsc --noEmit passes.
  • Mock mode, measured with Playwright: at 2000x1100 the dialog is 440x1100 (was 440x760); at 1280x700 it is 440x700 with the footer visible (was 760, footer off screen).

The drawer dialog had a fixed 760px height, so its body scrolled on tall
windows and its footer fell below the fold on windows shorter than 760px.
Drop the override so the dialog uses the drawer's full-height default.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
The drawer now fills the window height, so the visual-diff capture sizes the
window to the 440x760 frame design.fig draws it at. Reference image,
thresholds and assertions are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f2e51f7 and 72b279b.

Files selected for processing: 3

  • changelog/unreleased/1152-backup-details-panel-height.md
  • web/e2e/screenshots/slice-3.spec.ts
  • web/src/components/backups/BackupDetailDrawer.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron added area: web React dashboard type: fix Bug fix labels Nov 28, 2026 — with Claude
@ValgulNecron ValgulNecron self-assigned this Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

CI Report - 72b279b

run 46163070178 - attempt 1

0 failed - 10 passed - 23 skipped - 14m52s elapsed

Test selection: partial - per-suite table

Coverage

no coverage/* commit statuses found on 72b279b

Changed

Area Files +/-
changelog/ 1 +5/-0
web/ 2 +3/-1

Slowest jobs

Job Duration
e2e web live / amd64 (kind) 12m6s
e2e web live / arm64 (kind) 10m5s
standalone Compose smoke 6m7s
web e2e (mock) 5m37s
build e2e images (arm64) 3m20s

e2e buckets run

multicluster, upgrade

@ValgulNecron
ValgulNecron merged commit 6de909d into master Nov 28, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: web React dashboard type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants