Repository navigation
Conversation
|
@loopyreviews-bot review |
Loopy reviewConfidence: 4/5 — Only P2 findings are open. Reviewed 5 of 37 changed files, skipping 1 ignored file(s). This PR adds full Windows compatibility to the Mantis GPUI/Rust workspace alongside governance and CI scaffolding. It introduces cross-platform paths and Windows-specific implementations for CLI discovery, local-day/CPU-time, PDF rendering, snapshot capture and keybindings, plus the
Open findings (2)
Review passes: 4 ran (general, failure-paths, authorization, data-integrity) · 47 unit and lens pair(s) carried over from earlier reviews · 2 planned unit and lens pair(s) left out by the budget. Reviews: 17 · last reviewed |
|
Fixed all 15 Loopy review #2 findings and bumped CI check timeout to 90m. @loopyreviews-bot review |
|
Fixed all 13 Loopy review #3 findings. @loopyreviews-bot review |
… split, menus/popovers)
|
Addressed all 9 review findings from review #4 in \ |
… selection/IME/caret, harness cmd/stderr, popover/menu/button)
|
Fixed all 7 P2 findings from review #9 in \ |
|
@loopyreviews-bot review |
1 similar comment
|
@loopyreviews-bot review |
| if let Some(icon) = self.icon { | ||
| d = d.child(Icon::new(icon).size(px(13.)).color(fg)); | ||
| } else if self.checked { | ||
| d = d.child(Icon::new("check").size(px(13.)).color(fg)); | ||
| } |
There was a problem hiding this comment.
·
api-contract · Selected radio item loses checkmark with icon
In MenuItem::render, the checked checkmark is in an else if branch, so any item that also sets icon never shows its selected state. A caller building MenuContent::radio_group(Some(i), items) with MenuItem::radio(..).icon(..) items therefore gets a menu with no visible selection; render the checkmark alongside the icon instead of replacing it.
Trace
vendor/mantis-ui/src/components.rs:2500changedcheckedvendor/mantis-ui/src/components.rs:2581readschosen
Prompt for AI agents
In ZOGWORK/mantis PR #2, file vendor/mantis-ui/src/components.rs lines 2498-2502:
Selected radio item loses checkmark with icon. In `MenuItem::render`, the `checked` checkmark is in an `else if` branch, so any item that also sets `icon` never shows its selected state. A caller building `MenuContent::radio_group(Some(i), items)` with `MenuItem::radio(..).icon(..)` items therefore gets a menu with no visible selection; render the checkmark alongside the icon instead of replacing it.
Trace: vendor/mantis-ui/src/components.rs:2500 (changed) -> vendor/mantis-ui/src/components.rs:2581 (reads).
Verify this is a real problem; if so, fix it with a minimal change and add a regression test.
| match handle_common_key(&mut self.buf, &mut self.value, false, ks, cx) { | ||
| CommonKeyResult::Moved => { | ||
| cx.notify(); | ||
| return; | ||
| } |
There was a problem hiding this comment.
·
ux · Keyboard caret leaves visible textarea area
In a Textarea with max_height set (e.g. the 200px chat composer), pressing Home then Down repeatedly, or Up from the bottom, moves buf.cursor via handle_common_key but the Moved path only calls cx.notify(); maybe_scroll_end is invoked only on edits and only scrolls when the cursor is at the very end of the text. The caret therefore moves lines beyond the overflow_y_scroll viewport and stays invisible until the user scrolls manually or types at the document end.
Trace
vendor/mantis-ui/src/input.rs:1188changedCommonKeyResult::Movedvendor/mantis-ui/src/input.rs:1168defectmaybe_scroll_endvendor/mantis-ui/src/input.rs:1436defectmax_height
Prompt for AI agents
In ZOGWORK/mantis PR #2, file vendor/mantis-ui/src/input.rs lines 1187-1191:
Keyboard caret leaves visible textarea area. In a `Textarea` with `max_height` set (e.g. the 200px chat composer), pressing Home then Down repeatedly, or Up from the bottom, moves `buf.cursor` via `handle_common_key` but the `Moved` path only calls `cx.notify()`; `maybe_scroll_end` is invoked only on edits and only scrolls when the cursor is at the very end of the text. The caret therefore moves lines beyond the `overflow_y_scroll` viewport and stays invisible until the user scrolls manually or types at the document end.
Trace: vendor/mantis-ui/src/input.rs:1188 (changed) -> vendor/mantis-ui/src/input.rs:1168 (defect) -> vendor/mantis-ui/src/input.rs:1436 (defect).
Verify this is a real problem; if so, fix it with a minimal change and add a regression test.
…dle scripts (#3) * chore: add AGENTS.md, PR template, and CI workflow for ZOGWORK/mantis * feat: full Windows compatibility, mantis-ui compat crate, shots & bundle scripts * fix: address all Loopy findings, ChatText layout, and CI formatting * fix: address all 15 Loopy review #2 findings and CI timeout * fix: address all 13 Loopy review #3 findings * fix: address Loopy review #4 (npm shim, IME/cursor editing, resizable split, menus/popovers) * fix: address all 12 Loopy review #5 findings (scroll threshold, input selection/IME/caret, harness cmd/stderr, popover/menu/button) * fix: address all 8 P2 findings from Loopy review #6 * fix: address all 5 P2 findings from Loopy review #7 * fix: address all 8 P2 findings from Loopy review #8 * fix: address all 7 P2 findings from Loopy review #9 * fix: address all 4 findings from Loopy review #11 * fix: address all 3 P2 findings from Loopy review #12 * fix: address all 3 P2 findings from Loopy review #13 * fix: address all 5 findings from Loopy review #14 * fix: address all 3 P2 findings from Loopy review #15 * fix: address all 4 P2 findings on PR #3 (fmt scope, CMake discovery, shot env cleanup, modal occlude) * fix: address all 5 P2 findings from PR #3 review #3 * fix: snap slider endpoints across unaligned steps and isolate CI concurrency group * fix: use per-PR concurrency group in CI workflow * fix: address all 5 P2 findings on bundle.ps1 and shots.ps1 * fix: harden atomic staging, lock, and temp capture in bundle.ps1 and shots.ps1 * fix: address all 6 rollback, lock, subdir, and bounded-wait findings in bundle.ps1 and shots.ps1 * fix: preserve artifacts and surface cleanup/timeout failures in bundle.ps1 and shots.ps1 * ci: retrigger workflow after enabling fork Actions * fix: validate screenshot extension, use literal paths, and persist orphan PID guard












What and why
Screenshots
Captured with .\scripts\shots.ps1 on Windows:
Tests