soft-networks / is-this-thing-on

is this thing on?
5 stars 0 forks source link

Removed transactions #31

Closed bhaviksingh closed 4 months ago

bhaviksingh commented 4 months ago

What Changed

Removed transactions from all stores and firestore library components Refactored "coins" to stickerInstances Cleaned up some unused code Enabled videos to play in room even if in test mode without streamPlaybackID

Context

We previously had a transaction and energy system. Each sticker push to database was also accompanied with a transaction, that would be processed by the server, and contribute to streamers energy. In this old world, stickers were sometimes called coins which was confusing. This was removed in the server, and now we are removing it in the client and refactoring to represent the new world

Additionally, when testing around I noticed that the videos werent playing in the rooms. Realized that the videoPlayer expected a streamPlaybackID which is not required if it's in test mode, so refactored to accommodate this change.

Validation

Verified that videos play within the rooms, even without playbackID, and stickers still work.

https://github.com/user-attachments/assets/774765a3-6c01-44d1-b59c-6e95b1b43985

Relevant issues

Closes #5

netlify[bot] commented 4 months ago

Deploy Preview for is-this-thing-on ready!

Name Link
Latest commit 85af16e7c2019dd8bd8a30eab3add365c34e4ea7
Latest deploy log https://app.netlify.com/sites/is-this-thing-on/deploys/66afa0f1821c9500085dee58
Deploy Preview https://deploy-preview-31--is-this-thing-on.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 98 (πŸ”΄ down 1 from production)
Accessibility: 93 (no change from production)
Best Practices: 83 (no change from production)
SEO: 67 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.