Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a0bca5a5c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| <MenuBar menus={menus.map((menu) => ({ | ||
| ...menu, items: menu.items.filter((item) => item === "separator" || !item.desktopOnly), | ||
| }))} /> |
There was a problem hiding this comment.
Keep mobile menu popups inside the viewport
On the documented 375px phone layout, placing the complete four-menu bar at the right edge causes its popups to extend off-screen. MenuBar still anchors every 248px-wide popup with absolute left-0 at the triggering button (TitleBar.tsx:283), so even the File popup is clipped and the View/Help popups are almost entirely outside the viewport; the page's hidden overflow prevents users from reaching the obscured actions. The mobile rendering needs viewport-aware alignment or a compact overflow menu.
Useful? React with 👍 / 👎.
| </Section>} | ||
|
|
||
| <Section title="Keyboard shortcuts"> | ||
| {!platform.mobile && <Section title="Keyboard shortcuts"> |
There was a problem hiding this comment.
Hide or restore the mobile keyboard-shortcuts destination
On mobile, Help → Keyboard shortcuts still opens Settings, but this condition removes the entire Keyboard shortcuts section, so the named command displays unrelated appearance and diagnostics controls instead of its requested content. Either mark that Help item as desktopOnly when constructing the mobile menus or keep an appropriate shortcuts section available.
Useful? React with 👍 / 👎.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
5a0bca5 to
38f65c9
Compare
M1: one native-backed platform module and feature flags adapt the shared React UI for Android/iOS. Host-only Git/worktree/editor/provider/file-drop controls are hidden; mobile startup stays disconnected until S2/S4. The shared sidebar becomes a modal drawer, panels/dialogs become sheets, and the composer uses visible-viewport sizing, safe-area insets and 44px touch controls. Desktop still renders the same components. M0 is #381; both target feat/mobile, never main or feat/desktop-app.
Verified on Windows/Edge headless: tests/render.html?demo at 1280×800 matches the unchanged desktop pixels except the fixture's variable render-time counter. Android and iOS fixture modes at 375×812: no page overflow, drawers open/close, Goal/Changes fill the viewport, visible buttons meet 44×44, Settings fills the viewport, composer remains visible at simulated 375×450 keyboard space. No browser errors. Evidence is in the task worktree's apps/desktop/target/mobile-preview/.
Checks: native cargo fmt --check, cargo clippy --locked --all-targets -- -D warnings, cargo test --locked (31 passed); UI pnpm typecheck, pnpm test (35 passed), pnpm build, pnpm check:version (0.1.8); cargo xtask check --base feat/mobile passed. Existing native dependency warnings and >500 kB bundle warning remain (JS 704.51 kB, gzip 216.36 kB).
Not tested: emulator, physical Android/iOS device, real software keyboards or notch safe areas. M2 native command exclusion/build scaffolding is separate; UI flags are not a native security boundary. No engine/protocol changes are included or needed for M1. Maintainers must merge ADR-0015/S2 and S4 TLS before pairing/remote use; no loopback token or HTTP remote workaround is added.
Open questions for maintainers: