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 — feat(app): show dates for older sessions in the command palette by usrnk1 · Pull Request #62314 · anomalyco/opencode

Conversation

@usrnk1

@usrnk1 usrnk1 commented Nov 6, 2026 •
edited by opencodejr Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Sessions in the command palette show "Xd ago" forever (153d ago), which makes older sessions with similar titles hard to tell apart. From 7 days on, the palette now shows a short date (Oct 23, or Jun 4, 2025 for an earlier year), matching the TUI's 7-day cutoff. Hovering the time shows the full date and time in a v2 tooltip, and the time column uses tabular digits so same-shape values line up.

  • getRelativeTime (shell/time.ts) takes the app locale and switches to Intl.DateTimeFormat after 6 days. Settings → Workspaces uses the same helper, so its "last active" times change the same way.
  • Busy sessions still show only the activity ring.
  • No new copy: the date and tooltip come from Intl in the app's language.

Related #62048 (this covers the search palette; the home session list still shows no time).

Before / after

Same live server, same rep search, light theme.

Before:

After:

Tooltip:

Checks

  • bun test src/shell/time.test.ts (packages/app): 6 pass, also under TZ=Pacific/Kiritimati, Pacific/Auckland, America/Los_Angeles
  • bun typecheck (packages/app): pass
  • bun run lint:changed origin/dev: 0 problems

Visual

<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none">
  <style>
    .a{animation:a 4s ease-in-out infinite}
    .b{opacity:0;animation:b 4s ease-in-out infinite}
    @keyframes a{0%,40%{opacity:1}50%,90%{opacity:0}100%{opacity:1}}
    @keyframes b{0%,40%{opacity:0}50%,90%{opacity:1}100%{opacity:0}}
    @media (prefers-reduced-motion:reduce){.a{animation:none;opacity:0}.b{animation:none;opacity:1}}
  </style>
  <rect x="8" y="10" width="224" height="52" rx="8" stroke="currentColor" stroke-opacity=".25"/>
  <rect x="18" y="20" width="10" height="10" rx="2" fill="currentColor" fill-opacity=".6"/>
  <rect x="34" y="22" width="96" height="6" rx="3" fill="currentColor" fill-opacity=".7"/>
  <rect x="18" y="42" width="10" height="10" rx="2" fill="currentColor" fill-opacity=".6"/>
  <rect x="34" y="44" width="80" height="6" rx="3" fill="currentColor" fill-opacity=".7"/>
  <g font-family="sans-serif" font-size="10" fill="currentColor" fill-opacity=".6" text-anchor="end">
    <text x="222" y="29">6d ago</text>
    <text class="a" x="222" y="51">153d ago</text>
    <text class="b" x="222" y="51">Jun 5</text>
  </g>
</svg>

Added by the opencode bot (AI-generated).

Related: #62048

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1
feat(app): show dates for older sessions in the command palette
5de96bd
@usrnk1
usrnk1 requested review from Brendonovich and Hona as code owners November 6, 2026 09:44
@github-actions github-actions Bot added the contributor label Nov 6, 2026
opencodejr[bot]
opencodejr Bot reviewed Nov 6, 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.

Looks sound. I ran the new time.test.ts (6 pass, also under three other time zones) and the app type check (tsc -b, passes). I didn't render the palette myself because it's a web app view; your screenshots cover that.

Public API unchanged: getRelativeTime is internal to packages/app, and its two callers are both updated.

No blocking concerns.

Related: #62048

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1 usrnk1 mentioned this pull request Nov 6, 2026
[FEATURE]: Desktop session picker: show date/time of last activity on each session #62048
Closed
1 task done
@usrnk1
usrnk1 enabled auto-merge (squash) November 6, 2026 09:48
@usrnk1
Merge branch 'dev' into palette-time
ff82abf
opencodejr[bot]
opencodejr Bot reviewed Nov 6, 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 new push only merges dev; this pull request's own changes are the same as before. time.test.ts (6 pass) and the app type check (tsc -b) still pass. The public API is unchanged, and there are no new concerns.

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1
usrnk1 merged commit 811bfc8 into dev Nov 6, 2026
20 checks passed

Uh oh!

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

@usrnk1
usrnk1 deleted the palette-time branch November 6, 2026 10:25
@adamdotdevin adamdotdevin mentioned this pull request Nov 6, 2026
release: opencode.ai site launch (dev → production) #62352
Merged
@amrkmn amrkmn mentioned this pull request Nov 7, 2026
opencode 2.2.6 amrkmn/homebrew-tap#1217
Closed
1 task
This was referenced Nov 7, 2026
feat: opencode release v2.2.6 sprisa/opencode-server#84
Merged
Tool release: OpenCode 2 v2.2.6 (was v2.2.5) agent-sh/agnix#1808
Closed
@wmfeht wmfeht mentioned this pull request Nov 7, 2026
Keep fields flat on OpenCode Desktop 2.2.6 wmfeht/omarchy-opencode-theme#3
Merged
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
@Hona Hona Awaiting requested review from Hona
@Brendonovich Brendonovich Awaiting requested review from Brendonovich

Uh oh!

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

Assignees

No one assigned

Labels

contributor

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

@usrnk1
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.