Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have a visual representation of maxitems #100

Open
TBschen opened this issue Jun 7, 2022 · 4 comments
Open

have a visual representation of maxitems #100

TBschen opened this issue Jun 7, 2022 · 4 comments
Labels

Comments

@TBschen
Copy link

TBschen commented Jun 7, 2022

I think it would be nice to have a visualization next to a column that display the amount of content elements used in a column if one is using maxitems.
For example "1/5" if maxitems is 5 and there's currently 1 content element in the column.

@riegeo
Copy link

riegeo commented Jun 21, 2022

Yeah that would be very useful - just like it is when gridelements is installed

@IchHabRecht
Copy link
Owner

Hi,

Maybe someone will have a look at #121

@KlickUndKlar
Copy link

Hi @IchHabRecht

Many thanks for the quick reaction. I've tested the issues and haven't found any bugs from a technical point of view. But I have a small design/UX objection. I find the signal colors quite okey in the context of error messages. But they are too annoying for this counter. In my example, only one content element is allowed in the header column. The user would therefore always see a badge with an error color on every page. This makes no sense and disturbs the UI. Let's make the counter a bit plainer so it takes less attention. I think gray would go well with it. Then I would also move the position a bit. If we place it relative to the column name, it flows nicely.

Bildschirm­foto 2023-02-08 um 07 25 05

@IchHabRecht
Copy link
Owner

Hi @KlickUndKlar,

Thank you for your feedback. I like the idea to Grey out a full row. I will change it. According to your positioning purpose it would be great if you could provide additional css and check if this works in all 3 supported versions 10-12). As non-frontendler this was the best I came up with so far 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants