Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 25, 2026, 8:57 PM ET / September 26, 2026, 00:57 UTC (Revision 2). ClawSweeper reviewWhat this changesIn CodexBar’s macOS Menu Bar settings, the branch extracts the size, gap, and vertical controls into a separate row, removes the duplicate Delete hint from 23 localizations, and updates tests and UI documentation. Merge readiness✅ Ready for maintainer review Keep open. The redundant instruction remains on current main and in v0.67.0. This owner-authored PR is a viable cleanup with direct visual evidence and no verified blocking defect. Priority: P3 Review scores
Verification
How this fits togetherThe macOS Menu Bar settings pane hosts the layout editor, which reads and writes saved size, gap, and vertical-adjustment choices. Those choices feed menu-bar rendering, while the settings section supplies token-editing guidance. flowchart LR
A[Saved layout choices] --> B[Menu Bar settings]
B --> C[Layout editor]
C --> D[Display options row]
D --> E[Updated choices]
E --> F[Menu-bar rendering]
B --> G[Editing guidance footer]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: The shipped editor should have one compact options row, a single Delete instruction in the footer, unchanged saved-setting behavior, and clear credit for the earlier contribution. Do we have a high-confidence way to reproduce the issue? Yes, from source and the before captures: current main shows Delete guidance in both the options row and section footer. This review did not run the current-main app. Is this the best way to solve the issue? Yes. The extraction keeps the existing preference bindings and stepper limits while removing the redundant instruction from the row. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e953c92568e8. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Hey @steipete, I noticed this has happened with a few of my recent PRs, whereas previously they were usually merged directly. Is there a reason for moving the changes into a new PR and adding me as a co-author instead of the main author? |
Extract the existing size, gap, and vertical-adjustment controls from the layout editor. Remove duplicated Delete guidance while preserving the section footer, bindings, picker labels, and stepper range. Adopt #3999 with accessibility coverage and synthetic light/dark renders. Co-authored-by: Elijah Friedman <efriedman810@gmail.com>
ed5e521 to
2995648
Compare
|
Fair question, @elijahfriedman, and you're right to push on it. The recent wave of triage adapted contributor PRs into maintainer branches so extra tests, changelog lines, and the architecture-anchor updates could be added in one go, with credit kept via co-author trailers and changelog thanks. That's still worse for you than a direct merge, and it isn't what this repo's own rule says (fix the contributor's PR, then merge it). So I'm reversing course here: your #3999 stays the PR that lands. I'll push the small additions (the extra render test, a doc line, the changelog entry, and the anchor refresh after merging main) as separate commits onto your branch, since it allows maintainer edits, and merge #3999 with your commits and authorship intact; #4007 will be closed as superseded. Going forward, PRs that allow maintainer edits get fixed in place and merged as yours; a new PR only happens when a rewrite is genuinely needed, and then with your credit. Thanks for the patience and for the contributions. |
|
Superseded: the contributor's own PR #3999 was merged in place with maintainer additions pushed to their branch, so this duplicate is closed. |
The menu-bar layout editor repeated its Delete-key instructions beside the size, gap, and vertical controls and again in the section footer. Extract the existing controls into
MenuBarLayoutDisplayOptionsand remove the duplicate row hint and its 23 translations. The footer keeps the editing instructions; picker labels, settings bindings, deletion behavior, and the stepper range remain unchanged.Adopts #3999 with credit to @elijahfriedman. Accessibility checks cover all four size/gap combinations and retained footer guidance. The synthetic settings proof now covers light and dark appearances with dictionary-backed defaults.
Verification
All Swift runs used
CODEXBAR_SUPPRESS_TEST_KEYCHAIN_ACCESS=1,CODEXBAR_TEST_CODEX_FILE_ISOLATION=1, andCODEXBAR_TEST_SESSION_FILE_ISOLATION=1. The final run also setCODEXBAR_LAYOUT_OPTIONS_SCREENSHOT_DIRandCODEXBAR_LAYOUT_OVERRIDE_SCREENSHOT_DIRto the proof output directory.swift test --jobs 2 --filter MenuBarLayoutDisplayOptionsTests: before removing the duplicate hint, the accessibility regression failed once; the other two tests passed. The controls had only been mechanically extracted at that point.swift test --jobs 2 --filter 'MenuBarLayout|ProviderSettingsDescriptorTests|ProviderArchitectureGatekeeperTests|MenuLayoutScreenshotRenderTests/test_renderLayoutOverrideDisclosureProof': 300 Swift Testing tests and 1 XCTest render test passed, zero failures. The same accessibility regression passed.make check: passed, zero lint violations in 2661 files.Inspected the complete synthetic before/after editor captures and the 480/520-point options renders. No running app, real accounts, or saved user settings were used. Production diff: 51 insertions / 65 deletions, net −14 lines.
Synthetic settings proof
Closes #3999
Refs #3973
Refs #3971