Closed Bug 1079724 Opened 11 years ago Closed 11 years ago

Clean calls and shared URLs buttons in Loop app settings should be disable if the call log or shared URLs history are empty

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: oteo, Assigned: crdlc)

References

Details

(Whiteboard: [mobile app][not blocking][tef-triage])

Attachments

(2 files)

Right now, in Loop application "Clean all calls" and "Clean shared links" buttons can be tapped when the Call and shared URLs history are empty. The issue is even worse, because after clicking on them: - "Clean all calls", asks you to confirm the deletion - "Clean shared links" opens the menu choose between "Clean list disable links" and "Clean all" (also with confirmation) It'd be better to have those buttons deactivated and avoid this wrong flow
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
Blocks: 1036490
Severity: normal → minor
Whiteboard: [mobile app][not blocking][tef-triage]
Setting ni to Vicky to confirm that the expected behavior should be that those buttons have to be deactivated when the Call log and the shared URLs history are empty
Flags: needinfo?(vpg)
Ideal solution would be to take them out, not show them when they are not useful. 2nd option is to have them in the disabled mode.
Flags: needinfo?(vpg)
Attachment #8501743 - Flags: ui-review?(vpg)
Sorry but I couldn't take a screenshot and I used my phone :(
Attached file Github pull request
Thanks Fernando for taking a look at this
Attachment #8501745 - Flags: review?(ferjmoreno)
Borja, comments addressed, thanks for your help my friend
Comment on attachment 8501745 [details] Github pull request Stealing the r? for clearing the list of pending reviews. Thanks for the patch!
Attachment #8501745 - Flags: review?(ferjmoreno) → review+
Comment on attachment 8501743 [details] Use case no shared links Merged in master: https://github.com/mozilla-b2g/firefoxos-loop-client/commit/33f411af0dac0b2ba809035f6d3169086a41604f I've removed the ui-review? because I followed how it is working in the rest of apps e.g. contacts for instance (by means of disabled attr defined in the BB). BTW if you see something wrong please open a follow-up and immediately I gonna address that. thanks
Attachment #8501743 - Flags: ui-review?(vpg)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #8501743 - Flags: ui-review+
Verified on: Flame: user.v2.0.184based.B-57.Gecko-dde9d61.Gaia-7b8df99 FireE: firee-kk-v2.0-SW2E5-4 Loop 1.1, version: aba155c
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: