XEP-0331: Data Forms - Color Field Types

Abstract

Some applications require configuration of color values. Examples can be what colors to use for different situations in control applications. There's up to this point no good way to publish color values in a Data Forms (XEP-0004) [1]. Some applications provide parameters of type list-single enabling the user to choose a color from a list of colors. This only allows the user to select from a small amount of colors, and doesn't provide any visual feedback of the actual color chosen. Editing color values as color components or encoded strings is both impractical and unintuitive. This document proposes a method to publish color field parameters in a way that allows clients to show a color picker dialog for the parameter instead of forcing the user to enter an encoded color value. For clients not supporting this extensions, the color value will still be editable as an encoded color string.

Más información

Fecha de publicación: 2015
Idioma: English
URL: https://xmpp.org/extensions/xep-0331.html