Closed Bug 1042591 Opened 10 years ago Closed 10 years ago

[Contacts][ICE] Display contacts from ICE group

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

x86
macOS
defect
Not set
normal

Tracking

(feature-b2g:2.1, tracking-b2g:backlog)

VERIFIED FIXED
2.1 S3 (29aug)
feature-b2g 2.1
tracking-b2g backlog

People

(Reporter: mbudzynski, Assigned: arcturus)

References

Details

Attachments

(1 file, 1 obsolete file)

When there are contacts added to ICE group, and we click on the first element of the Contacts List (`ICE CONTACTS`), we should see only the contacts we defined as ICE. 
This could be solved using fake-search (searching for something only ICE contacts have, so all the others will be hidden), so we will not need to rebuild the Contacts List (we don't have support of the second view of the list for now, and it would be painful to implement one).
blocking-b2g: --- → backlog
feature-b2g: --- → 2.1
QA Whiteboard: [COM=Gaia::Contacts]
QA Contact: jlorenzo
Flags: in-moztrap?(jlorenzo)
Assignee: nobody → francisco
Target Milestone: --- → 2.1 S3 (29aug)
Attached file Pointer to PR 23086 (obsolete) —
Attachment #8475893 - Flags: review?(sergi.mansilla)
Comment on attachment 8475893 [details] [review]
Pointer to PR 23086

Wrong bug
Attachment #8475893 - Attachment is obsolete: true
Attachment #8475893 - Flags: review?(sergi.mansilla)
Comment on attachment 8477404 [details] [review]
Pointer to PR 23209

Hi Sergi,

the PR is ready for review, if you want to see the ICE contacts you actually have to setup real contacts as ice, for doing that just:

ICEStore.setContacts(['<contact id1>','<contact id2>']);

where the contact ids must be real ;)

Thanks!
Attachment #8477404 - Attachment description: WIP → Pointer to PR 23209
Attachment #8477404 - Flags: review?(sergi.mansilla)
Comment on attachment 8477404 [details] [review]
Pointer to PR 23209

Hei Sergi,

I missed your comments on github, I'm using the flags in bugzilla to check if you reviewed the code.

I'm removing the r? from now and will apply the changes that you comment.

Will ask for r? again when ready. Thanks!
Attachment #8477404 - Flags: review?(sergi.mansilla)
Comment on attachment 8477404 [details] [review]
Pointer to PR 23209

Hei Sergi,

ready for second round!
Attachment #8477404 - Flags: review?(sergi.mansilla)
Comment on attachment 8477404 [details] [review]
Pointer to PR 23209

Hi Alberto, could you give feedback of this patch before the final review?

Thanks!
Attachment #8477404 - Flags: feedback?(apastor)
Comment on attachment 8477404 [details] [review]
Pointer to PR 23209

The code looks good to me. Just a couple of questions, but more regarding the spec that the implenetation:

- Shouldn't be a way of canceling the action of select a contact? Right now the only option you have is selecting a contact. Why not a inline activity?

- Should the ICE group be displayed when selecting a new ICE contact? Looks a little bit odd to me.

Nothing blocker, though.

Thanks!
Attachment #8477404 - Flags: feedback?(apastor) → feedback+
Hi Alberto thanks for looking at this.

(In reply to Alberto Pastor from comment #8)
> Comment on attachment 8477404 [details] [review]
> Pointer to PR 23209
> 
> The code looks good to me. Just a couple of questions, but more regarding
> the spec that the implenetation:
> 
> - Shouldn't be a way of canceling the action of select a contact? Right now
> the only option you have is selecting a contact. Why not a inline activity?

We didn't receive any specification, but we could add a cancel button on the list I guess.
I would prefer not to use an activity cause don't want to spawn another process when we are already in contacts.

> 
> - Should the ICE group be displayed when selecting a new ICE contact? Looks
> a little bit odd to me.

Definitely sonds good.

> 
> Nothing blocker, though.
> 
> Thanks!


Really good feedback, sounds to me like things that we can do in follow ups ;)
Sorry, this feedback meant to go to bug 1042584. Already commented on the PR with my comments for this one.
Comment on attachment 8477404 [details] [review]
Pointer to PR 23209

Made another small comment to the PR, but is a r+ for me. Thanks!
Attachment #8477404 - Flags: review?(sergi.mansilla) → review+
Landed:

https://github.com/mozilla-b2g/gaia/commit/800bcfa418f8d4ad4eebdb3e015ba0f6cfbf65fa
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified User story is fixed. ICE can be set, view in Contacts, couple bugs found.

Gaia      2be78d83a760fa3b9638fe51c266b442d14597f1
Gecko     https://hg.mozilla.org/mozilla-central/rev/1db35d2c9a2f
BuildID   20140831160203
Version   34.0a1
ro.build.version.incremental=110
ro.build.date=Fri Jun 27 15:57:58 CST 2014
B1TC00011230

1061072 [Contacts] Back 'X' is missing from Set ICE page (Single select mode) 
1061069 [Contacts] ICE icon on top of the contact list is truncated
1061068 [Contacts] ICE missing from top of the list when toggling the 'Order by last name'
Status: RESOLVED → VERIFIED
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: