GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add drag-and-drop project reordering to the sidebar by juliusmarminge · Pull Request #185 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Mar 6, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
CleanShot.2026-03-09.at.14.15.02.mp4

Summary

  • add project drag-and-drop reordering in the sidebar using @dnd-kit (core, sortable, modifiers, utilities)
  • introduce sortable project item wiring and vertical-only drag constraints
  • prevent accidental project toggle clicks during drag gestures via pointer-move/click suppression logic
  • keep existing project/thread interactions (context menu, new thread action, keyboard toggle) while moving from Collapsible to inline animated expand/collapse layout
  • extend store logic and tests to cover project reordering behavior

Testing

  • Updated unit tests in apps/web/src/store.test.ts for project reorder behavior
  • Not run: bun lint
  • Not run: bun typecheck
  • Not run: bun run test

Note

Medium Risk
Moderate UI/state change that adds new drag interactions and persists project ordering in localStorage, which could impact sidebar behavior and read-model sync ordering if edge cases are missed.

Overview
Sidebar projects can now be reordered via drag-and-drop. The sidebar wraps each project in a @dnd-kit sortable context (vertical-only, parent-bounded) and adds click/keyboard suppression logic to prevent accidental expand/collapse toggles during drag gestures.

Project ordering is now stateful and persisted. The Zustand store adds reorderProjects, persists projectOrderCwds alongside expanded state, and updates read-model syncing to preserve existing (or persisted) project order when server updates arrive; tests were extended to cover both reorder and sync-order preservation.

Small UI plumbing updates include a hideScrollbars option on ScrollArea (used by SidebarContent), a Collapsible panel animation tweak, and minor build tooling adjustments (Vite override / config cleanup).

Written by Cursor Bugbot for commit 2c6bbc3. This will update automatically on new commits. Configure here.

Note

Add drag-and-drop project reordering to the sidebar

  • Wraps the sidebar project list in DndContext and SortableContext from @dnd-kit, with a new SortableProjectItem component that applies transform/transition styles and drag handle props during drag interactions.
  • Adds reorderProjects to the Zustand store as a pure function that moves a project to a target index; project order is persisted to and restored from localStorage.
  • When syncing the server read model, the existing in-memory order is preserved; if none exists, the persisted localStorage order is used; otherwise new projects are appended in incoming order.
  • Replaces CollapsibleTrigger with a SidebarMenuButton that handles click, keyboard (Enter/Space), and context menu events directly, with click suppression immediately after a drag to prevent unintended toggles.
  • Risk: project order is now stored in localStorage under a new projectOrderCwds key; users who clear storage will lose their custom ordering.

Macroscope summarized 2c6bbc3.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

th3nolo and jamesx0416 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@coderabbitai

coderabbitai Bot commented Mar 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 82de4b9a-1b6e-4109-9149-c152af40ab9f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch t3code/reorder-projects-drag-drop

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Mar 6, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Sortable wrapper div creates invalid HTML in list
    • Changed SortableProjectItem to render a SidebarMenuItem (
    • ) instead of a
      , and removed the redundant inner SidebarMenuItem wrapper, producing valid
      • …
      HTML.

Create PR

Or push these changes by commenting:

