Skip to content

fix(schedules): fill available panel height with jobs table - #467

Merged
chriswritescode-dev merged 1 commit into
mainfrom
fix/schedules-panel-full-height
Oct 25, 2026
Merged

chriswritescode-dev merged 1 commit into
mainfrom
fix/schedules-panel-full-height

Conversation

@chriswritescode-dev

@chriswritescode-dev chriswritescode-dev commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • The schedules jobs table container was a column-flex item with min-h-0 but no flex-1, so it sized to its content. When the horizontal scrollbar appeared it stole height from that content-sized box, clipping the last row and adding a spurious vertical scrollbar.
  • The bordered table container now uses flex-1 to fill the available height and owns both scroll axes; the redundant outer overflow-y-auto was removed.
  • Applied to both the repo schedules side panel (RepoSchedulesContent) and the remote server schedules dialog (ServerSchedulesContent), which shared the same layout.

Validation

  • pnpm lint:frontend passes
  • vitest run src/components/schedules: 16 files, 81 tests pass
  • Browser check at 1500x900 on the acme-api Schedules panel: table box spans the full height down to the Jobs/Detail/Runs tab bar, rows render unclipped, no vertical overflow.

Summary by CodeRabbit

  • Bug Fixes
    • Updated repository and server schedule tables so their bordered containers fill the available space and handle scrolling. This keeps the table content accessible within the layout while avoiding a separate vertical scroll area on the outer container.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: af4b9a27-efe8-4a50-9d73-f133253f4de1
Commits

Reviewing files that changed from the base of the PR and between 11a2661 and f12546e.

Files selected for processing: 2
  • frontend/src/components/schedules/RepoSchedulesContent.tsx
  • frontend/src/components/schedules/ServerSchedulesContent.tsx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 3 remain after this review.

Walkthrough

Both schedule views adjust their table container layouts. The bordered table containers fill available space and handle scrolling.

Changes: Schedule table scrolling

Layer / File(s) Summary
Schedule table container layout
frontend/src/components/schedules/RepoSchedulesContent.tsx, frontend/src/components/schedules/ServerSchedulesContent.tsx
The repository schedule view removes vertical scrolling from the outer jobs container and lets the bordered container fill available space. The server schedule view moves top padding to the flex container and makes the bordered table container fill available space and handle scrolling.

Priority: Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: Minimal · up to f1254

The schedule table layout change is ready to merge with no identified material risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: the schedules jobs table now fills the available panel height. It follows the conventional commit format and is specific, short, and free of file lists or vague terms.
Description check Passed The description follows the template's Summary section and gives a clear root cause, the fix, and the affected components. Validation steps are reported. The Type of Change and Checklist sections are …
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description follows the template's Summary section and gives a clear root cause, the fix, and the affected components. Validation steps are reported. The Type of Change and Checklist sections are absent, so the author did not mark the bug fix type or the checklist items (style, types, tests, lint, typecheck). Lint is reported only for lint:frontend, not for the pnpm lint and pnpm typecheck commands the checklist names. The description is mostly complete, so the check passes.

Resolution

Optional: add the Type of Change selection (Bug fix) and mark the checklist items, or state whether pnpm lint and pnpm typecheck were run, since the template names those commands.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@chriswritescode-dev
chriswritescode-dev merged commit 7ec3845 into main Oct 25, 2026
2 checks passed
@chriswritescode-dev
chriswritescode-dev deleted the fix/schedules-panel-full-height branch October 25, 2026 20:44
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.

1 participant