Skip to content

feat(log): remember all-pages selection - #616

Merged
okt-limonikas merged 2 commits into
mainfrom
feat/remember-all-pages
Aug 2, 2026
Merged

feat(log): remember all-pages selection#616
okt-limonikas merged 2 commits into
mainfrom
feat/remember-all-pages

Conversation

@okt-limonikas

Copy link
Copy Markdown
Collaborator

Summary

  • add a default-enabled setting to remember the "All pages" log mode
  • remember the selection for 24 hours using project, run, and node path as identity
  • restore "All pages" when returning to the same test or package
  • clear remembered mode when a specific page is selected
  • align keyboard and mouse test selection behavior

Implementation

Remembered entries are stored separately from log data in local storage. Each entry uses the following semantic identity:

  • project ID
  • run ID
  • full test or package path

Expired entries are removed when the memory is updated. Explicit page values in the URL take precedence over remembered state.

Add setting to user preferences to remember that user selected to view
some tests in run in "All Pages" mode so when user selects the same test
(determined by run/project and path to test) it should show all pages
immediatly.

Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Recover page counts from cached canonical first-page responses instead
of treating omitted page arguments as all-pages requests.
When no cached count exists, keep the controls visible with a Page 1
fallback so users can leave all-pages mode. Preserve numeric page=0 when
constructing log API URLs. Keep numbered navigation usable in all-pages
mode without highlighting page 1; only the All pages control is marked
selected.

Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
@okt-limonikas
okt-limonikas merged commit 2ca5b6f into main Aug 2, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants