[Feature]: Request game list on socket reconnect #1012
Labels
enhancement
New feature or request
frontend
Requires changes to the frontend (vue) client
good first issue
Good for newcomers
version-patch
An update that warrants a bumping the project's patch version (e.g. 4.0.0 => 4.0.1)
Feature Summary
When the socket disconnects and reconnects, we should request the latest list of available games to populate the homepage
Detailed Description
We already have logic in place to update state when the socket connects; we should simply update this to accommodate the case where it happens on the homepage.
we should update
src/plugins/sockets/connectivityEvents.js
to handle the case where the route is ROUTE_NAME_HOME, and in that case, request the game list withgameListStore.requestGameList()
This will require importing and instantiating the gameList store in the same fashion as the other stores in this file
The text was updated successfully, but these errors were encountered: