Repository navigation
[rehearsal] Rebase fork onto v0.0.46-nightly.20261007.2761 - #2
Closed
aidenwboudr wants to merge 360 commits into
Closed
aidenwboudr wants to merge 360 commits into
aidenwboudr wants to merge 360 commits into
Conversation
…gg#15427) Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…15504) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tements (pingdotgg#15411) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ailing (pingdotgg#15488) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… wake (pingdotgg#15418) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ingdotgg#15551) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tion (pingdotgg#15563) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…ingdotgg#15505) Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
… cards (pingdotgg#15506) Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…ngdotgg#16630) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…6661) Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…g#9786) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…#9788) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…#10298) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…rver (pingdotgg#16718) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Typeset $…$, $$…$$, \(…\) and \[…\] in chat and Markdown previews behind Settings → Appearance → Render math (off by default). Math is parsed by a micromark construct, so code, links, escapes and source offsets keep their CommonMark meaning; KaTeX loads lazily only when a formula renders. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 3a9a02b)
A `$$` or `\[` block needs its closing line before it typesets, so a formula arriving token by token no longer flips between KaTeX output and source on every prefix. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 5ad0fd0)
(cherry picked from commit 2c23464)
(cherry picked from commit 351a7cd)
(cherry picked from commit d1cf6bc)
(cherry picked from commit f703409)
(cherry picked from commit 0e30149)
(cherry picked from commit 80da5b7)
(cherry picked from commit 6446708)
(cherry picked from commit 7c7a2d1)
"It costs $5 and $10, and `$HOME`" turned "$5 … `$" into a broken formula and swallowed the code span, because inline math scanned straight through the backtick to the `$` inside it. A formula now gives up at a backtick, so the code span wins as CommonMark precedence says it should. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream keeps math opt-in. This fork is for a user who wants it on, so flip the client-setting default; Settings → Appearance can still turn it off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Rehearsal for t3-fork-watch: rebase, 6166 tests, build and render check all passed. Closing; real runs only target stable releases. |
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.
Rehearsal — do not merge. t3-fork-watch rehearsed moving the fork onto upstream
v0.0.46-nightly.20261007.2761(a nightly, not a stable release).Decision: rebase (not retire)
v0.0.46-nightly.20261007.2761?5e35272)Upstream doesn't render math on its own and still has the backtick bug (
It costs $5 and $10, and \$HOME`` — the fix is fork-only and pingdotgg#14574's head doesn't have it).How it was rebuilt
Instead of re-applying the squashed fork commit, the branch starts at the tag and cherry-picks each open PR's current head commits (
-x), then three fork-only commits: the backtick fix + tests, math on by default, FORK.md +scripts/fork-build-linux.sh. All the PR heads are the same commits the fork carried on 2026-10-07; none gained new fixes since.Conflicts resolved:
ChatMarkdown.test.tsx(fix(web): render completed Mermaid blocks while streaming pingdotgg/t3code#16221): upstream added a bare-anchordescribeblock where fix(web): render completed Mermaid blocks while streaming pingdotgg/t3code#16221 adds its streaming block; kept both.MermaidDiagram.tsx/markdown-clipboard.ts(fix(web): preserve Mermaid source when copying selected text pingdotgg/t3code#16249 vs feat(web): opt-in LaTeX math rendering in chat pingdotgg/t3code#14574/fix(web): render completed Mermaid blocks while streaming pingdotgg/t3code#16221): same resolution the fork used before. The wrapper keepschat-markdown-mermaidplusdata-markdown-mermaid/data-markdown-copy, and one clipboard branch handles[data-markdown-math], [data-markdown-mermaid].No lockfile changes beyond the PR commits (
pnpm installwas clean).Results
pnpm install: clean, no lockfile changes.apps/webpnpm run typecheck: pass.apps/webpnpm run test: pass, 461 files / 6166 tests.scripts/fork-build-linux.sh 0.0.46-nightly.20261007.2761: pass, wroterelease/T3-Code-0.0.46-nightly.20261007.2761-x86_64.AppImage(161 MB).render-check.mjs: exit 0.{"ok":true,"katex":4,"katexErrors":0,"diagrams":2,"diagramErrors":[],"homeIsCode":true,"pricesAreText":true,"screenshots":"/home/boudreau/.local/state/t3-fork-watch/runs/rehearse-v0.0.46-nightly.20261007.2761/render"}$5 and $10stay prose, and$HOMEstays a code span. The screenshots are kept on the homelab in the run folder (~/.local/state/t3-fork-watch/runs/rehearse-v0.0.46-nightly.20261007.2761/render/).Found in rehearsal: the update feed for a nightly version
Because the version string has a
-nightly…prerelease part, electron-builder put the update channel inrelease/nightly-linux.yml. Therelease/latest-linux.ymlsitting next to it is stale, left over from the 0.0.45 build (version: 0.0.45). If the ship step uploadedrelease/latest-linux.ymlfor a nightly tag as written, the laptop updater would read a 0.0.45 manifest. For a stable tag (e.g.0.0.46), the build writeslatest-linux.ymland this doesn't come up. If a nightly is ever shipped, upload the freshnightly-linux.ymlaslatest-linux.ymland check theversion:line first.🤖 Generated with Claude Code