[GH-ISSUE #8163] [docs-i18n] docs/chats/branches.md + UI packs (branch graph window) #7590

Closed
opened 2026-10-24 04:04:33 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ylli-selmani on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8163

Originally assigned to: @ylli-selmani on GitHub.

English docs and UI strings changed in #8160 (branch graph window, #8157).

Docs: docs/chats/branches.md

  • The intro's list of topics gains "viewing the branch graph".
  • New subsection See the branch graph under The Chat Branches section, after Switch to another branch. It covers:
    • opening the graph from the tree button in the section's header, or in a popped-out window's title bar;
    • the graph's own movable, resizable window, which is a sheet on phones;
    • one row per chat in tree order, with one dot per message coloured by role;
    • the line joining each branch to the message it was branched from;
    • the dashed line and Fork not recorded legend for branches with no recorded fork point;
    • ··· N ··· markers, Expand all and Collapse long runs;
    • hover or focus text on fork and latest-message rings;
    • clicking a row to switch branches;
    • when the graph updates.

Translated packs on docs-i18n need the same edits in every language folder (de, es, fr, hi, ja, ko, pl, pt-br, ru, zh-hans). Keep UI labels in English bold, and use the final merged staging text.

UI packs: ui/*.json (ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans)

  • Added. No pack has these yet, so they show in English until translated. Keep {{…}} placeholders, and keep the _one/_other plural pair:
    • chat.settings.branchGraph ("Branch graph", the window title)
    • chat.settings.branchGraphOpen ("Open the branch graph", the header button)
    • chat.settings.branchGraphCollapseAll, chat.settings.branchGraphExpandAll
    • chat.settings.branchGraphExpandRun_one / _other ("Show {{count}} hidden message(s)", a marker's accessible label)
    • chat.settings.branchGraphRun ("··· {{number}} ···", the marker itself; usually left as is)
    • chat.settings.branchGraphEmpty, chat.settings.branchGraphError, chat.settings.branchGraphLoading
    • chat.settings.branchGraphFork ("Fork point"), chat.settings.branchGraphLatest ("Latest message")
    • chat.settings.branchGraphLegendCharacter, chat.settings.branchGraphLegendGuess, chat.settings.branchGraphLegendOther
    • chat.settings.branchGraphPoint (#{{number}} · {{speaker}} · "{{snippet}}")
    • chat.settings.branchGraphSpeakerNarrator, chat.settings.branchGraphSpeakerReply, chat.settings.branchGraphSpeakerSystem, chat.settings.branchGraphSpeakerYou
    • chat.settings.branchGraphSwitchTo ("Switch to {{name}}")

Afterwards, run node scripts/ui-i18n/validate-packs.mjs <engine-checkout>/packages/client/src/localization/locales/en.json --write-manifest on docs-i18n.

Follow-up: #8192 (also part of #8157, fitting the graph to its window)

  • docs/chats/branches.md, See the branch graph: one new sentence after "On a phone, it opens as a sheet.":
    • "The graph fills the window: a bigger window folds fewer stretches, and a graph with room to spare zooms in and spreads out."
  • No UI strings changed.

Follow-up: #8209 (rows fill the window's height; a slightly-too-wide graph shrinks; the graph button moves)

  • docs/chats/branches.md, See the branch graph: the sentence from #8192 changes. If #8192's version was already translated, replace it; otherwise translate only this one:
    • "The graph fills the window: a bigger window folds fewer stretches, and a graph with room to spare zooms in and spreads out. A graph slightly too wide shrinks to fit, down to three-quarters size, and scrolls sideways beyond that. The rows share the window's height, and scroll when there are too many chats to fit."
  • docs/chats/branches.md, See the branch graph, step 2 now reads:
    • "Click the Branch graph button, the long button above the export buttons. Click it again to close the graph."
  • No UI strings added or changed. Two keys from #8157 are used differently, which may matter for the wording you pick:
    • chat.settings.branchGraph ("Branch graph") is now also the button's label, not only the window title.
    • chat.settings.branchGraphOpen ("Open the branch graph") is now the button's tooltip, not a header icon's label.
Originally created by @ylli-selmani on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8163 Originally assigned to: @ylli-selmani on GitHub. English docs and UI strings changed in #8160 (branch graph window, #8157). **Docs:** `docs/chats/branches.md` - The intro's list of topics gains "viewing the branch graph". - New subsection **See the branch graph** under **The Chat Branches section**, after **Switch to another branch**. It covers: - opening the graph from the tree button in the section's header, or in a popped-out window's title bar; - the graph's own movable, resizable window, which is a sheet on phones; - one row per chat in tree order, with one dot per message coloured by role; - the line joining each branch to the message it was branched from; - the dashed line and **Fork not recorded** legend for branches with no recorded fork point; - **··· N ···** markers, **Expand all** and **Collapse long runs**; - hover or focus text on fork and latest-message rings; - clicking a row to switch branches; - when the graph updates. Translated packs on `docs-i18n` need the same edits in every language folder (de, es, fr, hi, ja, ko, pl, pt-br, ru, zh-hans). Keep UI labels in English bold, and use the final merged `staging` text. **UI packs:** `ui/*.json` (ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans) - Added. No pack has these yet, so they show in English until translated. Keep `{{…}}` placeholders, and keep the `_one`/`_other` plural pair: - `chat.settings.branchGraph` ("Branch graph", the window title) - `chat.settings.branchGraphOpen` ("Open the branch graph", the header button) - `chat.settings.branchGraphCollapseAll`, `chat.settings.branchGraphExpandAll` - `chat.settings.branchGraphExpandRun_one` / `_other` ("Show {{count}} hidden message(s)", a marker's accessible label) - `chat.settings.branchGraphRun` ("··· {{number}} ···", the marker itself; usually left as is) - `chat.settings.branchGraphEmpty`, `chat.settings.branchGraphError`, `chat.settings.branchGraphLoading` - `chat.settings.branchGraphFork` ("Fork point"), `chat.settings.branchGraphLatest` ("Latest message") - `chat.settings.branchGraphLegendCharacter`, `chat.settings.branchGraphLegendGuess`, `chat.settings.branchGraphLegendOther` - `chat.settings.branchGraphPoint` (`#{{number}} · {{speaker}} · "{{snippet}}"`) - `chat.settings.branchGraphSpeakerNarrator`, `chat.settings.branchGraphSpeakerReply`, `chat.settings.branchGraphSpeakerSystem`, `chat.settings.branchGraphSpeakerYou` - `chat.settings.branchGraphSwitchTo` ("Switch to {{name}}") Afterwards, run `node scripts/ui-i18n/validate-packs.mjs <engine-checkout>/packages/client/src/localization/locales/en.json --write-manifest` on `docs-i18n`. **Follow-up: #8192** (also part of #8157, fitting the graph to its window) - `docs/chats/branches.md`, **See the branch graph**: one new sentence after "On a phone, it opens as a sheet.": - "The graph fills the window: a bigger window folds fewer stretches, and a graph with room to spare zooms in and spreads out." - No UI strings changed. **Follow-up: #8209** (rows fill the window's height; a slightly-too-wide graph shrinks; the graph button moves) - `docs/chats/branches.md`, **See the branch graph**: the sentence from #8192 changes. If #8192's version was already translated, replace it; otherwise translate only this one: - "The graph fills the window: a bigger window folds fewer stretches, and a graph with room to spare zooms in and spreads out. A graph slightly too wide shrinks to fit, down to three-quarters size, and scrolls sideways beyond that. The rows share the window's height, and scroll when there are too many chats to fit." - `docs/chats/branches.md`, **See the branch graph**, step 2 now reads: - "Click the **Branch graph** button, the long button above the export buttons. Click it again to close the graph." - No UI strings added or changed. Two keys from #8157 are used differently, which may matter for the wording you pick: - `chat.settings.branchGraph` ("Branch graph") is now also the button's label, not only the window title. - `chat.settings.branchGraphOpen` ("Open the branch graph") is now the button's tooltip, not a header icon's label.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7590
No description provided.