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

Fullstack Searchbar + Frontend Touch Up #13

Open
JJBai2003 opened this issue Apr 18, 2024 · 0 comments
Open

Fullstack Searchbar + Frontend Touch Up #13

JJBai2003 opened this issue Apr 18, 2024 · 0 comments
Assignees

Comments

@JJBai2003
Copy link
Collaborator

JJBai2003 commented Apr 18, 2024

The semester flew by so fast and we are almost near the end! Good job completing all the sprints and exceeding my expectations all the time! I am super proud of every single one of you. As we discussed in our last meeting, this sprint will piece together the different components we have worked on. There may be instances where you require the assistance of the other pair, feel free to communicate and collaborate! I want this to be an opportunity for everyone to learn and have fun, and I hope it’s been so so far :)

Some important dates coming up:

  • Mid-semester presentation: April.22nd
  • Sprint’s official due date: April.24th
  • Poster content decided: April.25th during subteam meeting(i will talk a bit more about that during the meeting)
  • Final showcase presentation completed: April.27th, practice during work session that day
  • Final Showcase: April.29th

Aaaaanyways, here are the sprints that compile all the tasks each pair has expressed interest in. Please let me know if I missed anything, and I will add them to the sprint and provide some resources if necessary.

Part ZERO. Fullstack: Card Display
Currently, all the cards are hard-coded. There are many ways to connect the frontend to our database, and you can explore on your own time. Here are the steps that I will take to complete this task:

  1. In App.js, use react components {useState, useEffect} to retrieve data from the database. Right now, we have contacts.js, which is the hardcoded database. We want to replace that with the actual data in our database.
  2. Once we have the data, we can map them into the Card components that we already implemented, since the Card component has input props. This is similar to what we currently have, aka the “{contacts.map(createCard)}” line.
  3. Here are some helpful resources:

Part I. Frontend Touchups

  1. Implement Modal Popup following the Figma design
  2. The implementation should be very similar to Card, using mapping methods to map the data to each field in the modal.
  3. Here are some resources:
  1. Add social media icons to the card and modal. I will attach the image resources to this sprint.
    email_icon
    linkedin_icon
    slack_icon

Part II. Full Stack - Searchbar Implementation:
If you completed Part Zero, then this part should be pretty intuitive. We already implemented search by name endpoint, which means that we will have the filtered data right away when we call the endpoint. The process will look something like this

  1. Create an onClick function for the button in searchBar.js. The onClick function should call the backend getMemberByName endpoint.
  2. Once we have the data that we want, render the home page so that only the people with names that matches the search query will be displayed. This can be done using the mapping function, similar to Part Zero.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants