gecko/b2g/config
Gaia Pushbot d4e65e6427 Bumping gaia.json for 1 gaia-central revision(s) a=gaia-bump
Truncated some number of revisions since the previous bump.

========

https://hg.mozilla.org/integration/gaia-central/rev/373644db99ce
Author: Rick Waldron <waldron.rick@gmail.com>
Desc: Bug 920546 - [Messages] Short-term fixes for the recipient panel r=julienw

https://bugzilla.mozilla.org/show_bug.cgi?id=920546

- Apply new "invalid recipient" indicator style
- Decouple searchContact from list display
- Create ThreadUI.listContact(...)
- Create ThreadUI.validateContact(...)
- Adds two level validation:
    - Is the entry questionable?
        - This kicks off a silent search for matching contacts
        - If there are one or more matches, use the first to create a Recipient
    - Is the entry invalid?
        - This state is reached if no contacts could be found
          for the typed value.
        - Prevents enableSend
        - Prevents "export" of recipient entry at Send
          (when mixed with multiple valid recipients)
- Refactor Utils.getContactDisplayInfo logic
- Adds tests for enableSend
- Adds tests for questionable Recipient detection.

Changes, post review:

> Bug 1:
>  - enter a bogus recipient, press enter to "accept" it
>  - press backspace => the cursor is correctly inside the contenteditable element, but it's still "red" and the keyboard is hiding

Fixed by adding CSS rules:
  [contenteditable=false].attention
  [contenteditable=true].attention

---

> Bug 2:
>  - with the recipient light workload, that has a "Adam L. Card" contact
>  - typing exactly "Adam L. Card" => no match
>  - typing "Adam Card" => match

Yep, this has always been true. See also: https://bugzilla.mozilla.org/show_bug.cgi?id=860804

---

> Bug 3:
>  - add text in the composer
>  - add a bogus contact => the send button is enabled, should be disabled

Fixed by being more explicit in enableSend:

Set hasRecipients to true based on the following conditions:

 1. There is a valid recipients object
 2. One of the following is true:
     - The recipients object contains at least 1 valid recipient
       - OR -
     - There is >1 character typed and the value will not
       evaluate to a NaN

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-10-27 21:14:10 -07:00
..
emulator bug 872765 - b2g emulator package-tests, upload the tests. r=jgriffin 2013-05-28 19:03:50 -07:00
emulator-ics Bug 921071 - Add in-tree configs for B2G emulator-ics. r=aki 2013-09-26 15:06:35 -04:00
emulator-jb Bug 885630: gecko configs for emulator-jb builds. r=aki DONTBUILD 2013-08-28 13:45:08 -04:00
hamachi No bug: remove B2GUPDATER environment variables. they do nothing! r=Callek 2013-10-17 11:02:22 -04:00
helix No bug: remove B2GUPDATER environment variables. they do nothing! r=Callek 2013-10-17 11:02:22 -04:00
inari No bug: remove B2GUPDATER environment variables. they do nothing! r=Callek 2013-10-17 11:02:22 -04:00
leo No bug: remove B2GUPDATER environment variables. they do nothing! r=Callek 2013-10-17 11:02:22 -04:00
mako No bug: remove B2GUPDATER environment variables. they do nothing! r=Callek 2013-10-17 11:02:22 -04:00
mozconfigs Bug 926900 - Remove msys-make specific mozconfig. r=gps 2013-10-16 08:31:18 +09:00
tooltool-manifests Bug 823906 - Last clang update on the 3.2 branch. r=rail. 2012-12-24 09:54:37 -05:00
unagi No bug: remove B2GUPDATER environment variables. they do nothing! r=Callek 2013-10-17 11:02:22 -04:00
gaia.json Bumping gaia.json for 1 gaia-central revision(s) a=gaia-bump 2013-10-27 21:14:10 -07:00