GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(app): restore message footers in the New timeline by arvsrn · Pull Request #63513 · anomalyco/opencode

Conversation

@arvsrn

@arvsrn arvsrn commented Nov 12, 2026

Copy link
Copy Markdown
Member

What

Behind the New timeline setting, message footers regressed against the current timeline. This restores them. All edits are in packages/session-ui/src/timeline-next/timeline-next.css.

  • Hover was lost on the way to the footer. The New timeline pulls the response footer (and the footer of a user message with no text) out of flow with position: absolute; top: 100%. Its 8px top margin then fell outside the message, so crossing the gap dropped the hover and hid the footer. The gap is now the footer's own padding-top (height: 28px, margin-top: 0), so it stays inside the message. Same visible position as before.
  • The response footer sat about 3.4px too close to the text. text-box: trim-both text on the markdown trimmed the last line's bottom half-leading, so the footer's 8px was measured from the trimmed edge. Text parts that have a footer now use trim-start text, so the footer measures from the line box as in the current timeline. The row after a turn's last text sits about 3.4px lower; the 32px gap still holds the 28px footer.

Feature flag

No new flag. Every rule sits under [data-timeline="next"], which only the New timeline's rows carry, and the renderer is chosen by settings.general.newTimeline(). The current timeline is unchanged.

Testing

  • bun typecheck in packages/session-ui.
  • Measured both timelines side by side in the timeline-compare--compare story: footer offsets, and elementFromPoint over the gap and the footer.
  • The CSS was injected into the story rather than served from this branch.
  • Not checked in the desktop app: the dev app could not start next to other running dev services (devtools port, user data dir, managed service ports).
  • No Playwright specs run.
  • Not checked live: attachment-only user messages, pending steers, folded runs, narrow and touch layouts.

Visual

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 72" width="240" height="72" fill="none" stroke="currentColor">
  <style>
    .p{animation:m 3s ease-in-out infinite}
    .f{animation:f 3s ease-in-out infinite;opacity:0}
    .g{animation:g 3s ease-in-out infinite;opacity:0}
    @keyframes m{0%,15%{transform:translate(0,0)}45%,100%{transform:translate(0,30px)}}
    @keyframes f{0%,15%{opacity:0}25%,85%{opacity:1}100%{opacity:0}}
    @keyframes g{0%,15%{opacity:0}25%,100%{opacity:.35}}
    @media (prefers-reduced-motion:reduce){.p,.f,.g{animation:none}.f{opacity:1}.g{opacity:.35}}
  </style>
  <rect x="16" y="10" width="140" height="6" rx="3" fill="currentColor" stroke="none" opacity=".5"/>
  <rect x="16" y="22" width="100" height="6" rx="3" fill="currentColor" stroke="none" opacity=".5"/>
  <rect class="g" x="14" y="28" width="212" height="20" rx="3" stroke-dasharray="3 3"/>
  <g class="f"><circle cx="22" cy="42" r="4"/><rect x="32" y="40" width="40" height="4" rx="2" fill="currentColor" stroke="none"/></g>
  <path class="p" d="M130 14l-4 12 4-3 3 6 2-1-3-6 5-1z" fill="currentColor"/>
</svg>

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arvsrn
fix(app): restore message footers in the New timeline
f80624a
opencodejr[bot]
opencodejr Bot reviewed Nov 12, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks sound, but I couldn't check it in a browser here: there is no browser in this environment, so I reviewed the CSS against message-part.css and the footer markup in message-content.tsx.

The hover fix holds up. The app uses border-box globally, so 28px of height with 8px of top padding keeps the 20px content box, and the buttons sit where they did. The gap is now inside the footer, so the text part's :hover holds while the pointer crosses it. The user-message footer holds its own buttons only when the message has no text, and there the :has(... button):hover and :not(:has(body)):hover rules now keep it shown across the gap.

One small, non-blocking note: the reply footer only renders once the turn settles (hideCopy is true while the turn is live or retrying). So the trim-start rule adds about 3.4px to the last text part at that moment, or removes it on retry. In the New timeline the footer otherwise doesn't move the layout. Worth a quick look in the app to make sure this shift isn't noticeable.

Public API: unchanged (CSS only, scoped to [data-timeline="next"]).

Since I couldn't produce screenshots, a short before/after clip of hovering across the gap to the footer in the app would help reviewers.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arvsrn
arvsrn merged commit 82e39cc into dev Nov 12, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@arvsrn
arvsrn deleted the timeline-footers branch November 12, 2026 10:38
@jackxiao17 jackxiao17 mentioned this pull request Nov 13, 2026
New timeline: reply footer (model / duration / tok/s, copy) never appears - clipped by the virtualized row #63741
Closed
@arvsrn arvsrn mentioned this pull request Nov 13, 2026
fix(session-ui): keep message meta lines visible in the New timeline #63749
Merged
@kobzevvv kobzevvv mentioned this pull request Nov 13, 2026
chore(upstream): порт v2.3.0 — 101 в порт, 75 на решение gpt-mem/opencode-mem#222
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@arvsrn
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.