[P2P Sharing] Handle the "share" activity

NEW
Unassigned

Status

Firefox OS
Gaia::P2P Sharing
P1
normal
3 years ago
2 years ago

People

(Reporter: drs, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [spark])

(Reporter)

Description

3 years ago
We need to define this behavior better, but here's what we've got so far:

The Addon Manager app dispatches a "share" activity with a parameter, "app", somehow uniquely identifying an app. According to Fabrice, we should use the manifest URL, as it guarantees uniqueness.

Note that sharing apps is passive. That is, the user can't say "share this app with this other person now", and then the app will be transmitted. Instead, the user can only say "make this app available," and then others can download it.

We should pop up some kind of dialog which allows the user to toggle sharing of the target app.

We must also handle these edge cases:
1. The app is already being shared.
2. Sharing is disabled.
(Reporter)

Comment 1

3 years ago
Jacqueline, could you help to define this behavior?
Flags: needinfo?(jsavory)
(Reporter)

Updated

3 years ago
Blocks: 1133984
(Reporter)

Updated

3 years ago
No longer blocks: 1111748
Hey Doug, I just want to clarify what you are asking. You are wondering about the UX flows for when the user enters the P2P sharing app after sharing through Add-on Manager? 

Amy is currently working on some wires for this that will answer these questions, we will post the wires as soon as they are completed.
Flags: needinfo?(jsavory)
(Reporter)

Comment 3

3 years ago
(In reply to jsavory from comment #2)
> Hey Doug, I just want to clarify what you are asking. You are wondering
> about the UX flows for when the user enters the P2P sharing app after
> sharing through Add-on Manager? 

Yes, that's right.

Comment 4

3 years ago
(In reply to Doug Sherk (:drs) (use needinfo?) from comment #3)
> (In reply to jsavory from comment #2)
> > Hey Doug, I just want to clarify what you are asking. You are wondering
> > about the UX flows for when the user enters the P2P sharing app after
> > sharing through Add-on Manager? 
> 
> Yes, that's right.

Hi Doug, 

I've attached a UX spec for the App Manager to the meta bug 1111748. This should address your questions about the flow from the app manager to P2P sharing. Let me know if you need any clarification. 

In order to keep track of the UX/VSD specs for the hack phone, all specs will be posted and updated on the Meta Bug 1111748 https://bugzilla.mozilla.org/show_bug.cgi?id=1111748.

Thanks

Comment 5

3 years ago
As per Doug's request, moving UX/VSD spec to App Manager tracking bug 1133990 

UX/VSD Spec
https://bug1133990.bugzilla.mozilla.org/attachment.cgi?id=8568832
Whiteboard: [lightsaber] → [ignite]
Whiteboard: [ignite] → [spark]
Component: Gaia → Gaia::P2P Sharing
(Reporter)

Updated

2 years ago
Assignee: drs → nobody
You need to log in before you can comment on or make changes to this bug.