Skip to content

Nikita frontend refactor#103

Open
niksaitov wants to merge 11 commits into
nikita-backend-refactorfrom
nikita-frontend-refactor
Open

Nikita frontend refactor#103
niksaitov wants to merge 11 commits into
nikita-backend-refactorfrom
nikita-frontend-refactor

Conversation

@niksaitov
Copy link
Copy Markdown
Collaborator

Summary

Refactors the feed, your-rides, and bookmarks pages for style guide compliance and cleaner component boundaries. The feed page's search logic is extracted into a dedicated hook, ShareYideDialog now owns all post-ride state, and TopBar is simplified. The your-rides page drops the redundant bookmarked-IDs fetch and encapsulates its Prisma call behind a library function. Unused components, stale comments, and orphaned props are removed throughout.

Changes

  • New Feature
  • Bug Fix
  • Refactor (non-breaking code change that improves readability/structure)
  • Performance Improvement
  • Security Improvement
  • Documentation Update
  • Test Update / New Tests
  • Configuration / CI / Build Change
  • Other (please describe)

Main Contributors

Nikita Saitov

Checklist

  • PR targets the nikita-backend-refactor branch (will be rebased to main after backend PR merges)
  • At least one reviewer assigned
  • Tests added or updated
  • Documentation updated (if needed)
  • All conversations resolved
  • Linked issues are referenced above (if applicable)

Notes for Reviewers

IMPORTANT: This PR depends on nikita-backend-refactor and should be reviewed after that one!

Key areas to focus on: the new useRideSearch hook in the feed page, and the state ownership change in ShareYideDialog. The your-rides page no longer fetches bookmarked IDs since they were never used (bookmark was initialized to false).

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

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

Project Deployment Actions Updated (UTC)
yideshare_mvp Ready Ready Preview, Comment Apr 22, 2026 1:18am

@niksaitov niksaitov requested a review from tracysiyuchen April 22, 2026 01:41
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