Alternative, limited album and artist views sometimes show up
Steps to reproduce
This is an odd issue where I sometimes end up on mostly non-functional versions of artist or album views. I have not yet figured out exactly how to best reproduce it, but it can be triggered with back navigation. I try to illustrate with screenshots:
- Start on e.g. the album list view:
- Click on an album name, the browser navigates to
/albums/{albumId}/
which might look like this:
- On that view click on the artist name to navigate to
/artists/{artistId}
:
- Use the browser's back button, it navigates back to
/albums/{albumId}/
, but this time the view looks like this:
What happens?
The back button leads to a different version of the album view, which shows different information. It is more database centered information that was not available on the original album view, but overall it is less useful. This switch is also unexpected. It adds to the confusion that both views have the same URL.
The same can happen for other pages. E.g. if the back navigation leads you to the artist page, a similar restricted artist view is being shown.
Once you are in one of those views you can use the tab navigation on the top to get to other alternative displays of common URLs. E.g. when I navigate to /albums
via the sidebar menu normally the album list looks like in the screenshot in step 1 above. But once I am on the alternative display of an artist or album I can click on "Albums" in the tab navigation to get this alternative display of /albums
:
Again, same URL, different view. That list display is kind of nice for some situations, but I found no way to reach it except via this back navigation.
What is expected?
Back navigation leads to the original visited view.
Ideally these additional views are removed and if needed data from these views incorporated into the main display.
Or if those views are considered useful, they are made available under different URLs and it is possible to explicitly reach them.
Context
Funkwhale version(s) affected: 1.1.4+git.87c5283e