Skip to content

open the inspector without the view transition - #3845

Merged
pfefferle merged 1 commit into
trunkfrom
fix/inspector-corner-radius
Sep 29, 2026
Merged

pfefferle merged 1 commit into
trunkfrom
fix/inspector-corner-radius

Conversation

@pfefferle

Copy link
Copy Markdown
Member

Proposed changes:

The inspector's corners jumped when it opened, and the whole stage folded during the transition. Two causes:

  • Boot rounds the inspector with --wpds-border-radius-xl (12px) and draws its view-transition snapshots with that radius; we forced the panel to a hard 8px through --wpds-border-radius-large, a token that does not exist, and put a second 8px surface inside it. The override and the inner surface are gone, and our stage card uses the same xl token, so everything matches.
  • Boot animates the stage as one flat surface, a pinned-corner crossfade while it resizes. Our stage is a dark shell around a card, so that reads as folding. The six navigations that open or close the inspector (post click, close button, the Feed menu item, actor switch, tag and type filter) now pass viewTransition: false to the router; nothing animates, and no boot internals are styled for it.

Other information:

  • Have you written new tests for your changes, if applicable?

Testing instructions:

  • Open the Social Web screen, click a post: the inspector appears with the same rounded corners and the same top/bottom edges as the list card, no animation. Close it with the X or via "Feed" in the sidebar: same.
  • Switch the actor or pick a tag in the inspector: it closes without animation.

@pfefferle pfefferle added the Bug Something isn't working label Sep 29, 2026
@pfefferle pfefferle self-assigned this Sep 29, 2026
@pfefferle
pfefferle requested a review from a team September 29, 2026 15:31
@github-actions github-actions Bot added [Feature] Reader [Focus] Editor Changes to the ActivityPub experience in the block editor labels Sep 29, 2026
@pfefferle
pfefferle force-pushed the fix/inspector-corner-radius branch from fb181a2 to 8f54308 Compare September 29, 2026 15:34
@pfefferle
pfefferle merged commit 4678673 into trunk Sep 29, 2026
6 checks passed
@pfefferle
pfefferle deleted the fix/inspector-corner-radius branch September 29, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working [Feature] Reader [Focus] Editor Changes to the ActivityPub experience in the block editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant