Skip to content

refactor(explore): remove the For You section#14525

Merged
dylanjeffers merged 1 commit into
mainfrom
remove/explore-for-you-section
Jul 16, 2026
Merged

refactor(explore): remove the For You section#14525
dylanjeffers merged 1 commit into
mainfrom
remove/explore-for-you-section

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

What

Removes the For You section from the Explore page on both web and mobile. The For You feed now lives in the Feed tab, so Explore no longer needs its own personalized section.

The important detail

There were two unrelated "For You" features that shared only a display string:

Explore "For You" (removed) Feed "For You" tab (untouched)
Hook useRecommendedTracks useForYouFeed
Endpoint /users/{id}/recommended-tracks /users/{id}/feed/for-you

Explore was the only consumer of the useRecommendedTracks stack, so it's deleted entirely rather than just hidden. The Feed tab's useForYouFeed is not touched.

Changes

Deleted outright:

  • RecommendedTracksSection.tsx (web) and ForYouTracks.tsx (mobile)
  • useRecommendedTracks.ts + its barrel export
  • recommendedTracks query key
  • recommendedTracks: 'Recommended' queue-source label (unreachable once the query key is gone)
  • exploreMessages.forYou

Call sites removed from the desktop/mobile web SearchExplorePage and mobile ExploreContent.

Note: FeedTabs.tsx renders its own local 'For You' string and never imported exploreMessages, so removing that key does not affect the Feed tab label.

Testing

  • tsc --noEmit passes on common, web, and mobile
  • No test files referenced either feature, so nothing to update — worth a manual pass over Explore and the Feed tab
  • Diff is pure deletion: 156 lines removed, 0 added

🤖 Generated with Claude Code

The For You feed now lives in the Feed tab, so Explore no longer needs
its own personalized section.

Explore's "For You" was backed by `useRecommendedTracks`
(/users/{id}/recommended-tracks) — entirely separate from the Feed tab's
`useForYouFeed` (/users/{id}/feed/for-you), which is untouched. The two
only ever shared a display string.

Explore was the sole consumer of the recommended-tracks stack, so it is
removed in full: the web and mobile section components, the shared hook
and its export, the `recommendedTracks` query key, the now-unreachable
queue-source label, and the `forYou` message.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 759efcc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dylanjeffers
dylanjeffers merged commit 275b468 into main Jul 16, 2026
13 checks passed
@dylanjeffers
dylanjeffers deleted the remove/explore-for-you-section branch July 16, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant