A real-time privacy-first social media platform leveraging feature-rich direct messaging text channels. Built as part of the course project for COSC 310 at UBC.
added ability for admins to delete messages from any user in a text channel while giving non-admins only the ability to delete their own messages
fixed an issue where text channel owners did not have admin privileges
ensured real-time view switch to the friends tab upon being deleted from a text channel
added UI styling flourishes: on-hover for text channels and friends tab while leaving text channels highlighted upon selection and removing the highlight upon switching back to the friends tab
Thoroughly tested all core application features (friend requests, channel creation, direct messages, private mode on/off, admin privileges) and confirmed that all core features work without issue. There is only one known issue that involves message deletion (a special case that will not be patched). See the below for known issues.
Known Issues
Message deletion reflects in real-time only for channel owners/admins. It does not reflect for the case when a non-admin deletes their message. A hard refresh needs to be done to see that. The cause is not known as it has not been investigated and will not be investigated due to time constraints.
The "promote to admin feature" is not working as no implementation exists for it. It just deletes a member as that function is being called for that case as well.
Other Notes
The project can be marked as completed as of this pull request. We need to go all-in on M5 and focus our efforts elsewhere as well.
Summary of Changes
added
ability for admins to delete messages from any user in a text channel while giving non-admins only the ability to delete their own messagesfixed
an issue where text channel owners did not have admin privilegesensured
real-time view switch to thefriends
tab upon being deleted from a text channeladded
UI styling flourishes:on-hover
for text channels and friends tab while leaving text channels highlighted upon selection and removing the highlight upon switching back to the friends tabKnown Issues
Other Notes