Skip to content

Studio: paginate large texture galleries - #9017

Open
xXToinouXx wants to merge 1 commit into
ItsNotRexed:mainfrom
xXToinouXx:fix/studio-texture-pagination
Open

xXToinouXx wants to merge 1 commit into
ItsNotRexed:mainfrom
xXToinouXx:fix/studio-texture-pagination

Conversation

@xXToinouXx

Copy link
Copy Markdown

Claimed in #8504: #8504 (comment). Fixes #8522.

Depends on: #6441 and #6704 overlap the old Show All markup.

What and why

Browsing 10,001 textures previously created all 10,001 cards in one click. Previous and Next now keep at most 80 previews in the grid. Changing the filter returns to the first matching page. Changing language preserves the current page.

Tested

Windows, Node 24.20.0, synthetic data, CPU only. All 12 Studio tests passed, including all 126 pages and opening the last texture. The map-viewer suite has the same camera-test failure on main and this branch (56/57 passed). Full browser testing was blocked by the environment. Whitespace and game-data checks passed.

AI-assisted: yes (Codex).

  • No game data, keys or decryption.
  • Translator contract check is inapplicable to this Studio change.

Keep at most 80 texture cards in the grid while browsing an export. Preserve the page when the language changes and reset it when the filter changes.

@Grimkeh Grimkeh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent Linux CPU review

What changed: Studio paginates large texture galleries.

Checked: node --test tests/test_viewer_studio.cjs — 12 passed.

Looks correct; no game files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

claiming: Paginate the Studio texture gallery (80 previews per page). AI-assisted (Codex).

2 participants