8000 feat(canvas): add frame navigation and iOS viewing mode by mmaazrana · Pull Request #705 · doop-design/doop · GitHub
[go: up one dir, main page]

Skip to content

feat(canvas): add frame navigation and iOS viewing mode - #705

Open
mmaazrana wants to merge 4 commits into
doop-design:mainfrom
mmaazrana:feat/frame-navigator
Open

mmaazrana wants to merge 4 commits into
doop-design:mainfrom
mmaazrana:feat/frame-navigator

Conversation

@mmaazrana
@mmaazrana mmaazrana commented Nov 30, 2026 •
Copy link
Copy Markdown
Contributor

Frame navigation

Open Frames to browse titled thumbnails grouped by page. Selecting a frame switches pages when needed and fits the whole artboard between the visible panels. On mobile web, the sheet closes after the jump. The native iOS canvas opens in Viewing mode. People with editing permission can switch to Editing when they want to make changes.

Screenshots

Desktop editor · The selected frame is centered between the navigator and the agent panel. Captured in Chromium using the editor shared by the desktop app and web.

Desktop frame navigator with Hero — Terrarium selected

Mobile web Native iOS navigator
Mobile web Frames sheet with search above the page groups Native Frames list with the current frame checked

The native captures use the production SwiftUI navigator hosted in Mac Catalyst.

Dark appearance and native search

Desktop frame navigator in dark appearance

Mobile web, dark Native, dark Native search
Dark mobile web frame navigator Dark native frame list Searching for plant shows the Plant plan frame

Verification

  • GitHub CI passed on 57f3d9b1. The four Linux shards passed 4,717 tests and skipped two. The web build, typecheck and lint passed. CI run

  • The iOS workflow passed the Blitz bridge, core and connection checks, and built the iPhone and iPad app for the simulator. iOS run

  • Fixed the selection bar obscuring tall frames after a title double-tap. A Swift geometry check reproduced the overlap and verified the corrected centering in all three interaction modes. Greptile finding

  • Exercised signed-out cross-page navigation, keyboard navigation, thumbnail refresh after a style edit, and recovery after repeated renderer throttling.

  • TypeScript, lint, formatting, the production build, Swift core checks, and connection checks passed. The scoped regression run passed 134 tests across 18 suites.

  • The full macOS suite recorded 4,690 passes, 25 skips and four failures. The drag suite passed in isolation. A Linux rerun covered all four cases and passed all 52 tests across five suites.

  • Full iPhone/iPad and packaged desktop smoke tests remain outstanding.


Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@greptile-apps
greptile-apps Bot commented Nov 30, 2026 •
Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; the latest change fixes the selection-bar overlap.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the latest change fixes the selection-bar overlap.

Summary

Adds frame navigation grouped by page, whole-frame thumbnails, and Viewing mode on iOS.

  • Web users can search frame thumbnails and jump across pages.
  • The iOS frame list searches every page and jumps to the chosen artboard.
  • The iOS canvas opens in Viewing and gates actions by mode.

Reviews (3) · Last reviewed commit: "fix(ios): fit the frame after showing it..." · Reviewed by Greptile

Comment thread ios/Doop/Blitz/BlitzCanvasView.swift Resolved
@mmaazrana
Copy link
Copy Markdown
Contributor Author

@greptileai please re-review this PR at 57f3d9b. The iOS camera now selects the frame before fitting it, so the fit accounts for the selection bar. Please check whether this resolves the earlier finding and flag any remaining issues.

ImperialBebek pushed a commit to ImperialBebek/doop that referenced this pull request Nov 30, 2026
… after a font change (doop-design#705)

* fix(panel): keep typed values, alignment on Chrome 158 and edits made after a font change

Three app bugs that showed as flaky elementPanelBrowser tests:

- Chrome 158 computes flex-start/flex-end as flow-start/flow-end, so the
  alignment grid never showed the pressed button. The runtime maps them
  back when it reads justifyContent and alignItems.
- A panel field replaced its draft whenever a new value arrived. A
  re-read landing mid-typing turned "90" into "180" (or "1890" when it
  landed between the select-all and the first key). A value from outside
  no longer replaces typed keys; a fully selected value stays selected
  when replaced.
- Picking a hosted font saves the document with its font link added and
  posts it back to the runtime. An edit made before that post-back
  arrived was overwritten by it, and the pending style save then stored
  the overwritten document: the edit was lost. The runtime numbers its
  edits, and drops a post-back built from an older one.

Two test fixes: Image URL fields are pasted instead of typed one key at
a time (356 round trips, most of the 15s timeout under load), and the
scrub test waits for the field to show the cancelled value before the
next drag starts from it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(panel): review fixes: forget an edit basis on a fresh runtime, key frame fields by frame

- A reloaded frame document starts counting its edits from zero; a save
  built from the last document's edit would be sent back with an old
  basis and dropped as outdated, leaving the frame without it.
- Typed keys now survive a value from outside, so the frame X/Y/W/H and
  rotation fields are keyed by frame, as its name already is: a draft
  typed for one frame is never committed to the next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f9e8ffa3d1cca850d2b079d39cce28457fcc909f)

This branch has not been deployed

No deployments
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

0