Skip to content

Saved tasks table: pagination and scroll position are not preserved on back navigation #2811

Description

@myagizmaktav

Summary

The Saved tasks table (https://console.apify.com/actors/tasks) does not preserve pagination or scroll position when you navigate away and come back. Returning to the list always resets you to page 1, scrolled to the top.

This is especially painful in combination with accidental navigation out of the table (see the miss-click behaviour in the row-click issue): one stray click costs you your place in the list entirely.

Steps to reproduce

  1. Go to https://console.apify.com/actors/tasks.
  2. Page forward to e.g. page 3 and scroll down to roughly the 55th item.
  3. Click into any task (or miss-click and land on the Actor page).
  4. Press the browser Back button, or navigate back to the tasks list.
  5. You are on page 1, scrolled to the top. Your previous page and scroll offset are gone.

Expected

Returning to the tasks list restores the state you left: the same page (and page size), and the previous scroll offset — ideally with the row you came from still visible.

Actual

Page resets to 1 and scroll resets to the top on every return, so you have to re-paginate and re-scroll to continue where you were.

Suggested fix

  • Reflect the list state in the URL (e.g. ?page=3&limit=…, plus any sort/filter state) so Back/Forward and refresh naturally restore it, and so the view is linkable.
  • Restore scroll offset on back navigation (scroll restoration keyed to the list route).

Notes

This is a request about the Apify Console UI. Filing here as the closest public repo — please route to the Console team if there's a more appropriate place. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions