feat: Implement new project visibility types, add dedicated project settings and share pages, and enhance the dashboard with dynamic project data and visibility badges.

This commit is contained in:
Yusuf İpek
2026-02-07 07:01:04 +03:00
parent 5b436fff2d
commit d90ce4e1f6
8 changed files with 1085 additions and 189 deletions
+3 -3
View File
@@ -104,9 +104,9 @@ model Project {
}
enum ProjectVisibility {
PRIVATE // Only owner and members can access
LINK_ONLY // Anyone with link can view
PUBLIC // Listed publicly
PRIVATE // Only owner can access
INVITE // Owner + specifically invited members
PUBLIC // Anyone with the link can access
}
model ProjectMember {
+1 -1
View File
@@ -79,7 +79,7 @@ async function main() {
name: 'Programming Tutorials',
description: 'In-depth programming tutorials covering modern web development.',
slug: 'programming-tutorials',
visibility: ProjectVisibility.LINK_ONLY,
visibility: ProjectVisibility.INVITE,
ownerId: demoUser.id,
},
});