Team-TAU / tau

TAU- Twitch API Unifier, a containerized relay/proxy to unify the WebHook- and WebSocket-based real-time Twitch APIs under a single (local) WebSocket connection.
MIT License
153 stars 39 forks source link

[FEAT] Allow replay of test events #100

Closed chadwithuhc closed 2 years ago

chadwithuhc commented 2 years ago

Is your feature request related to a problem? Please describe. When I run a test event and it shows up the in Websocket Stream list, I cannot replay it. Only actual events can be replayed.

Describe the solution you'd like I'd like the ability to replay an event no matter what type it is (test or actual).

Describe alternatives you've considered None

https://user-images.githubusercontent.com/259196/167050005-af81e12a-3ee3-45a7-8c50-6ad4867ac793.mp4

FiniteSingularity commented 2 years ago

Hi @chadwithuhc . We can definitely look into this. However, know that test events are not stored in the database, and are only generated/fired off client-side from the dashboard code. So we'd be able to add a "replay" button, but once you refresh the dashboard, the test event would go away (and so too would the replay). I'll take at how to get this implemented later this week.

FiniteSingularity commented 2 years ago

@chadwithuhc - Just merged a PR into main that implements this.