Building large scale application is more difficult than many people understand or expect. Join me in this long running series where I set out to duplicate one of the most popular social media platforms ever creating using Java, Spring Boot, Spring Security, PostgreSQL data, React JS web application framework and more.
In this episode we wrap up the work inside of the MessagePopup component/logic. The last feature of the MessagePopup is the ability for the user to see who has read their message, then click to either navigate to their profile or to the message page. To do this we updated the MessageSubtitle component to be able to click on the seen by text and popup a new modal. Once the logic in the MessageSubtitle is in place, we setup the new MessageSeenByPopup component which lists out all the users who have viewed the message, and setup the logic to navigate to the correct places when different parts of the user cards are clicked. Finally, we setup the css for the component, and add it into the MessageSubtitle and test everything out.