Skip to content

perf(web): recency sorts compare timestamps directly instead of throu… - #23395

Closed
Baker-Harrison wants to merge 1 commit into
pingdotgg:mainfrom
Baker-Harrison:claude/project-thread-qmn84f
Closed

Baker-Harrison wants to merge 1 commit into
pingdotgg:mainfrom
Baker-Harrison:claude/project-thread-qmn84f

Conversation

@Baker-Harrison

Copy link
Copy Markdown
Contributor

…gh locale collation

Recency sorts on PR lists, sidebar drafts and composer thread mentions compared ISO timestamps with localeCompare. Plain string comparison gives the same order without locale collation.

Claude-Session: https://claude.ai/code/session_01D8eusXBxd9KefbM96feKMs

Claude-Session: https://claude.ai/code/session_01Wf16iNrf3y8asfdkhCSn7P

Problem

Change

Scope and approval

Verification

…gh locale collation

Recency sorts on PR lists, sidebar drafts and composer thread mentions
compared ISO timestamps with localeCompare. Plain string comparison gives
the same order without locale collation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8eusXBxd9KefbM96feKMs
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wf16iNrf3y8asfdkhCSn7P
@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 22, 2026
@Baker-Harrison
Baker-Harrison deleted the claude/project-thread-qmn84f branch October 22, 2026 06:31
@macroscopeapp

macroscopeapp Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 48d9e0e

Macroscope's review found this PR approvable — This is a narrowly scoped performance refactor replacing locale-based comparisons with direct comparisons for existing ISO timestamp sorts. It affects only ordering of existing pull-request, draft, and composer results while preserving their newest-first behavior, with no product defaults or static-analysis overrides changed.

You can add or adjust custom eligibility rules. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants