MrChuckomo / poddycast

Podcast app made with Electron, lots of ❤️ and ☕️
GNU General Public License v3.0
180 stars 28 forks source link

Broken state during the refresh process on app start, when quickly navigate to a different page #127

Closed MrChuckomo closed 1 year ago

MrChuckomo commented 1 year ago

Describe the bug When the app starts, the latest episodes are pulled. However, if you switch to another page during this process, you will automatically be shown the content of the latest episodes as soon as the pulling is complete.

To Reproduce Steps to reproduce the behavior:

  1. Open the app
  2. Immediately go to e.g. 'Favorites'
  3. Wait for the pull-process to finish (fetching the latest episodes)
  4. Instead of the Favorites content you'll see now the New Episodes content

Expected behavior Two options here to choose from:

  1. Stay on the page you're currently at and not overwrite the content with the new episodes
  2. Jump back to the New Episodes page and update the app accordingly to make clear where you are (navigation UI etc.) - not leaving the user in a broken state.

Additional context Relates to #120, #125