aimpowered / LibOrate

A videoconferencing companion app developed by AImpower.org to provide emotional and relational support during videoconferencing.
https://liborate-alpha.vercel.app
MIT License
0 stars 2 forks source link

Create new DrawBadgesApi to give a cleaner API for drawing badges #43

Closed blickly closed 7 months ago

blickly commented 7 months ago

This requires you to have an instance of the API object (like the ZoomApiWrapper), and allows updating each badge individually, rather than all at once.

I haven't actually tested this or converted the existing usages of drawEverythingToImage to use this new API, but I think some of them should be simplified by not needing to keep track of the unchanged badges. Note that we will need to get rid of all usages of drawEverythingToImage in order for the state to be correctly tracked by the DrawBadgesApi wrapper.

vercel[bot] commented 7 months ago

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

Name Status Preview Updated (UTC)
zoom-companion-test ✅ Ready (Inspect) Visit Preview Apr 17, 2024 5:16am
kexinF commented 7 months ago

This seems like a good start; would you like me to continue completing the DrawBadgeApi? Or you prefer to work on it later?