Skip to content

Reader Spaces: hide day-group headers on the Discover feed#112236

Merged
mlaetitia merged 2 commits into
trunkfrom
update/reader-spaces-discover-hide-day-groups
Jul 3, 2026
Merged

Reader Spaces: hide day-group headers on the Discover feed#112236
mlaetitia merged 2 commits into
trunkfrom
update/reader-spaces-discover-hide-day-groups

Conversation

@mlaetitia

Copy link
Copy Markdown
Contributor

Related to RSM-4440

Proposed changes

  • On a Space's Discover feed, the Compact list layout no longer renders day-group section headers ("Today", "Yesterday", "Earlier this week", "Older"). The header rows are now gated on the existing showTimestamp prop (already false on Discover), so Discover shows an ungrouped list while the chronological posts feed keeps its headers unchanged.

Why are these changes being made?

  • Discover is recommendation-ranked, not chronological. Grouping recommended posts under date headers is a false-chronology cue — the same reason the per-post "time ago" stamp was already hidden on Discover. That earlier change removed the weaker cue (per-post stamp) but left the stronger one (day grouping), so Discover still implied a date ordering it doesn't have. This closes that gap.

Testing instructions

  • Open a Space and switch it to the Compact list layout.
  • On the Posts tab: day-group headers ("Today", "Yesterday", …) still appear, and per-post timestamps show.
  • On the Discover tab: no day-group headers, no per-post timestamps — just the recommended posts in their returned order.
  • yarn test-client client/reader/spaces/feed/layouts/test/standard-list.test.tsx — 5 passing.

Discover is recommendation-ranked, not chronological, so the Compact list
layout's day-group headers (Today/Yesterday/Earlier this week/Older)
misrepresent ordering the same way per-post timestamps did. Gate the headers
on the existing showTimestamp flag, which is already false on Discover; the
chronological posts feed keeps them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mlaetitia
mlaetitia marked this pull request as ready for review July 3, 2026 14:55
@mlaetitia
mlaetitia requested a review from a team as a code owner July 3, 2026 14:55
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 3, 2026
@mlaetitia
mlaetitia added this pull request to the merge queue Jul 3, 2026
Merged via the queue into trunk with commit c63e6ed Jul 3, 2026
13 checks passed
@mlaetitia
mlaetitia deleted the update/reader-spaces-discover-hide-day-groups branch July 3, 2026 16:21
@github-actions github-actions Bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants