GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — sync(upstream): merge upstream/main 5661c6116 into fork/dev by omegent-app[bot] · Pull Request #379 · patroza/t3code Conversation
|
| Commit | |
|---|---|
5661c6116 |
feat(web): drag pinned threads into your own order (pingdotgg#5581) |
6d70e6d77 |
fix(mobile): reconnects no longer shift the thread list (pingdotgg#5372) |
be1a83674 |
chore(release): prepare v0.0.32 |
Upstream moves mobile connection status out of the lists into the header title slot (new
WorkspaceConnectionTitle / getConnectionAwareBrandHeaderOptions) and deletes
WorkspaceConnectionStatus.tsx, so a reconnect no longer shifts rows. The fork rendered that status
in four places across HomeScreen and ThreadNavigationSidebar — exactly the row-shifting being
fixed — so those in-list surfaces are removed and the header slots adopted.
The auto-merge left a dangling {connectionStatus} in HomeScreen whose definition upstream had
deleted; typecheck caught it.
Fork surfaces kept around the new title:
HomeScreen keeps its selectedEnvironmentIds label derivationenvironmentLabelById (BoardScreen consumes it) instead of upstream's singleselectedEnvironmentId;HomeRouteScreen keeps the fork's in-flow HomeHeader as title owner rather than alsoRound 1 (grok-4.5 + gpt-5.6-sol, independently) found two real defects in my first pass:
| Finding | Disposition |
|---|---|
HIGH (both) — iOS Home has its own IosHomeHeader owning the native title, so dropping upstream's route-level options left no connection-status surface at all on that path |
Fixed. IosHomeHeader now spreads the connection-aware options |
MED (grok) — getConnectionAwareBrandHeaderOptions hardcodes the brand lockup and the literal "Threads", so spreading it over the fork's list-mode titles silently renamed Board and Projects |
Fixed. The helper takes an optional title/brand; every adopting surface passes its mode title |
LOW (both) — dead getConnectionAwareBrandHeaderOptions import left in HomeRouteScreen |
Fixed. Removed |
Round 2 re-verified the fixes and caught a surface I had missed:
| Finding | Disposition |
|---|---|
MED (both) — the custom (Android split) sidebar large title still hardcoded "Threads" |
Fixed. Now mode-aware |
LOW (codex) — brandTitleOffset was applied to caller-supplied titles that lack the brand lockup's internal inset, sliding the status sideways during the swap |
Fixed. The offset now applies only to the default brand |
| LOW (grok) — 17px vs 18px title metrics on the new iOS brand text | Fixed. Aligned to 18 |
| (codex) — no test covered mode-title preservation, "which allowed the custom-sidebar defect through" | Fixed. mobileSurfaceExistence now asserts every adopting surface passes its own list-mode title and that no surface re-renders the deleted in-list pill. Verified to fail on the pre-fix tree |
Final coverage, confirmed by both reviewers: status is reachable on Android in-flow home, iOS home,
sidebar native, sidebar custom, board mode and split view — exactly once on each, with mode
titles surviving everywhere.
Pinned rows now sort by the user's arranged pinOrderKey on every platform, deliberately
independent of the fork's thread-grouping preference: that preference still orders the active
rows, but a pin is an explicit arrangement, and upstream documents the sort as identical everywhere
so mixed-version fleets cannot disagree. The threadPinReorder capability gates dragging only,
never the sort. SidebarV2 keeps the fork's environment/ownership filters around the new pinned
block and gains reorderablePinnedKeys.
Welds the auto-merge produced, every one caught by typecheck or tests:
| Where | Weld |
|---|---|
useThreadActions.ts |
upstream's ThreadPinReorderUnsupportedError landed inside the fork's clearPerThreadClientState, leaving it unclosed |
threadListV2.ts |
two for (const thread of …) headers stacked on one loop body |
useThreadListActions.ts |
duplicate threadEnvironment import plus local copies of helpers this fork imports from threadActionMessages |
HomeRouteScreen |
upstream's single-environment onEnvironmentChange handler, which this multi-select screen has no prop for |
projector.pinned.test.ts |
indexed state.threads[0]; this fork's read model keys threads by id in an Effect HashMap |
| six migration fixtures | pinned the ledger tail at 37; upstream's 038 ProjectionThreadsPinOrderKey extends it |
Review of the second merge: both reviewers cleared pin-sort/capability separation, fork
behaviour, welds, ledger windows and test integrity. Two follow-ups:
038 without applying the ALTER TABLE would still pass. Fixed: the repairpin_order_key exists.CodexTextGeneration launch-args one,fork/dev.Co-authored by @patroza
opened by Patrick Roza in chat thread Discord · Discord · T3
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Adopts the two upstream commits after #378: reconnects no longer shift the mobile thread list (pingdotgg#5372) and the v0.0.32 release prep. pingdotgg#5372 moves connection status out of the lists into the header title slot (WorkspaceConnectionTitle / getConnectionAwareBrandHeaderOptions) and deletes WorkspaceConnectionStatus. The fork rendered that status in four places across HomeScreen and ThreadNavigationSidebar — exactly the row-shifting this fixes — so those in-list surfaces are removed and the header slots adopted. The auto-merge left one dangling {connectionStatus} in HomeScreen whose definition upstream had deleted; typecheck caught it. Fork surfaces kept around the new title: - multi-environment selection: HomeScreen keeps its selectedEnvironmentIds label derivation and environmentLabelById (BoardScreen consumes it) instead of upstream's single selectedEnvironmentId. - board mode: ThreadNavigationSidebar keeps its board branch, board-specific solid header, and board-gated search bar, with upstream's connection-aware brand slot merged into the same header options. - HomeRouteScreen keeps the fork's in-flow HomeHeader as title owner rather than also restoring upstream's native-stack title, which would surface the connection status twice. Adversarial review caught two holes in the first pass, both fixed here: getConnectionAwareBrandHeaderOptions hardcodes the brand lockup and "Threads", so spreading it over the fork's list-mode titles silently replaced "Board" / "Projects"; and iOS Home has its own IosHomeHeader owning the native title, so dropping upstream's route-level options left that path with no status surface at all. The helper now takes an optional title/brand, and both the sidebar and IosHomeHeader pass their mode title through it. A second review pass caught one more surface — the custom (Android split) sidebar large title still hardcoded "Threads" — plus the status offset being applied to caller-supplied titles that lack the brand lockup's inset. Both fixed, and mobileSurfaceExistence now asserts every adopting surface passes its own list-mode title (that assertion fails on the pre-fix tree). Co-authored-by: Patrick Roza <[email protected]>
Adopts pingdotgg#5581 (drag pinned threads into your own order) on top of the pingdotgg#5372 merge already on this branch. Pinned rows now sort by the user's arranged pinOrderKey on every platform, which is deliberately independent of the fork's thread-grouping preference: that preference still orders the active rows, but a pin is an explicit arrangement and upstream documents the sort as identical everywhere so mixed-version fleets cannot disagree. Server capability gates dragging only, never the sort. SidebarV2 keeps the fork's environment/ownership filters around the new pinned block and gains upstream's reorderablePinnedKeys. Welds the auto-merge produced, all caught by typecheck or tests: - useThreadActions.ts: upstream's ThreadPinReorderUnsupportedError landed inside the fork's clearPerThreadClientState, leaving it unclosed. - threadListV2.ts: two `for (const thread of ...)` headers stacked on one loop body; the pinned block takes upstream's order-key sort. - useThreadListActions.ts: duplicate threadEnvironment import plus local copies of helpers this fork imports from threadActionMessages. - HomeRouteScreen: upstream's single-environment onEnvironmentChange handler does not exist in this fork's multi-select screen. - projector.pinned.test.ts indexed state.threads[0]; this fork's read model keys threads by id in a HashMap. - Six migration-ledger fixtures pinned the tail at 37; upstream's 038 ProjectionThreadsPinOrderKey extends it. Co-authored-by: Patrick Roza <[email protected]>
0a7394f to
b962e2b
Compare
There was an error while loading. Please reload this page.
Adopts the thirteen upstream commits after #379. The headline is pingdotgg#5672 making sidebar v2 the default, which is a file-level restructure: upstream renamed the classic sidebar to LegacySidebar.tsx and moved v2's content into Sidebar.tsx, deleting SidebarV2.tsx. Git could not follow either rename because both sides had changed both files, so each was merged three-way by hand: - Sidebar.tsx = the fork's SidebarV2.tsx (multi-env and ownership filters, identity marks, budgeted listStatus, pin ordering, copy-thread-id, unread and regenerating-title chrome) with upstream's pingdotgg#5672 delta applied. That delta is a rename sweep — SidebarV2* → Sidebar*, group/v2-row → group/sidebar-row, sidebar-v2-* test ids — plus aria-busy on the rows. - LegacySidebar.tsx = the fork's old Sidebar.tsx with upstream's rename and settings-nav hoist applied. AppSidebarLayout now renders SettingsSidebarNav for both sidebars, so the legacy one no longer renders it itself. forkSurfaceExistence, the fork's anti-stack-drop net, was retargeted at the renamed files and ids rather than relaxed: all 17 assertions still run, and they are what caught LegacySidebar initially being upstream's v1 rather than the fork's. Other resolutions: - GitManager: upstream's per-branch exponential backoff for rate-limited PR lookups (pingdotgg#5673) with the fork's terminal-state freeze helper kept. - Composer: pingdotgg#5554 shows Stop while input is pending, which is exactly what the fork's shouldShowComposerInterruptAction suppressed; the predicate and its tests are retired rather than merged. - PreviewView: the fork's resolveNavigableUrl (asks the environment about tailnet routing) keeps resolving, with upstream's browser-history recording (pingdotgg#5270) layered on the successful-navigation path. - Settings: sidebarV2Enabled / sidebarV2ConfiguredByUser and enableAssistantStreaming are retired in favour of upstream's fresh keys (legacySidebarEnabled, enableLegacyTokenStreaming), which deliberately reset prior opt-ins; the mobile list toggle inverts the same way, so HomeScreen now reads through resolveThreadListV2Enabled. - .github/VOUCHED.td stays deleted: it is upstream's contributor-vouching file. Adversarial review caught one surface the key migration missed: the mobile ThreadNavigationSidebar still gated v2 on the retired threadListV2Enabled, so the iPad/split list would have stayed on the legacy layout with no setting able to change it, disagreeing with Home. It now reads through resolveThreadListV2Enabled like HomeScreen. Co-authored-by: Patrick Roza <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.