Skip to content

Frame selected geometry across desktop and MCP views - #8

Merged
Rareuncommon merged 3 commits into
claude/amazing-fermat-of9um6from
codex/zoom-to-selection
Oct 2, 2026
Merged

Rareuncommon merged 3 commits into
claude/amazing-fermat-of9um6from
codex/zoom-to-selection

Conversation

@Rareuncommon

@Rareuncommon Rareuncommon commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Selecting a face or sketch entity previously offered only whole-scene fit. Add Zoom to Selection across macOS, Windows and GTK menus/viewport controls/body context actions, preserving orientation, projection and Previous View history. Empty or fully excluded selections leave the view unchanged.

The read-only view.zoom_to_selection command and MCP zoom_to_selection return explicit union bounds and a reusable validated camera. Body subshapes use tight kernel bounds, sketches use placed display polylines, and point selections have a 1 mm minimum framing box. Returned cameras work with rendering and picking, including perspective views with distant unrelated geometry. Malformed/stale references fail explicitly. Rectangle Zoom to Area remains pending.

The camera-input review fix invalidates framing synchronously before native orbit/pan/wheel/pinch/rotate/double-fit gestures. Queued selection fits also carry their request generation and both viewport consumers reject stale fits. Deterministic regressions cover deferred camera publication while the engine request is pending and a gesture after framing has queued but before viewport consumption.

Updated to the current default branch, preserving the already merged angle feature (#6) and packaging portability (#7), both MCP workflows and all progress records. The only merge conflicts were overlapping progress entries and adjacent MCP test additions.

Local validation: native macOS build, four focused framing workflow tests including both race regressions, seven MCP subprocess workflows, three packaging regressions, shared Windows/Linux frontend type-check, feature-matrix synchronization and whitespace checks. No live desktop app windows launched.

Exact-head CI passed all four jobs (macOS app, Linux headless, CachyOS and Windows native build/runtime) on 6fc267adadf759d27625f9dd1dfcc106c52281b0: https://github.com/Rareuncommon/Forge/actions/runs/37009770661.

@Rareuncommon

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T12:37:01.674709Z da8eab8 Draft marked ready
🔒 Security Review ✅ Completed 2026-10-02T12:41:24.308304Z da8eab8 Draft marked ready
ℹ️ 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.

@Rareuncommon
Rareuncommon marked this pull request as ready for review October 2, 2026 12:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: da8eab871a

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/ForgeUI/AppModel.swift Resolved
@Rareuncommon
Rareuncommon merged commit edfcc22 into claude/amazing-fermat-of9um6 Oct 2, 2026
8 checks passed
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