Day-16: Completed 'My Threads' and 'Bookmarks' sections for ShowwcaseXS

26 May, 2023

0

0

0

Today is May 9, 2023. Yesterday, I worked on the global authentication of the application, and I'm happy to see that it's finished! I was a little nervous about authenticating ShowwcaseXS, but it wasn't as bad as I thought it would be.


Today, I'll be working on the Threads and Bookmarks section. This should be a relatively easy task since I already have the thread card component. I just need to check the API structure and see if I need to make any changes to the card component. Most likely, I can reuse the component as-is, but I'll need to take a look at the API structure first. I'm looking forward to making progress on these features today. I'm excited to see how ShowwcaseXS comes together!


https://media.tenor.com/x9FwjywJ4rsAAAAC/lets-get-started-anubhav-roy.gif

I saw an API in the Showwcase documentation to get all the threads that I have posted on Showwcase. However, the problem is that the API also returns threads that I have replied to. I want to filter out these replies so that I can only see the threads that I have created myself.


After looking through the API structure, I found that I can filter out threads that have zero participants. This will ensure that I only see threads that I have created myself, and not threads that I have replied to. This worked perfectly fine! and now I am able to easily see all of the threads that I have created myself. Let me show you how it looks.

Screenshot 2023-05-11 at 11.41.26 PM.png

Screenshot 2023-05-11 at 11.47.39 PM.png

Next up, I need to work on the bookmark section of ShowwcaseXS. I looked at the API for the bookmark section, and it was very straightforward. I can use the thread card component directly, and it will work just fine.

I implemented the bookmark section, and it looks great! It has the same kind of threads as the other sections. It was super simple to implement since I already had the thread card component created. All I had to do was pass the API keys to the API, and it gave me a list of all my bookmarks.


Screenshot 2023-05-11 at 11.52.32 PM.png

That's all for today. Tomorrow, I'll be working on the notifications section of ShowwcaseXS. I'm a little excited about this section, as the design is a little unique. Let's see how it goes!


lhttps://media.tenor.com/wLhKsipu7csAAAAC/don-cherry-lets-go.gif

16.png

0

0

0

Pritesh Kiri
Software Engineer | Content creator | Technical Writer | Building @ShowwcaseXS @TaskTunes

More Articles

Showwcase is a professional tech network with over 0 users from over 150 countries. We assist tech professionals in showcasing their unique skills through dedicated profiles and connect them with top global companies for career opportunities.

© Copyright 2024. Showcase Creators Inc. All rights reserved.