@cursor push 410550ecbe
Preview (410550ecbe)
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -273,15 +273,17 @@
 
 function SortableProjectItem({
   projectId,
+  className,
   children,
 }: {
   projectId: ProjectId;
+  className?: string;
   children: (handleProps: SortableProjectHandleProps) => React.ReactNode;
 }) {
   const { attributes, listeners, setNodeRef, transform, transition, isDragging, isOver } =
     useSortable({ id: projectId });
   return (
-    <div
+    <SidebarMenuItem
       ref={setNodeRef}
       style={{
         transform: CSS.Translate.toString(transform),
@@ -289,10 +291,10 @@
       }}
       className={`rounded-md ${
         isDragging ? "z-20 opacity-80" : ""
-      } ${isOver && !isDragging ? "ring-1 ring-primary/40" : ""}`}
+      } ${isOver && !isDragging ? "ring-1 ring-primary/40" : ""} ${className ?? ""}`}
     >
       {children({ attributes, listeners })}
-    </div>
+    </SidebarMenuItem>
   );
 }
 
@@ -1205,9 +1207,9 @@
                       : projectThreads;
 
                   return (
-                    <SortableProjectItem key={project.id} projectId={project.id}>
+                    <SortableProjectItem key={project.id} projectId={project.id} className="group/collapsible">
                       {(dragHandleProps) => (
-                        <SidebarMenuItem className="group/collapsible">
+                        <>
                           <div className="group/project-header relative">
                             <SidebarMenuButton
                               size="sm"
@@ -1448,7 +1450,7 @@
                               </SidebarMenuSub>
                             </div>
                           </div>
-                        </SidebarMenuItem>
+                        </>
                       )}
                     </SortableProjectItem>
                   );

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/Sidebar.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@vercel

vercel Bot commented Mar 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
t3code-marketing Error Error Mar 6, 2026 10:50pm

Request Review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vercel
vercel Bot had a problem deploying to Preview March 6, 2026 22:50 Failure
@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Mar 9, 2026
juliusmarminge added 3 commits March 9, 2026 14:07
@juliusmarminge
Add drag-and-drop project reordering in the sidebar
b727592
- wire project list to dnd-kit sortable with vertical drag constraints
- prevent accidental expand/collapse clicks during drag gestures
- update store logic/tests and add dnd-kit dependencies
@juliusmarminge
Fix project drag clicks and sidebar collapse/scroll behavior
c937f6b
- prevent accidental project toggles after drag operations
- switch project rows to Collapsible for stable expand/collapse animation
- add optional hidden scrollbar mode to ScrollArea and apply it in SidebarContent
@juliusmarminge
Prevent stale click suppression after project drag cancel
f32db73
- Reset post-drag click suppression when drag is canceled
- Consume only the synthetic click after drag release, then clear suppression
@juliusmarminge
juliusmarminge force-pushed the t3code/reorder-projects-drag-drop branch from 28df73c to f32db73 Compare March 9, 2026 21:11
juliusmarminge added 2 commits March 9, 2026 14:12
@juliusmarminge
pin vite
3ba50c0
@juliusmarminge
no longer need experimental for tsconfig aliases
5b0f6c0
cursor[bot]
cursor Bot reviewed Mar 9, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Ambiguous operator precedence in fallback order calculation
    • Added explicit outer parentheses around the fallback arithmetic expression to make the precedence between ?? and + unambiguous.

Create PR

Or push these changes by commenting:

@cursor push 148d455f06
Preview (148d455f06)
diff --git a/apps/web/src/store.ts b/apps/web/src/store.ts
--- a/apps/web/src/store.ts
+++ b/apps/web/src/store.ts
@@ -155,7 +155,7 @@
       const orderIndex =
         previousIndex ??
         persistedIndex ??
-        (usePersistedOrder ? persistedProjectOrderCwds.length : previous.length) + incomingIndex;
+        ((usePersistedOrder ? persistedProjectOrderCwds.length : previous.length) + incomingIndex);
       return { project, incomingIndex, orderIndex };
     })
     .toSorted((a, b) => {

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/store.ts
const orderIndex =
previousIndex ??
persistedIndex ??
(usePersistedOrder ? persistedProjectOrderCwds.length : previous.length) + incomingIndex;

@cursor cursor Bot Mar 9, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ambiguous operator precedence in fallback order calculation

Low Severity

The orderIndex fallback expression relies on + having higher precedence than ?? without explicit parentheses. While the current behavior is correct (the addition only applies when both previousIndex and persistedIndex are nullish), a reader could easily misinterpret this as adding incomingIndex to the result of the entire ?? chain. Wrapping the fallback arithmetic in parentheses would make the intent unambiguous and prevent accidental breakage if the expression is modified later.

Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@juliusmarminge
Improve project drag collision detection in sidebar
de1a251
- Prefer pointer-based hit testing during project reordering
- Fall back to corner-based collision to make drop targeting more reliable
cursor[bot]
cursor Bot reviewed Mar 9, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Drag cancel doesn't suppress synthetic click after release
    • Removed the line that reset suppressProjectClickAfterDragRef to false in handleProjectDragCancel, so the flag stays true and suppresses the synthetic click fired on pointer release after a cancelled drag, matching handleProjectDragEnd's behavior.

Create PR

Or push these changes by commenting:

@cursor push 13c88d8bd1
Preview (13c88d8bd1)
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -872,7 +872,6 @@
 
   const handleProjectDragCancel = useCallback((_event: DragCancelEvent) => {
     dragInProgressRef.current = false;
-    suppressProjectClickAfterDragRef.current = false;
   }, []);
 
   const handleProjectTitlePointerDownCapture = useCallback(() => {

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/Sidebar.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Mar 9, 2026

Copy link
Copy Markdown
Member Author

@cursor push 13c88d8bd1

cursor[bot] reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cursoragent
fix: keep suppressProjectClickAfterDragRef true on drag cancel to pre…
2c6bbc3
…vent unintended toggle

Co-authored-by: Julius Marminge <[email protected]>

Applied via @cursor push command
@juliusmarminge
juliusmarminge merged commit 9fb9467 into main Mar 9, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the t3code/reorder-projects-drag-drop branch March 9, 2026 22:08
cursor[bot]
cursor Bot reviewed Mar 9, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/store.ts
const orderIndex =
previousIndex ??
persistedIndex ??
(usePersistedOrder ? persistedProjectOrderCwds.length : previous.length) + incomingIndex;

@cursor cursor Bot Mar 9, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Operator precedence bug in order index fallback calculation

Low Severity

The + operator has higher precedence than the ternary ?:, so the fallback orderIndex expression is parsed as usePersistedOrder ? persistedProjectOrderCwds.length : (previous.length + incomingIndex) instead of the likely intended (usePersistedOrder ? persistedProjectOrderCwds.length : previous.length) + incomingIndex. When usePersistedOrder is true, incomingIndex is not added, so all new projects receive the same orderIndex. The sort tiebreaker on incomingIndex masks this today, but the asymmetry is almost certainly unintentional and fragile.

Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
davifernan added a commit to davifernan/chicocode that referenced this pull request Mar 22, 2026
@davifernan
fix(chico): stabilize ChicoCenter store selectors
d0b9615
ChicoCenter was selecting derived arrays/objects directly from Zustand
(selectAllRuns/selectSelectedRun). Those selectors allocate fresh values on
every read, which makes useSyncExternalStore think the snapshot changed even
when store state is stable. In production builds this surfaced as React error
pingdotgg#185 (too many re-renders) when opening /chico.

Read stable primitives from the store (runs Map + selectedRunId) and derive
runs/selectedRun via useMemo inside the component instead.
@gleber gleber mentioned this pull request Apr 7, 2026
Fix React Error 185 in ChatView by deferring markThreadVisited gleber/t3code#2
Open
Pedrooo24 added a commit to Pedrooo24/t3code that referenced this pull request Apr 20, 2026
@Pedrooo24
fix(ui): break render loop in useSessionCostTotal causing React pingd…
5e1dbb0
…otgg#185 on boot

StatusBar passou a montar sempre na 4.1C; useSessionCostTotal chamava
resolveThreadRouteTarget via useParams selector, devolvendo novo objecto
a cada render e disparando re-render em loop. Selecionar environmentId
e threadId como primitivas e reconstruir o ref com useMemo.
Pedrooo24 added a commit to Pedrooo24/t3code that referenced this pull request Apr 20, 2026
@Pedrooo24
Merge pull request #2 from Pedrooo24/pedro/dev
7043e0a
fix(ui): break render loop in useSessionCostTotal causing React pingdotgg#185 on boot
@Pedrooo24 Pedrooo24 mentioned this pull request Apr 26, 2026
fix(ui): break second render loop in useSettings selector (React #185) #2355
Closed
Pedrooo24 added a commit to Pedrooo24/t3code that referenced this pull request Apr 26, 2026
@Pedrooo24 @claude
fix(ui): add 'use no memo' to useSettings to prevent React Compiler i…
773be05
…nterference

O React Compiler (beta) pode reescrever funcoes que mutam refs durante
o render de forma inesperada, potencialmente causando loops de render
(React pingdotgg#185). A directiva 'use no memo' desactiva a optimizacao do
Compiler para useSettings, preservando o comportamento manual do padrao
useRef/shallowEqual que estabiliza referencias do selector.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@hogeheer499-commits hogeheer499-commits mentioned this pull request May 4, 2026
Preserve thread visited state across partial syncs #2506
Closed
highercomve added a commit to highercomve/t3code that referenced this pull request May 28, 2026
@highercomve
fix(merge): restore runtime, register Antigravity migration, add Copi…
1d363ce
…lot driver

Three runtime regressions surfaced after the per-instance driver merge
(commit e06e186) plus the Copilot provider was reinstated.

Server:
- Restore Antigravity conversation table migration. The `028_RenameGeminiToAntigravity`
  migration was shadowed by upstream's `028_ProjectionThreadSessionInstanceId`,
  so the `antigravity_conversations` table never existed at runtime and every
  Antigravity turn aborted with "Failed to load antigravity conversation id."
  Rename ours to `031` and register it in `Migrations.ts`.
- Add `CopilotDriver` per-instance ProviderDriver (PATCH.md §2 restored).
  - `provider/Drivers/CopilotDriver.ts` registered in `BUILT_IN_DRIVERS` with
    `supportsMultipleInstances: true`.
  - `provider/Layers/CopilotProvider.ts` probes the `copilot` binary +
    parses `--version`; checks `~/.config/github-copilot/hosts.json` for
    auth-presence and ships a 5-model catalog (Claude 4.6/4.5, GPT-5.4).
  - `provider/Layers/CopilotAdapter.ts` placeholder adapter — returns clear
    "ACP integration not yet wired" errors rather than silently hanging.
  - `textGeneration/CopilotTextGeneration.ts` stub; routing falls back to
    Codex/Antigravity for commit-message generation.

Web:
- Fix React error pingdotgg#185 (infinite render loop) on `/` and chat routes.
  `apps/web/src/routes/_chat.$environmentId.$threadId.tsx:142-156`:
  `useParams({ select })` returned a fresh `{environmentId, threadId}`
  object on every router commit. The fresh `threadRef` busted the
  "redirect when thread missing" `useEffect` dep equality → `navigate({to:"/"})`
  → router commit → new selector result → loop. Memoize `threadRef` against
  primitive params so the object reference is stable.
- Fix model picker click silent no-op. `apps/web/src/composerDraftStore.js`
  was a stale compiled artifact that shadowed `composerDraftStore.ts` in
  Vite's `.js`-first resolve order. All post-merge edits to the `.ts` were
  invisible at runtime. Rewrite the `.js` as a one-line re-export so the
  active `.ts` source wins; the file should be deleted entirely on the next
  full dev-server restart.
- Add Copilot to `PROVIDER_CLIENT_DEFINITIONS` (Preview badge).
- Remove "Gemini — coming soon" / "Github Copilot — coming soon" placeholders
  from the model picker sidebar (both providers are now first-class).

End-to-end verified in the browser after migration + driver wiring:
- Claude → responded "hello" in 2.5s
- Antigravity → responded "hello" in 8.1s
- OpenCode → responded "hello" in 5.4s
- Codex → blocked by user's ChatGPT Free plan ("gpt-5.4 not supported"),
  not a merge bug
- Copilot → shows correctly with auth status, falls into the picker; CLI
  needs `copilot auth login` for full session
@Eliasriv748 Eliasriv748 mentioned this pull request Jun 15, 2026
fix(web): prevent StatusBar infinite render loop (React #185) Eliasriv748/t3code#1
Merged
Eliasriv748 added a commit to Eliasriv748/t3code that referenced this pull request Jun 15, 2026
@Eliasriv748
Merge pull request #1 from Eliasriv748/fix/statusbar-render-loop
f0e4452
fix(web): prevent StatusBar infinite render loop (React pingdotgg#185)
@ronak-guliani ronak-guliani mentioned this pull request Jul 19, 2026
Perf/avoid shell snapshot for thread detail ronak-guliani/t3code#33
Merged
4 tasks
@jorda0mega jorda0mega mentioned this pull request Sep 22, 2026
fix(web): prevent composer label measurement update loops #13106
Closed
This was referenced Sep 23, 2026
[Bug]: #13249
Closed
[Bug]: Scrolling chat window crashes app. #13358
Closed
@MaxIliashenko MaxIliashenko mentioned this pull request Sep 24, 2026
[Bug]: Scrolling up with mouse cause React 185 error #13460
Closed
2 tasks done
piyushpradhan added a commit to piyushpradhan/t3code-mediocre that referenced this pull request Sep 25, 2026
@piyushpradhan @claude
fix(web): floating checklist no longer crashes empty threads
4cc418a
The item selector returned a new [] whenever a thread had no items, so
zustand saw a changed snapshot on every render and React bailed with
error pingdotgg#185 (maximum update depth). Use a stable empty list.

Co-Authored-By: Claude Opus 5 <[email protected]>
@juliusmarminge juliusmarminge mentioned this pull request Oct 1, 2026
[Bug]: 0.0.44 Linux/Wayland renderer disappears, leaving a transparent window while the backend survives #14596
Closed
2 tasks done
@WhiteWarrior625 WhiteWarrior625 mentioned this pull request Oct 3, 2026
[Bug]: React #185 loop between ThreadDetailsCard and resolveChatCanvasLayout when a portrait preview floats beside the inline details card #14959
Closed
2 tasks done
@Gigioxx Gigioxx mentioned this pull request Oct 3, 2026
fix(web): floating portrait previews no longer crash beside the details card #14968
Closed
@MonkeyMed MonkeyMed mentioned this pull request Oct 3, 2026
[Bug]: React #185 crash opening thread, no floating preview, reload ineffective #15120
Closed
2 tasks done
@juliusmarminge juliusmarminge mentioned this pull request Oct 3, 2026
[Bug]: App Crash #15305
Closed
2 tasks done
romil-bijarnia added a commit to romil-bijarnia/t3code that referenced this pull request Oct 7, 2026
@romil-bijarnia
fix(web): skip no-op composer collapse updates
248a867
Each editor selection change asked to expand the composer even when it was
already expanded. On send the editor resets inside a commit, and in
production builds that chain of no-op updates tripped React's maximum update
depth (error pingdotgg#185). The setter now ignores calls that change nothing.
mithun1999 pushed a commit to mithun1999/t3code that referenced this pull request Oct 7, 2026
@logzerroneous
fix(server): surface workspaceFile in project snapshot queries
2e107dc
The projection snapshot queries never selected the workspace_file
column and never mapped it, so workspaceFile silently dropped out of
every client-facing project shell. Open-in fell back to the folder,
the sidebar never showed the workspace icon, and Manage folders never
appeared (pingdotgg#185).

Select the column in the three project SELECTs and map it in
mapProjectShellRow plus the three inline OrchestrationProject
literals that build read models from the same rows.
@maria-rcks maria-rcks mentioned this pull request Oct 13, 2026
perf: warm lazy surfaces, lighter remote snapshots and cheaper streaming #18979
Closed
TomCohenDev pushed a commit to TomCohenDev/t3code that referenced this pull request Oct 18, 2026
@Yarden-zamir
Merge pull request pingdotgg#185 from Yarden-zamir/feat/web-push
d2cf569
feat(web): Web Push for thread notifications while the app is closed
@juliusmarminge juliusmarminge mentioned this pull request Oct 18, 2026
fix(web): scrolling a huge thread's history no longer loops the message list #21269
Merged
Pawl-Patrol referenced this pull request in esveo/t3code Oct 20, 2026
Paul Dittrich @claude
fix(web): two visible browser slots no longer fight over one tab
7d266d8
Two BrowserSurfaceSlots showing the same tab (e.g. the floating mini player
and the preview panel) each took the tab back when they lost it, re-rendering
each other until React gave up with error #185. A visible slot now only
reclaims a tab nobody else is showing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
tejasPhaveri added a commit to tejasPhaveri/t3code that referenced this pull request Oct 25, 2026
@tejasPhaveri @claude
fix(web): opening a chat no longer crashes with an update loop
a71eaf1
The panel's browser tab reconciler now reruns whenever a chat's tabs
change, but it rebuilt the tab list on every pass even when nothing
changed. Each pass changed the tabs, which ran it again, until React
stopped with "Maximum update depth exceeded" (pingdotgg#185). A pass that
finds the tabs already right now leaves the state as it is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SmbfVxnmxaFpcswzmuoqFW
This was referenced Oct 29, 2026
[Bug]: Settled shelf crashes the app with React #185 when the sidebar filter has more than one project #27168
Closed
fix: settled shelf no longer crashes with several projects filtered jagrat7/t3code#9
Closed
fix(web): settled shelf no longer crashes with several projects filtered #27231
Merged
drKreshel added a commit to drKreshel/t3code that referenced this pull request Oct 31, 2026
@drKreshel
fix(web): open sidebar folders holding idle subagents no longer crash…
73d36a6
… the app

An open folder read the chats its shell left out, then kept a read only
while the loaded row looked older-settled. Idle subagents are left out of
the shell too but never look older-settled, so their read was released,
the row vanished, and it was read again from cache in the same commit
until React threw "Maximum update depth exceeded" (pingdotgg#185).

The folder now decides what to read from the shell rows alone, which its
own reads never change.
@riccardovandra riccardovandra mentioned this pull request Nov 2, 2026
chore: sync with upstream (2026-11-02) riccardovandra/t3code#91
Merged
@daviesayo daviesayo mentioned this pull request Nov 21, 2026
Workspace panes: opening a second image from the file tree crashes with React #185 in rightPanelStore.syncFromLayout #40158
Closed
@Aplietexe Aplietexe mentioned this pull request Nov 25, 2026
Switching back to a thread whose Diff panel has 200+ files crashes with React #185 in the scroll-restore loop #42669
Open
@juliusmarminge juliusmarminge mentioned this pull request Nov 25, 2026
fix(web): restoring a deep Diff panel position no longer crashes on large cached diffs #42675
Closed
pnupu added a commit to pnupu/t3code that referenced this pull request Nov 25, 2026
@pnupu @claude
fix(pull-requests): opening a pull request no longer crashes the page
c0033e7
With a size sort ("Largest", "Smallest" or "Ready"), clicking a pull request
threw React error pingdotgg#185 (Maximum update depth exceeded).

Two effects called a state setter on every commit. Their inputs,
`entriesByStatsKey` and `linkedSelection`, get a new identity on each render,
because the React Compiler does not memoize the feed values they come from.

- The eager stats effect always called `setStatsTargetState`. A setter call
  that keeps the same state still re-renders and commits the page, so the
  idle page re-rendered about 200 times a second. It now checks the committed
  state first and skips the setter when no batch is missing.
- The URL-linked effect opened the pull request in the right panel store
  again for each new `linkedSelection` object. The store update re-rendered
  the page and made another new object. The effect is now keyed by the
  selection's content.

A click commits synchronously, so either loop then hit React's nested update
limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@pnupu pnupu mentioned this pull request Nov 25, 2026
fix(pull-requests): opening a pull request no longer crashes the page pnupu/t3code#42
Merged
pnupu added a commit to pnupu/t3code that referenced this pull request Nov 27, 2026
@pnupu @claude
fix(pull-requests): opening a pull request no longer crashes the page
f0acbdb
With a size sort ("Largest", "Smallest" or "Ready"), clicking a pull request
threw React error pingdotgg#185 (Maximum update depth exceeded).

Two effects called a state setter on every commit. Their inputs,
`entriesByStatsKey` and `linkedSelection`, get a new identity on each render,
because the React Compiler does not memoize the feed values they come from.

- The eager stats effect always called `setStatsTargetState`. A setter call
  that keeps the same state still re-renders and commits the page, so the
  idle page re-rendered about 200 times a second. It now checks the committed
  state first and skips the setter when no batch is missing.
- The URL-linked effect opened the pull request in the right panel store
  again for each new `linkedSelection` object. The store update re-rendered
  the page and made another new object. The effect is now keyed by the
  selection's content.

A click commits synchronously, so either loop then hit React's nested update
limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
pnupu added a commit to pnupu/t3code that referenced this pull request Nov 27, 2026
@pnupu @claude
fix(pull-requests): opening a pull request no longer crashes the page
4746c34
With a size sort ("Largest", "Smallest" or "Ready"), clicking a pull request
threw React error pingdotgg#185 (Maximum update depth exceeded).

Two effects called a state setter on every commit. Their inputs,
`entriesByStatsKey` and `linkedSelection`, get a new identity on each render,
because the React Compiler does not memoize the feed values they come from.

- The eager stats effect always called `setStatsTargetState`. A setter call
  that keeps the same state still re-renders and commits the page, so the
  idle page re-rendered about 200 times a second. It now checks the committed
  state first and skips the setter when no batch is missing.
- The URL-linked effect opened the pull request in the right panel store
  again for each new `linkedSelection` object. The store update re-rendered
  the page and made another new object. The effect is now keyed by the
  selection's content.

A click commits synchronously, so either loop then hit React's nested update
limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
gmackie pushed a commit to gmackie/t3code that referenced this pull request Nov 28, 2026
gmackie
Merge pull request 'fix(sync): merge upstream main b927b1f into custo…
0c8edfc
…m-local' (pingdotgg#185) from t3/resolve-nightly-upstream-merge-conflict into custom-local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@juliusmarminge @cursoragent
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.