plotwist icon indicating copy to clipboard operation
plotwist copied to clipboard

feat: view my lists link

Open Heitors09 opened this issue 1 year ago • 1 comments

Describe your changes

Added a button that takes me to the page of my lists, which only appears for the authenticated user and already renders in their lists tab when clicked. To achieve this, I created a client component that opens the tabs of the page, handles the fetches within it, and passes their results as props to my component and subsequently to the components that the shdcn tabs render.

Issue ticket number and link

#172 PLO-52

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [x] If it's an essential feature, I've tested it thoroughly.
  • [ ] Do we need to implement analytics?
  • [x] Will this be part of a product update? If yes, please write one phrase about this update.

a button who leads the user from the all lists page to the own lists page

Preview: image

Heitors09 avatar May 22 '24 01:05 Heitors09

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plotwist ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 3:31pm

vercel[bot] avatar May 22 '24 01:05 vercel[bot]

Changes made:

  • Styles aligned with those provided in the review.
  • Use of context in the profile-tabs component and removal of language from dictionary as props.
  • Changed from object to variable in the TypeScript dictionary, "view all".
  • Conflits with the main

Heitors09 avatar May 24 '24 15:05 Heitors09