Page MenuHomePhabricator

Replace YUI color picker in Special:FanBoxes
Open, Needs TriagePublic

Description

While <input type="color"> does currently exist, it doesn't have the best browser support (source: http://caniuse.com/#feat=input-color ), as it is not supported on:

  • Not supported on any of the IE browser versions
  • Not supported on Edge 12 and Edge 13
  • Not supported on Safari 9.1 and earlier versions (although supported on Safari 10)
  • Not supported on any Opera Mini browser versions
  • Not supported on versions of Android Browser 4.3 and below

We should pick something that's free and open-source (FOSS). Here are some available options that I found:

There's also an existing colorpicker tag at plugins.jquery.com, https://plugins.jquery.com/tag/colorpicker/.

Event Timeline

Restricted Application added a project: Social-Tools. · View Herald TranscriptDec 10 2016, 9:22 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
SamanthaNguyen moved this task from Backlog to FanBoxes on the Social-Tools board.Dec 10 2016, 9:23 PM
SamanthaNguyen renamed this task from Replace YUI color picker in Special:FanBoxes with a jQuery color picker to Replace YUI color picker in Special:FanBoxes.Feb 12 2017, 12:02 AM

Just want to let you know that this task is what kept us from installing this extension on allthetropes.org. Using an unsupported third-party library doesn't inspire confidence from a privacy point-of-view.

I think spectrum, mentioned above, can act as a polyfill for <input type="color">, so maybe that's the way to go here?