Repository navigation
Sync Aleph to upstream bb 2f5abff036 (17 commits through #6511) - #100
Merged
Merged
Conversation
Upstream: 0950d00 Copy visible text for code, formatted spans and plain prose selections (get-bb#6487) Base: a2829ad Release: 0.48.0 (top of upstream CHANGELOG at this commit) Merged with git merge-tree --merge-base=a2829ad9df0c43ea690c75e2a3373fe26c849209, no conflicts. Prepared by scripts/upstream-sync.sh.
Upstream: 2f5abff Stop restyling the whole right panel on every resize frame (get-bb#6511) Base: 0950d00 Release: 0.48.0 (top of upstream CHANGELOG at this commit) Merged with git merge-tree --merge-base=0950d00f96; one conflict, resolved by hand: apps/app/src/components/secondary-panel/useSecondaryPanelResize.ts. Resolution keeps both sides. Upstream: applySwipeWidth, isDraggingRef gating of --secondary-swipe-width during a drag, and setIsResizing(true/false) moved into the drag branches with a final applySwipeWidth at drag end. Fork (Aleph width-class profiles): dragEndTick, widthWriter.pin()/commit(), class-reconcile effect that reads isDraggingRef. The handleSecondaryPanelDragging dependency list is [applySwipeWidth, setIsResizing, widthWriter]. Bead mk-8lcd6.8. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this does
Brings Aleph up to upstream bb
2f5abff036(17 first-parent commits past the recorded basea2829ad9df, through get-bb#6511).UPSTREAM_BASEis rewritten to2f5abff036; Aleph version unchanged (0.9.0). Two commits:5806c94f1fromscripts/upstream-sync.sh prepare: the 16 conflict-free commits,a2829ad9df..0950d00f96(through Copy visible text for code, formatted spans and plain prose selections get-bb/bb#6487).a110b9328by hand: upstream Stop restyling the whole right panel on every resize frame get-bb/bb#6511 (2f5abff036, "Stop restyling the whole right panel on every resize frame"), which conflicts inapps/app/src/components/secondary-panel/useSecondaryPanelResize.ts.Upstream commits: get-bb#6465 get-bb#6467 get-bb#6469 get-bb#6471 get-bb#6472 get-bb#6473 get-bb#6474 get-bb#6475 get-bb#6478 get-bb#6485 get-bb#6488 get-bb#6490 get-bb#6491 get-bb#6492 get-bb#6494 get-bb#6487 get-bb#6511. No migrations, no workflow, protocol or update-channel files, no dependency changes (only the
@get-bb/plugin-sdkversion string 0.6.96 to 0.6.97).get-bb#6511 resolution
Both sides kept, in
useSecondaryPanelResize.ts:applySwipeWidth, no--secondary-swipe-widthwrite during a drag (isDraggingRefgate),setIsResizing(true)moved into the drag-start branch andapplySwipeWidth(last size)thensetIsResizing(false)on drag end; the new upstream tests inuseSecondaryPanelResize.test.tsxmerged unchanged.useSecondaryPanelResize.ts):dragEndTick,widthWriter.pin()at drag start,widthWriter.commit()at drag end, and the class-reconcile effect that skips whileisDraggingRefis set.setIsResizing(isDragging)that upstream replaced (dropped, since both branches now set it), and theuseCallbackdependencies ([applySwipeWidth, setIsResizing, widthWriter];widthWriteris the fork's replacement forsetPersistedWidthPercentin that callback).Fork surfaces touching the secondary panel (
ThreadSecondaryPanel.tsx, the design-wiki thread panel from PRs 97/99) are unchanged by this PR and their tests pass.Next upstream conflict (not resolved here)
After this step: next conflicting upstream commit is get-bb#6513
8c184323a("Count source updates from the running commit, not the checkout HEAD"),packages/bb-app/src/app-update/launcher-controller.ts(ledger: signed-update-channel). 198 upstream first-parent commits remain behind.Gate (clone at thread storage, one suite at a time,
nice -n 19 ionice -c3, CI=1, 8 workers)0d107490aea110b9328install-machine-script.test.ts"resolves an unset HOME" cases timing out at 60s while the full suite ran (753s run); the same file run alone at head passes 53/53 (242s). They are timing-sensitive under load: they passed at main in this run and passed in the isolated head run.apps/appPluginIcon.test.tsx > resolves every named branding.icon the shipped plugins declaresince the fork's design-wiki plugin declaresbranding.icon: "BookOpen", whichisBuiltinIconNamerejects. Needs its own fix.--filter=...selector is rejected by turbo 2.10; the prep ran the same four tasks without it.Review receipt
Packaged cross-lab review (Clavain 0.6.332 dispatch, role cross-lab-review), reviewer gpt-6.1-sol, producer claude-sonnet-5-5, head a110b93: VERDICT: PASS WITH NOTES.
/home/mk/.local/state/clavain/reviews/mistakeknot__aleph/100-a110b93285e14d38771aef29116ed4845592e220.json22be4d0ee246a064a0305e15c8872475b315c567796b4ec7040a2a7ccc2e199937cc7df3edf9dffb33c78491b9dd259a2066126f611f76ab907581824909ec81useSecondaryPanelResize.test.tsxcovers swipe-width suppression and release during a drag, but not a width-class change, pinned persistence, post-drag reconciliation or the resizing atom in the merged hook. Left as a follow-up so this head keeps its receipt.Impact
Bead mk-8lcd6.8, card ALPH-272.
🤖 Generated with Claude Code