Add bookmarked posts hub with management tools#20
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds a comprehensive bookmarking system that allows users to save posts and manage them through a dedicated interface. The changes enable users to bookmark posts locally and access them through a new dedicated page with management capabilities.
- Adds a new
getPostsByIdsfunction to fetch multiple posts while preserving order - Creates a complete bookmarks page with localStorage integration and management tools
- Integrates bookmarks access into the main navigation dropdown
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| web/utils/supabase/queries/post.ts | Adds query function to fetch posts by IDs with order preservation |
| web/pages/bookmarks.tsx | Implements the main bookmarks page with localStorage sync and management features |
| web/components/header.tsx | Adds bookmarks navigation item to user dropdown menu |
| README.md | Documents the new bookmark library feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
This pull request introduces a major upgrade to the bookmarking feature in the social feed app, transitioning from client-side bookmarks stored in Bookmarking Feature Upgrade
Bookmark Library Page
UI/UX Improvements
Backend Logic
|
Summary
Testing
https://chatgpt.com/codex/tasks/task_e_68da8f15f0d4832c923b417f026c6ad6