obsidian-projects icon indicating copy to clipboard operation
obsidian-projects copied to clipboard

[FR] Pagination

Open yurijserrano opened this issue 2 years ago • 4 comments

What would you like to be added?

Good Evening @marcusolsson

I hope you are well

I think it would be useful to include pagination in the plugin.

Why is this needed?

Because of this way, all the data doesn't have to be displayed, and we could choose how many items we want to be displayed in the view.

yurijserrano avatar Nov 24 '22 03:11 yurijserrano

What's the reason behind paginating? Is it mostly for performance reasons? Also, is this only for the table view?

marcusolsson avatar Nov 26 '22 23:11 marcusolsson

Good Evening @marcusolsson

I hope you are well

Regarding these excerpts:

What's the reason behind paginating? Is it mostly for performance reasons?

In my opinion, it is not only about performance, but also about a better visualization of the notes.

Because there are folders that may have many notes and thus have to scroll through all this data can be a tedious task and difficult to view the data, which, I believe, would be attenuated if it was included the pagination that would stipulate a fixed order of notes which would give us a better view, and we could move to the next sequence by clicking a button, for example, instead of using the scroll.

Regarding this excerpt:

Also, is this only for the table view?

No, it would be for the Table View and Calendar View because a day can contain several notes, so instead of using scroll it would be interesting to use pagination.

If you need anything else, just let me know.

Have a wonderful day.

yurijserrano avatar Nov 27 '22 00:11 yurijserrano

Related to #206.

marcusolsson avatar Jan 03 '23 13:01 marcusolsson

Tested table view load time, with 100+ notes. Applying sort on Table view will significantly shorten the rendering time of Table components.

Acylation avatar Oct 31 '23 02:10 Acylation