mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[GH-ISSUE #332] It's possible to accidentaly quit the application while trying to quit the audio analysis screen #136
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ericonr on GitHub (Mar 11, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/332
As mentioned in #322
It still happens in latest master
c0adca85.@Rigellute commented on GitHub (Mar 11, 2020):
Thanks for reporting @ericonr.
This highlights a larger issue - async navigation.
To fix these problems, I think we should eagerly navigate to a screen before the network request has finished. Some screens already work like this.
If anyone wants to contribute, try to find places where
app.push_navigation_stack(...)is invoked after someawait. Ideally, these navigation events should not happen withinnetwork.rs, but rather at the call site ofapp.dispatch(inapp.rsfor example).You might encounter UI problems with this, however. To fix these, we need to have a fallback UI for when the data is not ready/not present.
@ericonr commented on GitHub (Apr 9, 2020):
@Rigellute have you noticed this issue anywhere else? Otherwise I believe I can close it already.
@Rigellute commented on GitHub (Apr 13, 2020):
Not noticed this anywhere else, will close.
Thanks @ericonr 👍