Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Advanced Privacy Settings #54

Open
NateIsern opened this issue Nov 28, 2024 · 0 comments · May be fixed by #60
Open

Add Advanced Privacy Settings #54

NateIsern opened this issue Nov 28, 2024 · 0 comments · May be fixed by #60

Comments

@NateIsern
Copy link
Contributor

Expand privacy controls for users. Features to include:

  • Custom audience settings for each post.
  • Ability to hide specific profile sections (e.g., followers, posts).
  • Notifications when someone screenshots a post or profile.
NateIsern added a commit that referenced this issue Nov 28, 2024
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).
@NateIsern NateIsern linked a pull request Nov 28, 2024 that will close this issue
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 a pull request may close this issue.

1 participant