Enhancement: Optimizing the first dashboard load #348

Closed
opened 2026-10-05 02:42:10 +02:00 by adam · 2 comments
Owner

See how we can improve the first load of the content dashboard.

  • Pre-processing of pages
  • Pre-settings retrieval
  • Cache pages in VSCode state with a timestamp so that data does not always need to be processed again.
  • Tab view switching - perform this only on the filtered/sorted pages
  • Pagination - #426
    • Define your own page set
    • If page set is bigger than 52 items, turn it on by default
  • Test out the preview URI on Windows
  • Move away from the the file system sync methods and replace these with async alternatives
  • Page batching -> first tests were not showing a huge difference
See how we can improve the first load of the content dashboard. - [x] Pre-processing of pages - [x] Pre-settings retrieval - [x] Cache pages in VSCode state with a timestamp so that data does not always need to be processed again. - [x] Tab view switching - perform this only on the filtered/sorted pages - [x] Pagination - #426 - [x] Define your own page set - [x] If page set is bigger than 52 items, turn it on by default - [x] Test out the preview URI on Windows - [x] Move away from the the file system `sync` methods and replace these with async alternatives - [x] ~Page batching~ -> first tests were not showing a huge difference <!-- github-sync-id:1393498837 -->
adam closed this issue 2026-10-05 02:42:10 +02:00
Author
Owner
Before: https://user-images.githubusercontent.com/2900833/193422795-c83a6a15-9afe-43eb-979a-118df0044e44.mov After: https://user-images.githubusercontent.com/2900833/193422804-c437a94b-6dc1-4ba5-9fca-30892daa1a3b.mov <!-- github-comment-id:1264444189 -->
Author
Owner

The frontMatter.dashboard.content.pagination setting can now use a number as value to specify your nr of items per page.

The `frontMatter.dashboard.content.pagination` setting can now use a `number` as value to specify your nr of items per page. <!-- github-comment-id:1265936467 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#348