leepeuker / movary

Self hosted web app to track and rate your watched movies
MIT License
388 stars 14 forks source link

Add API endpoint for the dashboard data #583

Open JVT038 opened 6 months ago

JVT038 commented 6 months ago

This PR adds an endpoint which returns all the data that's shown in the dashboard. Additionally, it also returns the dashboard rows and their properties (e.g. whether they're extended)

If the row is hidden, then the data for that row won't be included in the API response. The new Vue frontend will hide / collapse that row and if the user clicks on it, the client manually requests the data for the row. This adds lazy loading support for the dashboard row, (partially?) fixing #394

Part of #572