Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 683447 - GCLI predictions are confusing
: GCLI predictions are confusing
Product: Firefox
Classification: Client Software
Component: Developer Tools (show other bugs)
: unspecified
: x86_64 Windows 7
: -- normal (vote)
: ---
Assigned To: Joe Walker [:jwalker] (needinfo me or ping on irc)
: (Unavailable until Nov 1) Brian Grinstead [:bgrins]
Depends on:
Blocks: GCLI-JS
  Show dependency treegraph
Reported: 2011-08-31 01:28 PDT by Joe Walker [:jwalker] (needinfo me or ping on irc)
Modified: 2011-09-03 05:44 PDT (History)
0 users
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description Joe Walker [:jwalker] (needinfo me or ping on irc) 2011-08-31 01:28:42 PDT
When a conversion of an arg to a value occurs, the conversion process can provide predictions as to what the user meant if the conversion wasn't exact. These predictions are provided in a messy way.

We should standardize on an interface, this should allow us to remove a chunk of conversion code, and enable types to expose descriptions.

Conversion.getPredictions() should return an array of ``items``, where each item is an object with the following properties:
- name (mandatory): Displayed to the user, and typed in. No whitespace
- description (optional): Short string for display in a tool-tip
- manual (optional): Longer description which details usage
- incomplete (optional): Indicates that the prediction if used should not
  be considered necessarily sufficient, which typically will mean that the
  UI should not append a space to the completion
- value (optional): If a value property is present, this will be used as the
  value of the conversion, otherwise the item itself will be used.

Note You need to log in before you can comment on or make changes to this bug.