Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/issue-28059
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 3 files changed
  • 2 contributors

Commits on Oct 31, 2026

  1. fix(mobile): chat keeps <details> folds collapsed

    Assistant replies flattened every <details> fold into always-visible text.
    Split top-level folds out of each markdown segment in the thread feed and
    render them as a native collapsible, closed unless the tag has `open`, as on
    web. Pull request descriptions and other Markdown keep the flattening.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    a62c056 View commit details
    Browse the repository at this point in the history
  2. fix(mobile): harden chat <details> folds

    Fold boundaries, summaries and the open flag now come from real HTML tags,
    so tags in comments, attribute values and code no longer split a reply.
    Each segment carries the reference definitions it uses, an unclosed fold
    runs to the end while a reply streams, and a fold body renders once instead
    of being split again. Tapping a fold suspends end-of-feed scroll
    maintenance like the feed's other disclosures.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    6709f5f View commit details
    Browse the repository at this point in the history
  3. fix(mobile): close chat folds where web does

    An open fold now closes at any `</details>` outside code, including one
    inside a paragraph or list item, so the rest of the reply stays visible.
    Any depth-0 `<details>` in a top-level HTML block starts a fold, which
    splits compact sibling folds apart. Every segment carries all reference
    definitions, rebuilt from the tree, so escaped labels, quoted definitions
    and Unicode case folding resolve. Folds split before artifact templates,
    so a template inside a fold renders in its body. A comment may sit
    between `<details>` and `<summary>`.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    c47cb9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a040466 View commit details
    Browse the repository at this point in the history
  5. fix(mobile): carry reference definitions to every chat fragment as wr…

    …itten
    
    Copy each definition's source text instead of rebuilding it, so Windows
    destinations keep their backslashes, and add only the definitions a
    fragment mentions, after artifact templates are split out.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    d1802e5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b140747 View commit details
    Browse the repository at this point in the history
  7. fix(mobile): read fold-split definitions after HTML flattening

    Definitions inside a compact HTML block are hidden from the raw parse but
    exposed by flattening, and reference labels may wrap, so read definitions
    from the flattened Markdown and match labels with collapsed whitespace.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    f7168d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5eddd6a View commit details
    Browse the repository at this point in the history
  9. fix(mobile): size images in a fold body to its indented width

    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 31, 2026
    Configuration menu
    Copy the full SHA
    b399858 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c07da4b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4718514 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2026

  1. Merge remote-tracking branch 'origin/main' into fix/issue-28059

    # Conflicts:
    #	apps/mobile/src/features/threads/ThreadFeed.tsx
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    89740b1 View commit details
    Browse the repository at this point in the history
  2. fix(mobile): reference links resolve across chat fold boundaries

    Main now renders chat folds natively, but each fold body, the text around
    it and the text between artifact cards render as separate Markdown
    documents, so a [text][ref] whose definition sits in another fragment
    showed as literal brackets. Drop this branch's own fold splitter and UI in
    favour of main's, and keep the reference-definition fix: read the reply's
    definitions once (after HTML flattening) and prepend to each fragment the
    ones it mentions, copied as written.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    336c52c View commit details
    Browse the repository at this point in the history
  3. fix(mobile): carried reference definitions match the whole reply

    - Strip only the enclosing quotes' markers and indent from a wrapped
      definition, so a literal ">" in a label stays part of it.
    - A fragment that defines a label keeps its own definition instead of
      getting another fragment's prepended ahead of it.
    - Read definitions only when a reply splits into more than one fragment,
      so unsplit replies skip the extra parse on every streaming update.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    c3f0a22 View commit details
    Browse the repository at this point in the history
  4. fix(mobile): match carried reference labels with surrounding spaces

    A label written as [ x ] did not match a fold's own [x] definition, so
    the outside definition was prepended and took over the fold's link. Trim
    labels and normalize bracket contents in the fragment the same way, as
    CommonMark does, before the mention and self-definition checks.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    e60e8f4 View commit details
    Browse the repository at this point in the history
Loading