Skip to content

fix(web): the pull request row's wrap-up box is per thread and its Settings link works - #264

Merged
badcuban merged 1 commit into
mainfrom
threadlines/fix-wrap-up-thread-setting
Sep 9, 2026
Merged

fix(web): the pull request row's wrap-up box is per thread and its Settings link works#264
badcuban merged 1 commit into
mainfrom
threadlines/fix-wrap-up-thread-setting

Conversation

@badcuban

@badcuban badcuban commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

The "Wrap up thread after merge or close" checkbox in the composer's pull request popup flipped the app-wide setting for every thread, and the grey "Settings" hint beside it was plain text that went nowhere.

Each thread now keeps its own wrap-up choice in the local UI state store, falling back to the app setting until the box is clicked. The sidebar files a thread under Wrapped by that per-thread answer, and the choice is dropped with the thread and survives a restart. The hint is a real link that jumps to the "Wrap up merged threads" row in general settings, which now carries an anchor id.

Note: the app-wide setting is a per-device client setting, so the per-thread choice is kept per device as well. Making it follow the thread across devices would need a server-side thread field like the auto-fix switch.

Gates: vp fmt, vp lint, vp run typecheck, web unit tests for uiStateStore, and the web browser suite (52 files, 572 tests) all pass.

…ttings link works

The "Wrap up thread after merge or close" checkbox in the composer's pull
request popup flipped the app-wide setting for every thread, and the grey
"Settings" hint beside it was plain text that went nowhere.

Each thread now keeps its own wrap-up choice in the local UI state store,
falling back to the app setting until the box is clicked. The sidebar files
a thread under Wrapped by that per-thread answer. The hint is a real link
that jumps to the "Wrap up merged threads" row in general settings.
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Sep 9, 2026 8:38pm UTC

Request Review

@github-actions github-actions Bot added the size:L label Sep 9, 2026
@badcuban
badcuban enabled auto-merge September 9, 2026 20:38
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Sep 9, 2026
@badcuban
badcuban added this pull request to the merge queue Sep 9, 2026
Merged via the queue into main with commit c45fd28 Sep 9, 2026
16 checks passed
@badcuban
badcuban deleted the threadlines/fix-wrap-up-thread-setting branch September 9, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 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