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.
5
stars
1
forks
source link
Implemented Text Channels in Left Sidebar, Refactored Application to Facilitate Transition to Text Channels #208
implemented real-time pinging for text channel creation
modified add friend modal to be more robust such that you can't add yourself as a friend
modified new text channel modal to not allow text channels between only two users (3+ members required)
patched non-functional friends button in the left sidebar. It now takes you back to the friends list when it is clicked
refactored text channel code to be split into a TextChannel and TextChannels component
added a chat context under contexts
performed extensive ad-hoc testing to ensure that text messages are not persistent across Chats (both channels and direct messaging)
wrote several new backend API endpoints to facilitate the transition to text channels
Visual Summary of Changes
Known Issues
Privacy toggle is hardcoded to false despite visually showing true upon initialization. It currently has no effect and all message history is being capture into MongoDB. A fix has to be implemented for this.
Side-note: This was the most challenging task across the entirety of this project for me. Apologies if the code is a bit messy, as I had to break a lot of things and move extremely fast to solve 30+ errors and issues. I will clean these up later, but the code works.
Summary of Changes
implemented
text channels on the left sidebarimplemented
draggable channels on left sidebarimplemented
real-time pinging for text channel creationmodified
add friend modal to be more robust such that you can't add yourself as a friendmodified
new text channel modal to not allow text channels between only two users (3+ members required)patched
non-functional friends button in the left sidebar. It now takes you back to the friends list when it is clickedrefactored
text channel code to be split into aTextChannel
andTextChannels
componentadded
a chat context undercontexts
performed
extensive ad-hoc testing to ensure that text messages are not persistent across Chats (both channels and direct messaging)wrote
several new backend API endpoints to facilitate the transition to text channelsVisual Summary of Changes
Known Issues
Side-note: This was the most challenging task across the entirety of this project for me. Apologies if the code is a bit messy, as I had to break a lot of things and move extremely fast to solve 30+ errors and issues. I will clean these up later, but the code works.