Fraesh / vps-db

6 stars 0 forks source link

Store view mode preference in the browsers web storage #6

Open xantari opened 2 years ago

xantari commented 2 years ago

Is there a separate repo for the website I should be making these requests at? Seems a bit weird to put them in the DB repo.

Suggestion is to remember the large view vs compact view grid preferences of the user by storing that state in their browser storage, so each time they visit the site it remembers the last view.

Example:

image

stojy commented 2 years ago

Definitely a good idea. Especially if the 'last updated' time range filter is implemented.