Skip to content

feat(profile): open profiles on Posts on mobile, About becomes a segment - #6892

Open
nimrodkra wants to merge 1 commit into
mainfrom
feat/profile-posts-first
Open

nimrodkra wants to merge 1 commit into
mainfrom
feat/profile-posts-first

Conversation

@nimrodkra

@nimrodkra nimrodkra commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What

On phones, /<username> now opens on the user's Posts, and About sits beside it as the second segment. The order is Posts · About · Replies · Upvoted, which matches the Squad page (Posts first, About second).

Until now, a phone profile opened on About (highlights, profile activity and so on), and a visitor only saw what the person posted after tapping Posts. We're also moving away from the recruiting-first profile, so About no longer needs to be the landing view.

How

  • ProfileSegments: Posts is first and points to /<username>. About points to the new /<username>/about.
  • pages/[userId]/index.tsx: on a phone, the Posts segment shows the header, the segments and the author feed. On the About segment it shows everything that used to be there (About me, showcase, stack, share, Highlights, experiences).
  • pages/[userId]/about.tsx (new): re-exports the profile page and its ISR getStaticProps/getStaticPaths. The page reads router.pathname to decide which segment is open. The profile SEO defaults already point the canonical at /<username>, so nothing new gets indexed. This is a real page rather than a rewrite on purpose: an afterFiles rewrite of /:userId/about would run before dynamic routes and catch paths like /squads/about.
  • components/profile/ProfilePostsFeed.tsx (new): the author feed and its empty states, moved out of posts.tsx so the profile page and /<username>/posts share it.

Tablet and desktop are unchanged: the whole profile still shows, with the inline Activity tabs. The server render is also unchanged (useIsPhone is false there), so crawlers still get the About content.

Checks

  • tsc --noEmit (webapp) and eslint on the changed files pass
  • shared shell tests and Activity.spec pass
  • I haven't checked this on a real phone yet. Please look at the preview on a phone: open a profile (it should land on Posts), switch to About and back, and check the docked segment row while scrolling.

PR opened by Smith (AI assistant) at Nimrod's request.

Preview domain

https://feat-profile-posts-first.preview.app.daily.dev

@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Oct 13, 2026 4:59pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 52c26733 Deployed Oct 13, 2026 by vercel[bot]
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.

1 participant