Skip to content

fix(issues): Shorten sidebar activity timestamps#117451

Merged
scttcper merged 1 commit into
masterfrom
scttcper/short-activity-dates
Jun 11, 2026
Merged

fix(issues): Shorten sidebar activity timestamps#117451
scttcper merged 1 commit into
masterfrom
scttcper/short-activity-dates

Conversation

@scttcper

@scttcper scttcper commented Jun 11, 2026

Copy link
Copy Markdown
Member

Shortens the relative dates in the issue details sidebar activity feed so rows read like 10m ago.

The standalone activity view keeps the full labels.

This is not behind the feature flag since it impacted the other version as well

before

image

after

image

The issue details sidebar is tight, and the full relative date labels made the activity rows a little noisier than they need to be.

Use the extra-short relative date format only for the sidebar variant. The standalone activity view keeps the existing full labels.

Co-Authored-By: Codex GPT-5 <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 11, 2026
@scttcper scttcper marked this pull request as ready for review June 11, 2026 18:49
@scttcper scttcper requested a review from a team as a code owner June 11, 2026 18:49
@scttcper scttcper requested a review from a team June 11, 2026 18:50

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 40437ed. Configure here.

item => !filterComments || item.type === GroupActivityType.NOTE
);
const inputVariant = variant === 'sidebar' ? 'compact' : 'full';
const timestampUnitStyle = variant === 'sidebar' ? 'extraShort' : undefined;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Months display as minutes

Medium Severity

Sidebar activity timestamps use extraShort via TimeSince, but getDuration labels both minutes and months with m. Older sidebar rows can read like recent minutes (for example 2m ago for activity two months old), which misstates when the event happened.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 40437ed. Configure here.

@scttcper scttcper merged commit c60ecfe into master Jun 11, 2026
74 checks passed
@scttcper scttcper deleted the scttcper/short-activity-dates branch June 11, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants