Skip to content

fix(quick-open): compact Cmd+P file rows - #13454

Merged
nwparker merged 2 commits into
stablyai:mainfrom
nwparker:nwparker/cmd-p-less-fat-grinning-face-with-big-eyes
Aug 10, 2026
Merged

nwparker merged 2 commits into
stablyai:mainfrom
nwparker:nwparker/cmd-p-less-fat-grinning-face-with-big-eyes

Conversation

@nwparker

@nwparker nwparker commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Cut Cmd+P Quick Open file rows from about 56px to 28px by removing inherited dialog padding and tightening the row padding.
  • Reduce the search-input wrapper from about 56px to 45px while preserving its icon and text spacing.
  • Add real-Electron height assertions so both compact dimensions do not regress.

Screenshots

Overall density

Before — 55.6px rows After — 27.9px rows and 44.9px input
Before: tall Cmd+P file rows After: compact Cmd+P file rows and search input

Search input follow-up

Before — 55.8px input After — 44.9px input
Before: tall Cmd+P search input After: compact Cmd+P search input

Testing

  • pnpm lint — targeted oxlint passed for both changed files
  • pnpm typecheck
  • pnpm test — focused real-Electron E2E passed
  • pnpm build — electron-vite build --mode e2e passed
  • Added or updated high-quality tests that would catch regressions

Focused test: SKIP_BUILD=1 pnpm run test:e2e tests/e2e/quick-open-file-paths.spec.ts

AI Review Report

Reviewed the input and item padding cascade, command-item selection behavior, tooltip trigger structure, and the Cmd+P keyboard flow. The dialog's higher-specificity descendant sizing was the source of the oversized controls; both overrides are scoped to Quick Open, leaving other command surfaces unchanged. Verified that the change only affects layout and introduces no macOS, Linux, Windows, SSH, folder-workspace, path, shell, or Electron platform behavior differences.

Security Audit

UI-only class changes and a DOM measurement assertion. No input handling, command execution, path handling, authentication, secrets, dependencies, IPC, or remote-wire behavior changed.

Notes

Heights were measured in the real Electron app with ten representative results. All ten fit in the after-state without scrolling.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Quick-open styling now sets an explicit input height and vertical padding. Command items use zero padding, and file rows use reduced vertical padding. The E2E test verifies that the input wrapper does not exceed 45px and that each result row does not exceed 29px.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title clearly identifies the main change: compacting Cmd+P Quick Open file rows.
Description check ✅ Passed The description covers the required summary, screenshots, testing, AI review, security audit, and notes sections with relevant details.

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

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

@nwparker
nwparker merged commit 4cca31f into stablyai:main Aug 10, 2026
47 checks passed
@nwparker
nwparker deleted the nwparker/cmd-p-less-fat-grinning-face-with-big-eyes branch August 10, 2026 04:21
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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