Skip to content

Add mutually exclusive panel functionality#16

Merged
BunsDev merged 1 commit into
mainfrom
okcode/diffs-panel-gap
Mar 27, 2026
Merged

Add mutually exclusive panel functionality#16
BunsDev merged 1 commit into
mainfrom
okcode/diffs-panel-gap

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Mar 27, 2026

  • Implement resolveExclusivePanelAction to manage the opening and closing of the diff panel and code viewer.
  • Create useMutuallyExclusivePanels hook to enforce that only one panel is open at a time.
  • Add tests for resolveExclusivePanelAction to cover various transition scenarios and edge cases.

What Changed

Why

UI Changes

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Implement `resolveExclusivePanelAction` to manage the opening and closing of the diff panel and code viewer.
- Create `useMutuallyExclusivePanels` hook to enforce that only one panel is open at a time.
- Add tests for `resolveExclusivePanelAction` to cover various transition scenarios and edge cases.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 27, 2026 7:23pm

@BunsDev BunsDev merged commit 9b2326d into main Mar 27, 2026
4 of 5 checks passed
@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 27, 2026
@BunsDev BunsDev deleted the okcode/diffs-panel-gap branch March 28, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant