Arquisoft / viade_en3a

Viade En3A
https://arquisoft.github.io/viade_en3a/
1 stars 4 forks source link

Research on how to create friend groups needed #77

Closed fincamd closed 4 years ago

fincamd commented 4 years ago

Positive to follow this vocabulary: SIOC-Spec

nicomencia commented 4 years ago

I'm starting dev this feature in feature-group-friends. Friends view will by modified from showing cards of friends to showing groups of friends.

nicomencia commented 4 years ago

SIOC-Spec seems too complex just to create users and groupsusers, it involves also containers, forums, items, posts, roles, sites, etc that we are not going to implement. Despite this we could use a very reduce part of the user and groupuser definiton, most of the properties are unused but member_of, avatar and email for user and has_member and usergroup_of for usergroup

nicomencia commented 4 years ago

Adding to this we could implement also the property creator_of for users and create Items inside Containers for the routes and adding their authorship, using SIOC-Spec also. Could you review this? @fincamd @Drastur @jesQM @oscar134 @PabloFerMar

fincamd commented 4 years ago

I am afraid that people have started to define a proposal for a standard way to manage friend groups.

https://github.com/Arquisoft/viadeSpec/issues/38.

I am afraid that is not mature enough to get to development just yet. We'd need more oppinions from other teammates so we can agree on what to do.

nicomencia commented 4 years ago

Thanks for pointing me this out. I'll check it out and see if it can be pushed to get to dev,

nicomencia commented 4 years ago

New pages Groups and createGroups implemented. Modified navbar link from friends to groups. FriendCards modified for new use. Groups page has a button to createGroups, friends are displayed here with a button for adding to the group and a create button. Currently working on storing friends added to a list in order to create the group file and save it to the POD.

nicomencia commented 4 years ago

Created MyGroup and GroupManager in order to manage groups and it's correspondant files similar as we do with the routes.

nicomencia commented 4 years ago

I'll be implementing this format for interoperability in case someone is following it:

https://github.com/Arquisoft/viadeSpec/issues/38.

Except the name in users, bc as many people are poing out, it's useless.

nicomencia commented 4 years ago

I'll add an uuid as we do with the routes for not repeating files if a group has the same name.

nicomencia commented 4 years ago

Groups json files are now saved on the PODs user in viade/groups, containing members url, group name and a uuid.

nicomencia commented 4 years ago

Friends now can only be added once, if more a error notification appears and aren't added to the json file.

nicomencia commented 4 years ago

Groups now are loaded from pod each time groups view is accesed and they are displayed there with it's correspondent users.

nicomencia commented 4 years ago

Working in getting a better view for groups. Friends cards are loaded correctly.

nicomencia commented 4 years ago

Groups creation, store in POD, get from POD and display done