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

Custom color per event [$60] #71

Open
tobiasgraeber opened this issue Sep 20, 2016 · 37 comments

Comments

@tobiasgraeber
Copy link

commented Sep 20, 2016

Hi,
is it possible to add an Option, to change a meetings color in the calendar?
(it is only defined by calendar-source colour as at the moment) ...sometimes there may be an important meeting and i want to make it stand out by red color for example...(without changing calendar). i think there should some color/Highlight function? any suggestions? maybe tags+a searchbox (filter) could also be great... #ux


There is a $60 open bounty on this issue. Add to the bounty at Bountysource.

@tcitworld tcitworld changed the title Color Picker / Hilight-Option per Meeting? Color Picker / Highlight-Option per Meeting? Sep 20, 2016

@tcitworld

This comment has been minimized.

Copy link
Member

commented Sep 20, 2016

Search is to be developed and tags is to be integrated some time too.

@ccoenen

This comment has been minimized.

Copy link

commented Sep 20, 2016

2016: I do not believe the ical standard has anything like this defined. Is there a precedence in another application? If so, how is that stored? I'd hate to see this implementation of the standard create its own island of unsupported fields.

2017: COLOR field! (sie comment by @georgehrke: #71 (comment))

@georgehrke

This comment has been minimized.

Copy link
Member

commented Sep 20, 2016

Google calendar and Outlook have similar features, but they don't store it in the iCal data.
If we implement this, we would store it in an X-NEXTCLOUD-COLOR property

@ccoenen

This comment has been minimized.

Copy link

commented Sep 20, 2016

X-NEXTCLOUD-* is exactly what I would like to prevent when I say "island of usupported fields".

@georgehrke

This comment has been minimized.

Copy link
Member

commented Sep 20, 2016

Well, but there is no standard for it.

@MariusBluem

This comment has been minimized.

Copy link
Contributor

commented Sep 20, 2016

...how does Apple do this? 😁

@georgehrke

This comment has been minimized.

Copy link
Member

commented Sep 20, 2016

Apple does not have the feature to color certain events.

@georgehrke georgehrke changed the title Color Picker / Highlight-Option per Meeting? Custom color per event Sep 20, 2016

@ccoenen

This comment has been minimized.

Copy link

commented Sep 20, 2016

One could try to bring a proposal forward according to this:

https://tools.ietf.org/html/rfc5545#section-8.2.3

   A property is defined by completing the following template.

   Property name:  The name of the property.

   Purpose:  The purpose of the property.  Give a short but clear
      description.

   Value type:  Any of the valid value types for the property value need
      to be specified.  The default value type also needs to be
      specified.

   Property parameters:  Any of the valid property parameters for the
      property MUST be specified.

   Conformance:  The calendar components in which the property can
      appear MUST be specified.

   Description:  Any special notes about the property, how it is to be
      used, etc.

   Format definition:  The ABNF for the property definition needs to be
      specified.

   Example(s):  One or more examples of instances of the property need
      to be specified.

I would also not go with COLOR as a property name, it does not reflect the fact that this is a very optional field. It should, for example, not storw the default color of the calendar in my opinion (if it did, you could never easily change the calendar color in the future without touching every single event). Using this property is - as stated in the title - more suitable to draw attention. I propose something like DEFAULT-COLOR-OVERRIDE or HIGHLIGHT-COLOR or something like that.

purpose would be "optional override to draw attention to a specific event or todo in a calendar. takes precedence over the calendars default color.

Value Type - probably just TEXT

Property Parameters - hex codes starting with # or named css colors (or do we need something else?)

@ccoenen

This comment has been minimized.

Copy link

commented Sep 20, 2016

There's CATEGORIES already, maybe supporting categories (and adding display rules to a category) would help the OP as well? This would stay well within the standard without the need for customisations.

example "oh hey, this needs to stand out for a reason" - the reason being that this is a familiy event. Add the category family. BOOM Family styling applied. Event stands out from the rest.

@ccoenen

This comment has been minimized.

Copy link

commented Sep 20, 2016

Upside: Thunderbird / Calendara already supports categories and it will add a tiny color-code to the end of the event (the green things called "Urlaub" also have the category "Urlaub" and the blue appointment on 2016-09-20 has the category "Besprechung", everything else has no category.

categories

@georgehrke

This comment has been minimized.

Copy link
Member

commented Apr 7, 2017

RFC 7986 introduces COLOR. We should use that property :)
https://tools.ietf.org/html/rfc7986#section-5.9

@aluxnimm

This comment has been minimized.

Copy link

commented Sep 13, 2017

We now have experimental support for the new COLOR attribute from RFC 7986 and can map the Outlook category color to the COLOR attribute in Outlook CalDavSynchronizer

Since this is also supported in DAVdroid, see https://forums.bitfire.at/topic/1058/single-event-colors and some Android calendar apps it would be really useful to be able to show/edit the COLOR in the Nextcloud calendar app for a seamless Outlook and Android integration!

@georgehrke

This comment has been minimized.

Copy link
Member

commented Sep 13, 2017

Absolutely.

I'm still not sure how to map the colors from our rgb color picker to the list of css3 color names yet though. Any suggestions?

@tcitworld

This comment has been minimized.

Copy link
Member

commented Sep 13, 2017

Since the list of possible colors is quite small, we can show a standard select element instead.

@georgehrke

This comment has been minimized.

Copy link
Member

commented Sep 13, 2017

I already see people opening issues why we didn't use the same (full-featured) color-picker as in the left sidebar 🙈

@aluxnimm

This comment has been minimized.

Copy link

commented Sep 13, 2017

Not that small, around 150 possible colors. I needed to map those to the around 25 possible Outlook category colors and used some nearest color metric but not in the RGB space, since this is rather useless.

@juliushaertl

This comment has been minimized.

Copy link
Member

commented Oct 15, 2017

@sachaz

This comment was marked as off-topic.

Copy link

commented Feb 19, 2018

Still interested by this feature ;)

