FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Feature Request]: Remember page positioning when using the back or forward button

Open efb4f5ff-1298-471a-8973-3d47447115dc opened this issue 3 years ago • 1 comments

Guidelines

  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
  • [X] I have searched the documentation for information that matches the description of the feature request I want to file, without success.

Problem Description

Multiple users have reported that when using the back or forward button it doesn't direct the to the same position on the page the were before.

Here is a list what does and doesn't work properly at the moment:

  • [x] Going back or forward to the Subscription page will bring u where u was before on the page.
  • [ ] Going back or forward to the Default Trending page will bring u where u was before on the page.¹
  • [x] Going back or forward to the Most Popular page will bring u where u was before on the page.
  • [ ] Going back or forward to the Playlist page will bring u where u was before on the page.²
  • [ ] Going back or forward to the History page will bring u where u was before on the page.³
  • [ ] Going back or forward to the Settings page will bring u where u was before on the page.⁴
  • [x] Going back or forward to the About page will bring u where u was before on the page.
  • [ ] Going back or forward to a Channels video page will bring u where u was before on the page.⁵
  • [ ] Going back or forward to a Channels page when u made a search will bring u where u was before on the page.⁶
  • [ ] Going back or forward to a Channels page when u used Sorted videos By will bring u where u was before on the page.⁷
  • [ ] Going back or forward to a Channels playlist page will bring u where u was before on the page.⁸
  • [x] Going back or forward in a Playlist will bring u where u was before on the page.
  • [ ] Going back or forward to a Channels about page will bring u where u was before on the page.⁹
  • [ ] Going back or forward to the channels tab in the sidebar will bring u where u was before on the page.¹⁰
  • [x] Going back or forward to a search page (with or without filters being applied) will bring u where u was before on the page.
  • [ ] Going back or forward to a video will bring u where u was before on the page.¹¹
  • [ ] Going back or forward to a profile page u selected in the profile manager will bring u back where u was before on the page.¹²
  1. Go to another Trending Category -> scroll a bit -> click on random video -> click on back button -> see that u are on the same position on the page but in the default trending category. This would be also the case if u click on the back button another time and then click forward to go back to the trending page. If u do this on the default trending tab everything is working fine.
  2. Go to playlist page -> make a search scroll a bit -> click on video -> click back button -> see position is same but search is gone. Without search functionality works perfectly fine.
  3. Go to history page -> make a search scroll a bit -> click on video -> click back button -> see position is same but search is gone. Without search functionality works perfectly fine.
  4. Go to settings -> collapse some settings -> go to another page -> navigate back to settings page using the back button -> see that settings menu's are collapsed.
  5. Go to a channels page -> scroll to the end until u see fetch more videos -> click on that button -> scroll a bit more -> click on a video -> go back using the back button -> see that u ended up at the end of the page where the fetch more videos button is located. The user have to click on fetch more again and locate the position where they left of manually.
  6. Go to channels page -> make search -> scroll a bit -> click on random video -> use back button -> see that u came back to the same position but ur search is gone. Also the same applies here if u clicked on fetch more ur position will be at the end of the page just like in Nr 3.
  7. Go to channels page -> use the Sort By dropdown to sort videos -> scroll a bit -> click on a video -> use back button -> Videos will be default sorted and same applies here as Nr 3. and Nr 4. if u clicked on fetch more u will end up at the bottom of the page.
  8. Go to channels page -> click on playlist tab -> scroll -> click on playlist -> use back button -> Ur back on the default channels video tab. Positioning stays the same and if u clicked on fetch more u will end up on the bottom of the page.
  9. Go to channels page -> click on about tab -> scroll -> go to another page -> use back button -> u landed on the default channels videos tab. Positioning is the same.
  10. Go to channels tab in sidebar -> search ->scroll -> click on channel -> click back button -> search is gone but position is same.
  11. Go to a video -> scroll a bit (also scroll the up next section while ur at it) -> click on another video -> back button -> position on page is same and upnext section is in same position. if u also scrolled Video description then it did not restore to position and if u loaded the comment section u need to load the comments again.
  12. Click in the right top corner on your profile icon -> click on the settings button -> click on a profile -> scroll down a bit -> move away from the page -> move back to the page. Positioning is the same. If u selected some channels and u moved away the channels will be unselected.

Proposed Solution

  1. I would like to come back to the trending tab i selected before navigating away and on the right position ofcourse.
  2. Would be nice if search stayed when i came back to the page.
  3. Would be nice if search stayed when i came back to the page.
  4. Settings needs to be in the exact state i left them in when navigating away.
  5. I want to come back to the same position i left off to even if i clicked on fetch more videos.
  6. I want to come back to the page with the search query and on the same position even if i clicked on fetch more videos.
  7. I want to come back to the page with the sorting i selected and on the same position even if i clicked on fetch more videos.
  8. I want to come back to the playlist tab in the channel page on the right position even if i clicked on fetch more videos.
  9. I want to come back to the about tab.
  10. Would be nice if search stayed when i came back to the page.
  11. I want the description in the same position and if i loaded the comment section i would like it to stay like that when i come back to the video.
  12. I would like to have the channels selected so i dont have to select them all again.

Alternatives Considered

None.

Issue Labels

ease of use improvement, improvement to existing feature, visual improvement

Additional Information

No response

I would like to emphasize point 7 of the proposed solution:

I want to come back to the playlist tab in the channel page on the right position even if i clicked on fetch more videos._

Refined Feature Request (honing down on the actual issue, not a new request))

In fact, not only do I want to come back to the same page, I want the cursor to be highlighting the video I have just watched, as the other episodes are alongside it, in date sequence.

Background

I have been attempted to watch a 5 part documentary, created around 2 years ago, on a prolific channel - this has necessitated clicking on "Fetch more results" nine times to find the correct page on which an episode appears. This channel has many series (ie the video name has Part 1, Part 2, etc), so one is unable to narrow it down by part, and the description for each of the parts is describes the steps the video communicates so ther is no commonality - one simply has to click "Fetch More Results" nine times.

So at the end of Part One, I click "Back" and discover the Page list resets to the top of the list, requiring me to click another nine times. Imagine doing that for a five episode documentary. I now want to pursue a fifteen part documentary series.

what-aboot avatar Aug 26 '22 16:08 what-aboot

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 08 '22 02:10 github-actions[bot]

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Nov 06 '22 02:11 github-actions[bot]