wesnoth / wesnoth-multiplayer-data-dashboard

This is a dashboard that allows you to query and visualize data that the Wesnoth Project collects about multiplayer games played on the official server.
2 stars 0 forks source link

Refactor to use Dash Pages for main content #13

Closed max-torch closed 7 months ago

max-torch commented 7 months ago

Rationale

This is a necessary step so that additional pages can be added to the web application. Part of solving #8. The goal is to create another page containing a lot of the code from https://github.com/wesnoth/wesnoth-multiplayer-data-dashboard/tree/Table-and-Figures-Combined-early-build.

Implementation

The code from the main content div has merely been transferred out into a new file pages/aggregate_statistics.py and, in layout.py, a page_container is used to display the main content.

Relevant Documentation

See https://dash.plotly.com/urls

max-torch commented 7 months ago

Will merge in one day