You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#54
Add advanced privacy settings for users, including custom audience settings for posts and options to hide specific profile sections.
* **Settings Page (`src/app/settings/page.tsx`)**
- Add a new section for advanced privacy settings.
- Include options for custom audience settings for each post.
- Add options to hide specific profile sections.
* **Profile Component (`src/features/profile/components/profile.tsx`)**
- Add logic to handle hiding specific profile sections.
- Include checks for the new privacy settings.
* **Posts API (`src/app/api/posts/route.ts`)**
- Add support for custom audience settings in the POST method.
- Include audience settings in the post creation schema.
* **Users API (`src/app/api/users/route.ts`)**
- Add fields for new privacy settings in the user profile schema.
- Include logic to update these settings in the PUT method.
* **Profile Update API (`src/features/profile/api/update-profile.ts`)**
- Add support for updating the new privacy settings.
* **Profile Info Component (`src/features/profile/components/profile-info.tsx`)**
- Add logic to handle hiding specific profile sections.
- Include checks for the new privacy settings.
* **User Metadata API (`src/features/profile/api/get-user-metadata.ts`)**
- Add fields for new privacy settings in the user metadata.
* **Prisma Schema (`prisma/schema.prisma`)**
- Add fields for custom audience settings in the `Post` model.
- Add fields for new privacy settings in the `User` model.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/OxyHQ/Mention/issues/54?shareId=XXXX-XXXX-XXXX-XXXX).
Expand privacy controls for users. Features to include:
The text was updated successfully, but these errors were encountered: