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 new Group #4

Open
prakashelango opened this issue Dec 12, 2023 · 2 comments
Open

Add new Group #4

prakashelango opened this issue Dec 12, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@prakashelango
Copy link
Collaborator

Fields

GroupName,

Image,
Hidden Fields Id - UserId

@prakashelango prakashelango added the enhancement New feature or request label Dec 12, 2023
@gingy3
Copy link
Collaborator

gingy3 commented Dec 13, 2023

@Samson-DVS
Copy link
Collaborator

@prakashelango @lihka1202 continuing from user settings. Following is one of the methods to allow user to group/add new group

Collection for existing/predefined things (Collection name: Picture)
{
_id: ObjectId,
imageUrl: String,
// Other picture-related fields such as voice
}

Adding UserGroupCollection (Predefined Groups):
{
_id: ObjectId,
groupName: String,
pictures: [ObjectId], // References to pictures in the Picture collection
}

UserPictureCollection (User-Created Collections):
{
_id: ObjectId,
userId: ObjectId, // Reference to the User collection
collectionName: String,
pictureGroups: [
{
groupName: String,
pictures: [ObjectId], // References to pictures in the Picture collection
},
// Additional picture groups as needed
],
}

@delose @lucas (slack username) FYI too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants