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

Request: Color in calendar by custom field #18

Closed
in-vbonilla opened this issue Dec 6, 2022 · 5 comments · Fixed by #21
Closed

Request: Color in calendar by custom field #18

in-vbonilla opened this issue Dec 6, 2022 · 5 comments · Fixed by #21
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@in-vbonilla
Copy link

Hello,

I am working in a POC with Strapi and found your plugin very useful for our use case.

I think it could be a nice addition if the collection entity could set the color of the element shown in the calendar. In our case we could have several marketing campaigns at the same time and if they had different colors could be more clear for the marketing team to visualize when a campaign starts and ends.

I imagine this should be an override of the defaults so, if no color is set on the filed or entity, you get the one set on the plugin.

This is just a suggestion, good job by the way 👍

@endrehegyi
Copy link

Hello, I too would love this feature. To be able to change the colour of each event individually or from a pre-set dropdown list.

@LuisRodriguezLD LuisRodriguezLD self-assigned this Dec 9, 2022
@LuisRodriguezLD LuisRodriguezLD added enhancement New feature or request good first issue Good for newcomers labels Dec 9, 2022
@LuisRodriguezLD
Copy link
Contributor

LuisRodriguezLD commented Jan 4, 2023

Hey, sorry the delay..
I have #21 covering this

Would you mind giving it a go to see if it meets your use case?
You can update your package.json to

"@offset-dev/strapi-calendar": "github:offset-dev/strapi-calendar#feature/color-from-entry" 

@LuisRodriguezLD
Copy link
Contributor

Added in #21

@in-vbonilla
Copy link
Author

Hi @LuisRodriguezLD I have tried it right now and works like a charm!

Thanks for adding this! 👏

@LuisRodriguezLD
Copy link
Contributor

My pleasure, thanks for the idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants