djotaku / Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI

Using Python FastAPI creates a webhook endpoint for Civilization VI's Play By Cloud or Play Your Damn Turn Webhooks. Also pushes notifications to Matrix.
GNU General Public License v3.0
5 stars 1 forks source link

Add in ability to mark game as complete from web page #48

Closed djotaku closed 2 years ago

djotaku commented 2 years ago

For div that holds table, can use polling

Hx-put for the complete button

Have hx-trigger from: css selector to trigger the completed to update if the current games has changed. Or maybe more easily, if have polling, then have them poll at the same interval. Realistically, though, completed should happen less often. So it should have a longer poll time?