OneSignalDevelopers / ngosi

Share your slides with a QR code
https://ngosi.io
MIT License
9 stars 5 forks source link

Add detail page for presos #52

Closed iAmWillShepherd closed 2 years ago

iAmWillShepherd commented 2 years ago

Fixes #51.

Solution

This PR adds a details page for presos.

Testing

⚠️ If you don't have any presos created, you'll want to create at least 1 first. ⚠️

  1. Start ngosi, yarn start
  2. Navigate to the Presos page, http://localhost:3000/presos
  3. Click on one of the presentations
  4. Observe that you're taken to a page with a URL similar to http://localhost:3000/preso/kb-lCfk

Resources

Preso detail page
Screen Shot 2022-01-12 at 5 32 23 PM
vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/onesignaldevs/ngosi/45tPyiXiFnzpBfvcZrEgQJN79PQZ
✅ Preview: https://ngosi-git-preso-details-onesignaldevs.vercel.app

iAmWillShepherd commented 2 years ago

@Yohanan-Negash

The only issue I am facing right now is adding/creating presos. When I click on the Generate QR Code button it seems like there is no event happening, so I can't navigate to the preso details page.

I was able to reproduce this. Perhaps we can pair and you walk me through it?