tokenshift/obsidian-page-gallery

FR: favorite view

Opened this issue · 2 comments

Please allow to set the favorite view in a field of the page-gallery code.

I know that the first view is the default one, but I have use cases in which the views should appear in a given order, but I don't want the first one to be shown whenever the page is loaded.

So, ideally, the favorite view should always be the one selected and shown when the pager is loaded.
If no favorite view is set, the first view in the code will be shown, as it is now.

I also have a question: when a page is loaded, all the views are loaded or only the first one, and the others are loaded only when selected?

TIA for your attention!

Only the selected view is loaded, to keep memory usage down on mobile devices/really big galleries.

Only the selected view is loaded, to keep memory usage down on mobile devices/really big galleries.

Thanks for your quick answer. I suspected this, very good.

This makes even more useful to be able to set a favorite view, so that one can set as favorite a light view, to be loaded when the page is opened (for example, when it opens in hover editor, something that can happen rather frequently) and then, only when needed, switch to heavier ones.