chore(frontend): bump mock files to 500 to exercise lazy load
75 mock files fit in a single 100-item page, so infinite scroll never fired. 500 yields 5 cursor pages for testing lazy loading and the overlay viewer paging past the loaded set. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -157,7 +157,7 @@ const MOCK_TRASH: MockFile[] = Array.from({ length: 6 }, (_, i) => {
|
||||
};
|
||||
});
|
||||
|
||||
const MOCK_FILES: MockFile[] = Array.from({ length: 75 }, (_, i) => {
|
||||
const MOCK_FILES: MockFile[] = Array.from({ length: 500 }, (_, i) => {
|
||||
const mimes = ['image/jpeg', 'image/png', 'image/webp', 'video/mp4'];
|
||||
const exts = ['jpg', 'png', 'webp', 'mp4' ];
|
||||
const mi = i % mimes.length;
|
||||
|
||||
Reference in New Issue
Block a user