Skip to content

fix(admin): line up the security limit inputs and keep IDs on one line - #993

Merged
Brooooooklyn merged 1 commit into
mainfrom
fix/admin-security-limit-fields
Dec 1, 2026
Merged

Brooooooklyn merged 1 commit into
mainfrom
fix/admin-security-limit-fields

Conversation

@Brooooooklyn

Copy link
Copy Markdown
Member

Two layout problems on the admin Security page:

Before After
"Timeout (minutes) · Required" wraps, so the Timeout input sits 20 px lower than "Scans at once" Label "Timeout", with the unit inside the input ("60 minutes"). Both inputs are 200 px wide and line up
Finding IDs and project slugs break across lines ("F-" / "3", "sa-" / "callcap-" / "55118") IDs and slugs stay on one line, and the long Title column wraps instead
  • FormNumberInput gets an optional units prop, passed to the design-system NumberInput.
  • A new void-admin-nowrap class follows the existing void-admin-date-time pattern: the cell gets no max width and doesn't wrap.
  • On a phone (390 px) the two inputs stack, as before.

Tests: a new browser test in admin-security.test.ts opens the Settings, Findings and Public requests tabs at 1280 and 390 px. It checks that both inputs share a row on desktop and that the ID and slug each render on one line. It fails without the fix (20 px offset). vp check passes, and admin-security + admin-dashboard pass (132).

🤖 Generated with Claude Code

- "Timeout (minutes)" wrapped onto two lines, so its input sat lower than
  "Scans at once". The label is now "Timeout", and the input shows
  "minutes" as its unit.
- Finding IDs (F-3) and project slugs no longer break across lines in the
  Findings, Scans, Public requests and Bypasses tables.
- A browser test opens each Security tab and checks both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T09:26:15.334574Z 8b73610 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-admin-security-limit-fields-void-cloud.voidzero-docs.workers.dev (commit 8b73610)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://419d4146-void-cloud.voidzero-docs.workers.dev 8b73610 2026-12-01T09:26:16.163Z Visit the dashboard ↗

@blacksmith-sh

This comment has been minimized.

@Brooooooklyn
Brooooooklyn merged commit 7aad82a into main Dec 1, 2026
28 of 29 checks passed
@Brooooooklyn
Brooooooklyn deleted the fix/admin-security-limit-fields branch December 1, 2026 09:41
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