@georgehrke

This comment has been minimized.

Copy link
Member

commented Feb 19, 2018

@sachaz Please use the Github Reactions feature instead of commenting +1, 👍 etc. These kinds of comments just unnecessarily notify everyone subscribed to this issue. Thx! :)

@jookk

This comment was marked as off-topic.

Copy link

commented Mar 5, 2018

Really needed +1

@DiGGeR2

This comment was marked as off-topic.

Copy link

commented Mar 13, 2018

Really needed too +1

@sachaz

This comment was marked as off-topic.

Copy link

commented Mar 16, 2018

facebook "like" style ? ;)

@ediazcomellas

This comment was marked as outdated.

Copy link

commented Apr 17, 2018

Anyone willing to take this issue? I will double the bounty if it is done by end of april 2018.

@jospoortvliet jospoortvliet changed the title Custom color per event Custom color per event [$50] Aug 23, 2018

@tlehmann7

This comment was marked as off-topic.

Copy link

commented Sep 26, 2018

Is that still active?

@ccoenen

This comment has been minimized.

Copy link

commented Sep 26, 2018

  • yes, it's still a thing people want
  • no, nobody is working on it as far as I know

If someone wants to step forward with a pull request, I bet it would get merged.

@DiGGeR2

This comment was marked as off-topic.

Copy link

commented Sep 26, 2018

@rullzer rullzer added Hacktoberfest and removed Hacktoberfest labels Oct 1, 2018

@UralZima

This comment was marked as off-topic.

Copy link

commented Oct 2, 2018

I also need this feature. Please implement it, it is very useful!
I want to create a moon calendar and have different colors for each moonday for easier planning your events according to moonphases and moondays.

@georgehrke

This comment has been minimized.

Copy link
Member

commented Oct 2, 2018

Everyone, as I mentioned above already, please please use the Github Reactions feature instead of commenting +1, 👍 etc. These kinds of comments just unnecessarily notify everyone subscribed to this issue.

If this doesn't stop i will have to lock this issue. Thx.

@sachaz

This comment has been minimized.

Copy link

commented Nov 20, 2018

Hi I can add 50€ to this feature too if it can motivate some folk

@tcitworld

This comment has been minimized.

Copy link
Member

commented Feb 14, 2019

Next versions of Safari on MacOS and iOS will include color pickers therefore we may be able to just rely on standard color pickers.

@ccoenen

This comment has been minimized.

Copy link

commented Feb 14, 2019

The picker seems not to be the issue, but the fact that you would need to convert this to one of the CSS3 color names:

The value is a case-insensitive color name taken from the CSS3 set of names, defined in Section 4.3 of [W3C.REC-css3-color-20110607].

As far as I know the browser integrated color pickers return rgb style strings as value. (Strings like #FF0000) which would not work (well, it may work, but it would be against the spec). Instead a name like red would be required. This adds the complexity of mapping one of 16.7 Million combinations to one of ~150 color keywords AND explaining to a user why it's a slightly different shade of fuchsia than his color picker intended it to be.

The cite is from https://tools.ietf.org/html/rfc7986#section-5.9
The referenced w3c standard is this section here: https://www.w3.org/TR/2011/REC-css3-color-20110607/#svg-color

@aluxnimm

This comment has been minimized.

Copy link

commented Feb 14, 2019

Actually there exists an errata to that RFC which allows rgb values!
e.g.
COLOR:rgb(61\,211\,68)
https://www.rfc-editor.org/errata_search.php?rfc=7986

@ccoenen

This comment has been minimized.

Copy link

commented Feb 14, 2019

I'm not sure about the errata system in IETF RFCs, but that one is in "reported" state. I don't believe this is wise to build on this, yet.

@aluxnimm

This comment has been minimized.

Copy link

commented Feb 14, 2019

I could add support for it in Outlook CalDav Synchronizer if Nextcloud uses it, but DAVx5 also only supports CSS3 names atm. I can ask in CalConnect mailing lists, if other vendors support it or plan to do so.
We have similar discussions about formatted description property and some vendors like Google calendar just add HTML tags to the standard description property which should be plain-text according to RFC.

@IvanKazak

This comment has been minimized.

Copy link

commented Apr 13, 2019

Hi,
is it possible to add an Option, to change a meetings color in the calendar?
(it is only defined by calendar-source colour as at the moment) ...sometimes there may be an important meeting and i want to make it stand out by red color for example...(without changing calendar). i think there should some color/Highlight function? any suggestions? maybe tags+a searchbox (filter) could also be great... #ux

There is a $50 open bounty on this issue. Add to the bounty at Bountysource.

I've added $10 more

@jospoortvliet jospoortvliet changed the title Custom color per event [$50] Custom color per event [$60] Apr 23, 2019

@Doriphore

This comment has been minimized.

Copy link

commented Apr 26, 2019

i agree with this demand really important for organisation, I just can offer a smile ;)

@brycefisher

This comment has been minimized.

Copy link

commented Jun 24, 2019

I'm potentially interested in contributing PRs for this feature. Is the COLOR field issue sufficiently clear for a PR to be considered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.