portainer icon indicating copy to clipboard operation
portainer copied to clipboard

Feature request: Increase default value for "items per page"

Open cgoeller opened this issue 7 years ago • 12 comments

The default value is 10 at the moment, which is quite low. Most screens are large enough to display at least 25 rows.

Suggesstion: Increase default to 50 for all pagers

cgoeller avatar Jul 14 '17 12:07 cgoeller

It's not the case for a mobile and tablet devices though.

G07cha avatar Jul 14 '17 13:07 G07cha

I feel like 10 is a good default value. As @G07cha mentionned, we aim to support tablet devices as well and this default value makes sense here.

You can just update the value and it'll be persisted in your browser.

deviantony avatar Jul 17 '17 07:07 deviantony

Anytime I search for a setting or bug in portainer that I like to fix I found a issue which is closed with a comment like this. Why you don't let users choice the default settings? There are much more scenarios than that what you guess. I.e. the Browser forget this setting because its a private session or you want to make a setting for the whole company. That's so annoying!

thekk1 avatar Feb 13 '21 10:02 thekk1

@thekk1 this is a pretty old feature request, we're ok going back on our decisions.

Keep in mind that open-source rule: no is temporary, yes is forever.

I'll re-open this item for us to look at.

deviantony avatar Feb 15 '21 22:02 deviantony

Thanks dude, I am really looking forward to this.

thekk1 avatar Feb 16 '21 08:02 thekk1

I'd like to add that a user setting to adjust the default per page would be more sensible. If you believe most people want 10 per page then make that the system-wide default but let a user adjust their preferences similar to the user themes.

jmott85 avatar Dec 24 '21 16:12 jmott85

A global setting to adjust the count would be great so it would be saved as part as the userdata instead of the browser cookies, or perhaps a global environment setting.

Emalton avatar May 01 '22 22:05 Emalton

A global setting to adjust the count would be great so it would be saved as part as the userdata instead of the browser cookies, or perhaps a global environment setting.

This, as setups like mine with authelia and traefik end up regularly "forgetting" this configured setting.

Zeik0s avatar Jun 08 '22 20:06 Zeik0s

This is one of the most frustrating things about using Portainer. Even on a tablet I can see 20+ containers. On a phone there's always the option to scroll down. I would rather do that then have to click through pages.

You've recently back peddled quickly on the password length enforcement and turned it into a setting. Probably time to rethink this one too.

Nighthawk3D avatar Jul 24 '22 22:07 Nighthawk3D

Users should be able to modify anything that has to do with presentation of data. Columns and rows in tables should be user-modifiable.

lps-rocks avatar Aug 11 '22 21:08 lps-rocks

Has this been solved in the meantime? It is very annoying that portainer cannot save the number of items shown in a list.

cameo69 avatar Sep 17 '22 13:09 cameo69

No, still relevant.

Zeik0s avatar Sep 18 '22 20:09 Zeik0s

I just updated to the latest version and it looks like this was resolved! I went into containers under environment, changed the items per page, signed out, signed back in, and verified items per page setting stayed how I had it set before logging out.

jmott85 avatar Sep 28 '22 08:09 jmott85

@jmott85, I did not notice that until I checked yesterday. Indeed, Portainer stores the info in the localStorage of the browser; which I had deleted upon browser restart. I do not really like the concept, because the info is attached to the browser and not the user account in Portainer... but probably that is good in most scenarios. Thank you for the clarification, added Portainer host to the whitelist for localStorage not to be deleted.

cameo69 avatar Sep 29 '22 06:09 cameo69

I just updated to the latest version and it looks like this was resolved! I went into containers under environment, changed the items per page, signed out, signed back in, and verified items per page setting stayed how I had it set before logging out.

It's not fixed. Yes, the browser is remember the setting now (not in private session). But this was not the request in this issue. The setting is not remembered for the user that is choosing it. Login on another machine or browser bring the user back to the false setting. No, there is no option for users or the admin to change the default value. So after 5 1/2 years there is no feedback or reaction to the absolutely sensible and legitimate request.

thekk1 avatar Dec 13 '22 12:12 thekk1

Our browsers are all limited to private windows & always loose local settings. Very annoying - please make this a config setting...

DjoeC avatar May 03 '23 08:05 DjoeC