aaron-schroeder / distilling-flask

Strava app for display and analysis of personal running data, powered by Flask, Dash, and Pandas.
MIT License
3 stars 0 forks source link

Stop the avalanche of messages on the strava/manage page. #83

Closed aaron-schroeder closed 1 year ago

aaron-schroeder commented 1 year ago

It seems like, since this is the only page set up to display flashed messages, it can end up with a lot to unload.

The example that prompted this issue was getting 6 identical "please log in to view this page" messages when I eventually navigated to the account management page after tinkering with login stuff. Ideally, the message would flash on the dash page!

Probably related: once logging in, the redirected page still shows the 'next' url query. Seems like the first "official" request (as perceived by flask-login) happens on the page after the login page, not the login page itself.