Repository navigation
Conversation
DefaultLayout called panelRef.current.collapse()/.resize() on the panel-content ResizablePanel whenever the AI assistant sidebar was maximised. Below the md breakpoint, LayoutSidebar renders no panel (the sidebar shows as a mobile sheet instead), leaving panel-content as the group's only panel. react-resizable-panels' resize algorithm then computes an invalid pivot index of -1 and throws. Fixes FE-3955
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthrough
ChangesSidebar layout behavior
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Test Results (next)Details
Flaky testsFeatures › realtime-inspector.spec.ts › Realtime Inspector › Basic Inspector UI › channel selection popover opens and works Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
joshenlim
left a comment
There was a problem hiding this comment.
Changes LGTM! Minimally checked on preview
Braintrust eval report
|
…fomap-entry-for-pitr-archiving-stale' into hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale * origin/hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale: (35 commits) chore: simplify CPU messaging for compute sizes (#48109) chore(studio): add valtio and react-hook-form ESLint ratchet rules (#48037) feat: Add ai/python federated content and data (#48043) feat: Add ai-skills federated content and data (#48045) feat: Add deployment/ci federated content and data (#48041) fix(studio): wire up siwc-enabled query param opt-in on sign-in/sign-up (#48126) fix(studio): stop stacking overlaid area series in report charts (#48034) Update Dev toolbar to support filtering feature flags (#48137) Update dev toolbar to support mocking org restrictions (#48136) feat: Add terraform federated content and data (#48010) Chore/add sessions database connections (#48094) fix(studio): guard panel collapse/resize on narrow viewports (#48098) Landing page agent focus (#47989) fix(studio): chip away explicit-tabindex ratchet debt (#48040) fix(studio): untangle nested buttons in editor tabs (#48101) fix(docs): broken link (#48117) docs: add VS Code to the AI coding agent plugin install picker (#48108) docs: add Kimi Code to MCP and AI coding agent plugin setup (#48099) fix: preserve function responses (#47920) fix(assistant): SQL approval buttons do nothing (#48102) ...
Summary
Fixes FE-3955 / SUPABASE-APP-K41 — a crash affecting 101 users (502 occurrences, escalating) since the "maximise AI assistant" feature (#47954) shipped on 2026-07-15.
DefaultLayoutcallspanelRef.current.collapse()/.resize()on thepanel-contentresizable panel whenever the AI assistant sidebar is maximised. Below themdbreakpoint,LayoutSidebarrenders no panel at all (the sidebar shows as a mobile sheet instead), leavingpanel-contentas the only panel in theResizablePanelGroup.react-resizable-panels' resize algorithm assumes a neighboring panel exists to pivot against, so with a single panel it computes an invalid pivot index of-1and throwsPanel constraints not found for index -1.This guards the effect with the same
isMobilebreakpoint checkLayoutSidebaralready uses, so we never callcollapse()/resize()when there's no sibling panel to resize against.Test plan
Summary by CodeRabbit