Skip to content

Web view: status cards, a rail for everything else and desktop-sized controls - #319

Merged
yourconscience merged 9 commits into
mainfrom
view-look
Nov 21, 2026
Merged

yourconscience merged 9 commits into
mainfrom
view-look

Conversation

@yourconscience

@yourconscience yourconscience commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

What and why

The Overview page on a wide window was one 630 px column of bare text against the left edge: no grouping, phone-sized buttons, and a filled Run now on every row. This is a first pass at making it look like something you want to open. Draft: the look is a matter of taste, so it waits for a decision.

  • Wide screens (1100 px and up): a centred 1160 px container, cards in the main column and "Everything else" in a side rail, so the healthy part is visible without scrolling. Narrower: one column, as before.
  • Failing and attention items are cards with a status icon in a tinted disc, the host as a quiet tag, the reason in body colour and the schedule in muted text.
  • Section headers carry a count: "Failing 2", "Needs attention 4", on Overview and Crons.
  • One filled button per screen. Run now, Resume, the in-card Sync, Add cron and Save are tonal; the sidebar Sync and a sheet's own action stay filled.
  • Controls are 36 px tall with a mouse from 900 px, and stay 44 px on touch and on narrow screens.
  • The job sheet lists its facts as a two-column grid, which fits one screen at 1440x900.

No wording, behavior or Go change in the redesign commit. The branch also contains #318 (merged in, so the busy labels could be checked with the new buttons); it shrinks to the redesign once that one lands.

Still dated and left alone: Skills' attention label, the hairline rows on Roles, MCP & hooks and Unmanaged, and the Outside sources block. Docs and the site do not show this page, so nothing there changes.

How I checked it

The same throwaway view as in #318 (fake launchctl, ssh, crontab, fixture jobs in every state, a second fake machine), in a browser:

  • Overview at 1440 and 1920 px dark, 1440 px light, 390 px dark and light; Crons, Skills, Roles, MCP & hooks and Config at 1440 and 390 px; the job sheet, the Sync dialog and the phone menu.
  • No sideways scroll at 390 px on any view (scrollWidth equals clientWidth), body text 16 px, smallest button 44 px.
  • With the fix merged in: a clicked Run now reads "Starting…" in the tonal style and only that card's buttons are off.
  • Contrast of the new pairs, light / dark: tonal button 5.51 / 7.29, fail count on its tint 4.83 / 6.86, warn count 5.11 / 7.87, tag and meta on the card 7.13 / 7.41.

gofmt -l, go build ./..., go vet ./..., go test -count=1 ./... and node --check internal/app/web/app.js pass. No test changed.

Not checked: the all-clear page with real data (only simulated in the page), and a real install with many harnesses.

  • go test ./... and go vet ./... pass
  • I can explain this change without an AI tool

Summary by Sourcery

Redesign the web view to make status information easier to scan and actions more comfortable across desktop and mobile screens.

New Features:

  • Refresh the web view layout with a centred desktop container, an Overview side rail, status cards, and grouped sections with item counts.
  • Add clearer status presentation for failing and attention items, including severity markers, host tags, and structured job details.
  • Adapt controls and job sheets for desktop and touch layouts with responsive sizing and two-column facts.

Enhancements:

  • Make primary actions tonal within page content while retaining a single filled action per screen.
  • Present cron hosts and secondary content as grouped panels for improved scanning.

Documentation:

  • Document the redesigned web view layout and responsive control sizing in the upgrade guide.

Summary by CodeRabbit

  • User Interface
    • Overview and scheduled-job sections now use consistent card layouts with status indicators.
    • Overview content can display in split columns when warnings or failures are present.
    • Scheduled-job headings show the job name and host.
    • Desktop layouts have updated spacing and reading widths, with a wider Overview panel on larger screens.
    • Controls and cards use more consistent sizing, corner shapes, and background colors.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The Overview and Crons views now show counted status groups as cards. The stylesheet updates shared controls and panels, and adjusts desktop content widths and responsive Overview columns.

Changes: Web view presentation

Layer / File(s) Summary
Shared control and surface styles
internal/app/web/style.css
Shared tokens set control heights and corner radii. Buttons, inputs, filters, navigation links, host groups, and other panels use updated sizing, spacing, and surfaces.
Counted status cards
internal/app/web/app.js, internal/app/web/style.css
Overview and Crons use counted group headings and status-marked cards. Cron headings show the job name, an accessible “on” label, and the host in a tag.
Desktop content layout
internal/app/web/style.css
Desktop content uses a centered 1160px view and reading-width limits. The Overview uses responsive split columns from 1100px, with a wider rail from 1280px.

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

Change: Feature

Possibly related PRs

Suggested reviewers: sourcery-ai

Merge Risk: Low · up to e0834

This is a visual redesign of the Overview and Crons views. A very long remote hostname on a cron card could cause sideways scrolling on phone-width screens. It is cosmetic and easy to fix, so the PR is mergeable with minor follow-up.

- [ ] 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

@sourcery-ai

sourcery-ai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

UI

Redesign the Overview and Crons status groups as counted, status-marked cards, and adjust the responsive layout, panels, controls, and job-sheet styling to support the new visual hierarchy.

  • internal/app/web/app.js L456-469, L638-641 (+2 small edits)
  • internal/app/web/style.css L105-129, L139-151, L403-417 (+17 small edits)

Documentation

Document the web-view redesign and its responsive Overview layout, status cards, counts, and desktop control sizing in the upgrade notes.

  • docs/upgrading.md L9

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@yourconscience
yourconscience marked this pull request as ready for review November 21, 2026 13:12
@sourcery-ai

sourcery-ai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 2 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sourcery assessment

Approved.

@yourconscience
yourconscience merged commit dfe3503 into main Nov 21, 2026
10 checks passed
@yourconscience yourconscience mentioned this pull request Nov 21, 2026
2 tasks done
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