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

Display labels when rendering & add Optgroups #71

Open
palomamtnez opened this issue Oct 1, 2021 · 10 comments
Open

Display labels when rendering & add Optgroups #71

palomamtnez opened this issue Oct 1, 2021 · 10 comments
Labels
craft 5 enhancement New feature or request

Comments

@palomamtnez
Copy link

Hello, first of all, this plugin is amazing. Thank you for it :)

Id like to know if there's planned support to add the option to show the label on the admin panel as well as the colour swatch, as it will help with accessibility and easier for the user to decide which colour to choose.

In this case, I have ice cream flavours and some of them have a similar colour palette so the tooltips are not enough to help the user

Also, I have suggestions for the colours grouped like in the image below.
For example, for the scoop flavours, I want to suggest those colours marked in red, and for the 2L presentation then suggest other colours, and so on. But at this point is not possible to add the optgroups.

Screen Shot 2021-10-01 at 1 25 33 PM

Screen Shot 2021-10-01 at 1 24 10 PM

)
@michtio
Copy link
Contributor

michtio commented Oct 1, 2021

@palomamtnez honestly it is something we didn't think about!

We will add this feature request to the list. We're currently a bit swamped with deadline for the next few weeks.
But we have plans moving forwards, just as much as releasing a pro version with a lot more features.

Thank you for the issue! 👍🏻

@palomamtnez
Copy link
Author

Thank you! keep us posted :) !!

@palomamtnez
Copy link
Author

Also, if you want more ideas 💡 , could it be possible to also add another field for the colour handle or something similar?
For example, in these swatches, I have the colours Vanilla Bean, Caramel Cookie Dough and Rum & Raisin, but on my scss I have the class vanilla-bean, and rum-raisin, etc. so the issue in here is that I have to transform and replace the & symbols as well as the blank spaces so they can match my cutom classes.

A good solution could be to have a third column for the colour handle :)

Screen Shot 2021-10-04 at 2 49 03 PM

Lastly, not sure if this one is possible, but could we add at least the colour label to the table of entries view?

Screen Shot 2021-10-04 at 2 52 49 PM

I can offer myself to help as well:)

@michtio
Copy link
Contributor

michtio commented Oct 8, 2021

Feel free to add a PR if you're up to it and have availability @palomamtnez ! We will probably revisit some features in November, as we had hit a very heavy deadline month in September, the team is taking holidays this month :)

@michtio
Copy link
Contributor

michtio commented Oct 8, 2021

The second one the colour label to the table of entries view is actually possible, but works only up to 2 colours I think, we should have a look at that.

@michtio michtio added the enhancement New feature or request label Nov 24, 2021
@cookie10codes cookie10codes added this to Needs triage in Colour Swatch via automation Dec 1, 2021
@cookie10codes cookie10codes moved this from Needs triage to Low priority in Colour Swatch Dec 1, 2021
@adrienne
Copy link

I hate the new labels in the control panel, can we have a config option to turn them back off, please? They are particularly bad in Matrix fields, where they overlap the borders of the block if they're the last field in the list.

image

@michtio
Copy link
Contributor

michtio commented Jan 4, 2022

@adrienne this will be fixed in a next release in the next few weeks, we are currently working on a new/improved UI for colour swatches.

@JamsRepos
Copy link

@adrienne this will be fixed in a next release in the next few weeks, we are currently working on a new/improved UI for colour swatches.

Hey, has there been any update towards this? Currently have a client with a lot of colours and labels are completely covering one another.

@cookie10codes
Copy link
Contributor

hi people 👋🏼
We're busy creating a new UI that fits the needs for these labels. We're aiming to release this feature, on our Craft 4 install, by the end of the month

@chrismlusk
Copy link

Would still love to see this enhancement. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
craft 5 enhancement New feature or request
Projects
Colour Swatch
Low priority
Development

No branches or pull requests

6 participants