Skip to content

feat: mobile feed injections, follow modal, mention fix#204

Merged
prazgaitis merged 1 commit into
mainfrom
feat/mobile-feed-injections
Mar 10, 2026
Merged

feat: mobile feed injections, follow modal, mention fix#204
prazgaitis merged 1 commit into
mainfrom
feat/mobile-feed-injections

Conversation

@prazgaitis

Copy link
Copy Markdown
Owner

Summary

  • Mobile feed injections: SuggestedFollows and ActiveMiniGames are injected into the For You feed on mobile at randomized positions (seeded daily, never adjacent), since the sidebar isn't visible on mobile
  • Shared SuggestedFollows: Extracted to a shared component used by both the sidebar and mobile feed
  • PartnerWeekCard polish: Removed AI-generated patterns (gradient bg, card-in-card, icon circle), made bonus the hero element with compact layout
  • Followers/Following modal: Tapping follower/following counts on a user profile opens a tabbed modal (responsive drawer on mobile)
  • Mobile mention fix: Prevented mousedown on mention suggestions from stealing editor focus and submitting the form
  • Nested <a> fix: Added disableLink to UserAvatar in search results to prevent invalid HTML nesting

Test plan

  • All 655 unit tests pass
  • Typecheck clean
  • Lint clean
  • Verify mobile feed shows injected cards at varying positions
  • Verify mention selection works on mobile (tap inserts username)
  • Verify followers/following modal opens as drawer on mobile, dialog on desktop
  • Verify user search no longer warns about nested <a> tags

🤖 Generated with Claude Code

… polish

- Inject SuggestedFollows and ActiveMiniGames into mobile feed at
  randomized positions (seeded by date, never adjacent)
- Extract SuggestedFollows to shared component for sidebar + feed reuse
- Polish PartnerWeekCard: remove AI patterns, bonus as hero element
- Add followers/following modal on user profile with responsive drawer
- Fix mobile mention selection (preventDefault on mousedown)
- Fix nested <a> in user search results (disableLink on UserAvatar)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
march-fitness-2025 Ready Ready Preview, Comment Mar 10, 2026 3:37am

Request Review

@prazgaitis prazgaitis merged commit c2859fd into main Mar 10, 2026
5 checks passed
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