Calendar: Color picker for the agendas

Created on 17 Sep 2016  Â·  7Comments  Â·  Source: nextcloud/calendar

Hi ,

Is it possible to replace the limited color chooser by a color picker ?

3 - to review Calendar list design enhancement-approved

Most helpful comment

AFAIK we can check if the browser supports it with:

const input = document.createElement('input');
input.setAttribute('type', 'color');
if (input.type === 'color) => supported

So I suggest to only display the color picker when its supported, but don't provide a fallback.

All 7 comments

Color input is now supported by over 70% of users, including Safari 10 users. Time to get this in ? http://caniuse.com/#feat=input-color

That means we would have to drop Safari9 support, but I'm fine with that. (ref https://github.com/nextcloud/calendar/issues/67)
Safari 10 is also available on older OS X releases like yosemite, so it's not a big deal.

iOS is still an issue though.

AFAIK we can check if the browser supports it with:

const input = document.createElement('input');
input.setAttribute('type', 'color');
if (input.type === 'color) => supported

So I suggest to only display the color picker when its supported, but don't provide a fallback.

Is this feature in 1.5.1 like in changelog written or is that for Milestone 1.6.0?
I ask cause i haven't an advanced color picker.

it only works in modern browsers, which one do you use?

52.0 64bit FF
But it seems that was an adblock issue.
Disabling-->Reload-->New Picker
Also with adblock enabled new picker still visible :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BornToBeRoot picture BornToBeRoot  Â·  3Comments

deanforrest picture deanforrest  Â·  4Comments

andre5tz picture andre5tz  Â·  3Comments

cloud2018 picture cloud2018  Â·  3Comments

juliushaertl picture juliushaertl  Â·  4Comments