Repository navigation
fix(web,mobile): forks from a response get a title in the app's language - #46840
Conversation
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — New response forks receive localized initial titles on web and mobile instead of an English suffix. Human review is needed for this change to the default naming behavior; existing thread titles are unaffected. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
EvidenceOn both commits, create synthetic project demo and thread Notizen with a completed Replay (dev) response; select Deutsch in Settings → General → Language; open Notizen and tap Ab dieser Antwort forken; observe the initial fork title before sending anything else. Web uses the multi-turn recording and exact committed title assertion; iOS uses the repository showcase recording. Return to the iOS thread list to show the full title and unchanged source title. Web: Chromium, 1280×800, light theme, isolated fresh database per commit. iOS: pooled iPhone 17 Pro simulator, iOS 27.2, 402×874 screenshots, light theme; each commit's own backend and Metro bundle, same cached native dev client fingerprint.
Base displays Notizen fork; head displays Fork von Notizen. The source remains Notizen. No further turn was sent. Mobile still pairs had zero differing pixels when captured more than 500 ms apart. The longer iOS title is ellipsized in the narrow conversation header; the supplemental list captures show it in full. Head's supplemental list has environment badges because the previous base connection is saved but disabled. The English web timestamp and existing English mobile lineage label are outside this change. The unchanged committed scenario also failed on base at its exact title assertion and passed on head: scenario source, verdict and steps. Its helper needed a bounded retry while the real replay model catalogue was loading: harness-only patch. The displayed web stills use this capture scenario, which adds replay initialization, waits for fork navigation and settles hover opacity without changing the title assertion. Mobile seed script. Not exercised: Android, Electron shell, and languages other than German. Not shown:
|
Ported 13 cross-layer upstream commits: pingdotgg#45961, pingdotgg#46662, pingdotgg#46705, pingdotgg#46756, pingdotgg#46750, pingdotgg#46778, pingdotgg#46840, pingdotgg#46844, pingdotgg#46891, pingdotgg#46932, pingdotgg#47015, pingdotgg#47089, pingdotgg#44864. (pingdotgg#46704 confirmed already solved with superior T4 implementation in 0a32ef3.) Preserved all locked T4 customizations including Lock pingdotgg#18 mentionMenu gating, Lock pingdotgg#21 Tiptap editor, and Task Board /board split-view fork guard.




Problem
Forking from a response always titles the new thread
<source title> fork, so a German user forkingNotizengetsNotizen forkin the header and sidebar. The web hook (useTimelineRewind.ts) and the mobile feed (ThreadFeed.tsx) build that title with an untranslated template literal, andThreadForkServicepersists the supplied title unchanged.Deterministic repro on
origin/main(89ba000739860234ab35d78ea70b9084c81d23c7):vp run scenarios:prove scripts/scenarios/fork-title-follows-language.e2e.ts --base 89ba000739860234ab35d78ea70b9084c81d23c7(Replay (dev), WEB). It seeds projectdemowith threadNotizenand one completed response, sets the language to Deutsch, clicks the first "Ab dieser Antwort forken", and checks the new thread before any further turn.Notizen fork.Fork von Notizen. Existing titles and later renames don't change when the language changes.Change
Both clients now resolve one interpolated message,
{title} fork, in the active language when they create the fork (m(msg(...))on web,gt(...)on mobile), and send it as the title. English output is unchanged, and the server, the RPC and storage are untouched. The new key is added to the web and mobile catalogs with translations for every locale.Scope
Small fix for an obvious bug; no issue needed under CONTRIBUTING.md.
Verification
scenarios:proveexits 0: fails on base89ba000739(expect.toBeVisible getByRole("button", name: "Thread-Aktionen für Fork von Notizen")→ no node) and passes on head.vp run check:changedexits 0 (format, lint, knip, typecheck, React Compiler, affected tests).vp run i18n:checkpasses.Notizen fork)Fork von Notizen)Not shown: the mobile fork action wasn't run on a device (iOS scenarios need a Simlock lease). It's the same one-line change through
gt, and the catalog key passesi18n:check. The desktop shell is also not shown separately because it renders the same web hook.Authored by Claude Opus 5.5 (Model Hub); reviewed by GPT-6.2 Sol (Codex).
Not shown
check:changedpassing, but the linked transcript only recordsscenarios:prove; attach thecheck:changedoutput tied toe8b378e4b0if available.