Skip to content

Keep the current page open when using a page menu - #545

Merged
kgoedecke merged 2 commits into
doop-design:mainfrom
baekjosh:feat/copy-page-link
Nov 18, 2026
Merged

kgoedecke merged 2 commits into
doop-design:mainfrom
baekjosh:feat/copy-page-link

Conversation

@baekjosh

Copy link
Copy Markdown
Contributor

Summary

Right-clicking a page opens its menu without switching away from the current page. Copy link to page still copies the right-clicked page’s URL; left-click still opens the page normally.

Verification

  • Confirmed in the local macOS app.
  • Chromium regression checks that the current page and URL stay unchanged when the menu opens and after copying, and that the copied URL opens the intended page.
  • Typecheck and all 10 focused tests passed.

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The change stays within page-list actions on a canvas.

The PR appears safe to merge, with a non-blocking test reliability fix recommended.

Findings

  1. P2 New test can race ▶

Summary

Right-clicking a page now opens its menu without changing the open page. The PR also updates the README and adds a browser check for copying another page’s link.

  • Right-clicking a page opens its menu without changing the open page.

Reviews (1) · Last reviewed commit: "fix(canvas): keep the current page open ..." · Reviewed by Greptile

Comment thread tests/pageControlsBrowser.test.ts Resolved
@kgoedecke

Copy link
Copy Markdown
Collaborator

@baekjosh Amazing, thanks so much, nice find!

@kgoedecke
kgoedecke merged commit 73e92b5 into doop-design:main Nov 18, 2026
1 check passed
turkmenus pushed a commit to turkmenus/doop that referenced this pull request Nov 18, 2026
doop-design#545)

* fix(inspector): the element panel swaps layers in place, no skeleton flash

Picking another layer showed the loading skeleton for the one inspect
round trip, which read as the panel closing and reopening. The previous
values now stand in, inert and aria-busy, until the new read lands; the
skeleton only shows if that takes over 400ms. The panel is no longer
keyed by frame, so a layer in another frame swaps in place too.

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

* fix(inspector): a layer's grace resets once its read lands

Greptile: after one slow read, slowFor kept that layer, so returning to
it later showed the skeleton at once. Clear it when the read arrives,
and test the slow-read-then-revisit path.

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

* fix(canvas): picking another standalone shape keeps the element panel up

A press on a standalone shape selected its frame first, which closed the
element panel, and the shape came back only once the click's probe
answered (a 250ms double-click wait plus the round trip). With the panel
up, the press now picks the shape at once, so the panel swaps in place.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 9ae6769e2ce370f58a4d0f55e3057b99fb82e1b4)
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.

2 participants