Closed
Bug 1069750
Opened 10 years ago
Closed 8 years ago
Prompting to close rooms before logging out from FxA (and close them)
Categories
(Hello (Loop) :: Client, defect, P4)
Hello (Loop)
Client
Tracking
(firefox34 wontfix, firefox35 wontfix, firefox36- affected)
RESOLVED
INCOMPLETE
backlog | backlog+ |
People
(Reporter: MattN, Unassigned)
References
Details
(Whiteboard: [fxa][fxa-waffle-ignore])
User Story
We generate a new call URL every time the loop panel is opened so this should handle switching to an FxA call URL upon login. When you logout, the panel remains open and so the URL needs be instantly switched from an FxA one to a Guest one otherwise the user could copy a call URL that would only work where they are logged in. The panel is already notified via the LoopStatusChanged event so we can use that to see if we should get a new type of call URL. String already landed in another bug: "This will close any open conversations"
We generate a new call URL every time the loop panel is opened so this should handle switching to an FxA call URL upon login. When you logout, the panel remains open and so the URL needs be instantly switched from an FxA one to a Guest one otherwise the user could copy a call URL that would only work where they are logged in.
The panel is already notified via the LoopStatusChanged event so we can use that to see if we should get a new type of call URL.
Flags: qe-verify+
Flags: firefox-backlog+
Comment 1•10 years ago
|
||
Could we also just cache the guest loop call URL prior to authenticating and then restore that call URL after logout (retrieving a new one if the cached one is past the expiration date)?
Reporter | ||
Comment 2•10 years ago
|
||
I assumed that wouldn't be wanted since we generate a new URL every time the panel is opened. I suspect that same desire would apply here.
Comment 3•10 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #2)
> I assumed that wouldn't be wanted since we generate a new URL every time the
> panel is opened. I suspect that same desire would apply here.
Yeah, I'm wondering though if that is even necessary in itself, as it adds a noticeable delay before a URL is shown and generates potentially unnecessary work for the server.
Getting new URLs each time the panel won't work 100% of the time with getting people to send unique URLs for each conversation, as once a URL is copied to the clipboard, the initiator may send that same URL to multiple people.
Comment 4•10 years ago
|
||
I see now my conversation is more relevant to bug 1030961.
Reporter | ||
Comment 5•10 years ago
|
||
P2 since even though it's a major issue when it happens, it doesn't seem like it will be super common except for the case where someone is logging out specifically to make a call without caller ID but I'm not sure how common that is.
Priority: -- → P2
Comment 6•10 years ago
|
||
moving to 36 as a clean-up since it's an edge case, based on description.
Target Milestone: --- → mozilla36
Reporter | ||
Comment 7•10 years ago
|
||
Lowering priority since this will likely go away with rooms.
status-firefox34:
--- → affected
status-firefox35:
--- → affected
Priority: P2 → P3
Whiteboard: [loop-uplift]
Updated•10 years ago
|
backlog: --- → Fx35+
Updated•10 years ago
|
Target Milestone: mozilla36 → ---
Updated•10 years ago
|
Whiteboard: [fxa]
Comment 8•10 years ago
|
||
hi matt, since this won't make 34, will this go away when we go to rooms - so we can just close?
Flags: needinfo?(MattN+bmo)
Reporter | ||
Comment 9•10 years ago
|
||
Most likely, but until I play with Rooms I won't be sure. The case I'm worried about is:
1) User is logged into FxA
2) User clicks to create a new room.
3) Conversation window opens with a URL.
4) User logs out from FxA.
If we close all FxA rooms at this point then we will be fine. If the FxA rooms remain open even when I logout of FxA then we may have the same problem.
If you can figure that interaction out then we can decide whether this will still be a problem with Rooms.
Flags: needinfo?(MattN+bmo)
Comment 10•10 years ago
|
||
For rooms, I'd rather design make sure its designed in from the start than we pull it in later.
Darrin, what do you think of closing all rooms upon signout as described in Matt's comment 9?
Flags: needinfo?(dhenein)
Comment 11•10 years ago
|
||
Sure -- we may want a prompt that says "Logging out will close any open rooms" or something, but I think it's a fine decision.
Flags: needinfo?(dhenein)
Comment 12•10 years ago
|
||
Hi Darrin, are we ok with the behavior of closing all rooms in Fx35, and then having another bug from prompting that all rooms will close but (new strings- so that bug in Fx36)? or should we do at once in 36?
Hi Matej, either decision - are you good with the wording in comment 11 (seems simple and direct)? also, i know you've been our goto word smith guy for a lot - should I ask you these types of questions when they come up or is there a different process?
Flags: needinfo?(dhenein)
Flags: needinfo?(Mnovak)
Comment 13•10 years ago
|
||
Well -- to address the string: Matej will probably want something without the term "room" in it.
If we're going to close the windows in 35, is it too much of a stretch to add a confirm dialog? I'd like to hear from eng if this is trivial or has to be pushed a release.
Flags: needinfo?(dhenein)
Comment 14•10 years ago
|
||
(In reply to sescalante from comment #12)
> Hi Matej, either decision - are you good with the wording in comment 11
> (seems simple and direct)? also, i know you've been our goto word smith guy
> for a lot - should I ask you these types of questions when they come up or
> is there a different process?
This process works for me. If it starts to get to be too much, we can look at doing it in batches, but for now we're good this way.
As for the string, Darrin is right that I would prefer to not say "room." Maybe it could be:
"This will close any open conversations"
Would that work?
Flags: needinfo?(Mnovak)
Comment 15•10 years ago
|
||
Mark -- Is a prompt before closing all rooms possible in Fx35 using an existing string we can use?
We can use Matej's string (Comment 14) in Fx36 with no problem. Should we consider this bug part of the "Rooms" work at this point? It feels like it belongs with the Rooms work IMO. (Should I link it to the Rooms meta bug and put it on the Rooms trello board?)
Flags: needinfo?(standard8)
Comment 16•10 years ago
|
||
Adding [rooms] for now. We can remove if folks find it confusing.
Whiteboard: [fxa] → [fxa][rooms]
Comment 17•10 years ago
|
||
There's no existing string we could reuse.
Doing this as part of the rooms work might make sense.
Flags: needinfo?(standard8)
Comment 18•10 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #17)
> There's no existing string we could reuse.
>
> Doing this as part of the rooms work might make sense.
If we don't have a string, then I think we just close the rooms without prompting in Fx35 -- and add the prompt (with string) in Fx36. I've linked this to the meta bug for Rooms.
Blocks: 1074659
Updated•10 years ago
|
backlog: Fx35+ → Fx36+
Whiteboard: [fxa][rooms] → [fxa][rooms][strings]
Updated•10 years ago
|
Summary: Generate new guest call URL upon logout from FxA → Prompting to close rooms before logging out from FxA (and close them)
Updated•10 years ago
|
Priority: P3 → P1
Comment 19•10 years ago
|
||
I'm assuming this is wontfix for Firefox 34 at this point. Given this requires strings, the time is running out quickly for 35 as well. I believe strings are required for Beta 1.
status-firefox36:
--- → affected
Comment 20•10 years ago
|
||
[Tracking Requested - why for this release]:
Need this for improved UI when logging out of FxA with Rooms. Requires strings, but the strings landed already in another bug (while Fx36 was still on Nightly). Only targeting uplift to Fx36.
tracking-firefox36:
--- → ?
Comment 21•10 years ago
|
||
Not critical enough to be tracked for the 36 release.
Comment 22•10 years ago
|
||
Moving all P1->P2. (P2 means a major bug that we very much want to fix, but we wouldn't stop ship or block the release for it.)
Comment 23•10 years ago
|
||
Here's the actual change from P1->P2 (per the previous comment). P2 indicates a major bug, but not a stop ship.
Priority: P1 → P2
Updated•10 years ago
|
backlog: Fx36+ → Fx38+
User Story: (updated)
Comment 24•10 years ago
|
||
the user story needs updating. Dan =], then need info Sevaan
sevaan - we'll need some design work - actual UX on how do we ensure that the user has a mental model with different accounts.
shell - find the bug for when you log out sending the error message to associate
Flags: needinfo?(sescalante)
Flags: needinfo?(dmose)
Comment 25•10 years ago
|
||
Much of this bug is irrelevant, so I've opened bug 1120720 as a new one with the problem that can occur in the new rooms world.
That failure mode does not match the string that was already landed, so I think the only thing to do here is to back this string out.
Flags: needinfo?(dmose)
Updated•10 years ago
|
Flags: needinfo?(sescalante)
Priority: P2 → P3
Updated•10 years ago
|
backlog: Fx38+ → backlog+
Rank: 38
Updated•9 years ago
|
Updated•9 years ago
|
Whiteboard: [fxa][rooms][strings] → [fxa][rooms][strings][fxa-waffle-ignore]
Updated•9 years ago
|
Whiteboard: [fxa][rooms][strings][fxa-waffle-ignore] → [fxa][fxa-waffle-ignore]
Comment 26•8 years ago
|
||
Support for Hello/Loop has been discontinued.
https://support.mozilla.org/kb/hello-status
Hence closing the old bugs. Thank you for your support.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•