Closed
Bug 1135045
Opened 10 years ago
Closed 10 years ago
Add infobar for when tab sharing is activated
Categories
(Hello (Loop) :: Client, defect, P2)
Hello (Loop)
Client
Tracking
(firefox38+ verified, firefox39+ verified)
backlog | backlog+ |
People
(Reporter: standard8, Assigned: mikedeboer)
References
()
Details
(Whiteboard: [strings][screensharing])
User Story
When a user activates tab sharing: - An infobar across the browser window informs the user how sharing window works. - The user can dismiss the infobar either each time or permanently.
Attachments
(4 files, 7 obsolete files)
2.23 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
4.37 KB,
patch
|
standard8
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
5.11 KB,
patch
|
standard8
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
13.31 KB,
patch
|
standard8
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•10 years ago
|
User Story: (updated)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Iteration: --- → 38.3 - 23 Feb
Points: --- → 5
Whiteboard: [strings][screensharing]
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8567098 -
Flags: review?(standard8)
Assignee | ||
Comment 2•10 years ago
|
||
Forgot to add accesskeys
Attachment #8567098 -
Attachment is obsolete: true
Attachment #8567098 -
Flags: review?(standard8)
Attachment #8567113 -
Flags: review?(standard8)
Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8567113 [details] [diff] [review]
Patch 1.1: add strings for the Hello infobar to be added soon
Review of attachment 8567113 [details] [diff] [review]:
-----------------------------------------------------------------
Please drop the browser.css change. r=Standard8 with that fixed.
Attachment #8567113 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Pushed this single patch to fx-team: https://hg.mozilla.org/integration/fx-team/rev/522de3fc7a8a
Keywords: leave-open
Updated•10 years ago
|
backlog: --- → backlog+
Rank: 2
Flags: qe-verify+
Flags: firefox-backlog+
Priority: -- → P2
Assignee | ||
Comment 6•10 years ago
|
||
As per IRC wrt the icon shown in the notification bar:
[17:00:32] <sevaan> mikedeboer: Sorry! We don't want to use that sharing icon...that was there because we didn't have a screen-sharing icon created at the
time.
[17:00:38] <sevaan> But I wonder if we should use a Firefox Hello logo instead
[17:00:43] <sevaan> Let me look
[17:01:48] <sevaan> Use the screen-sharing icon that we have in the Conversation window
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8573246 -
Flags: review?(standard8)
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8573248 -
Flags: review?(standard8)
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8573246 -
Attachment is obsolete: true
Attachment #8573246 -
Flags: review?(standard8)
Attachment #8573255 -
Flags: review?(standard8)
Assignee | ||
Comment 10•10 years ago
|
||
[Tracking Requested - why for this release]: Loop/ Hello window & tab sharing is slated for Fx38, this requesting to track this bug for uplift when it's resolved.
status-firefox38:
--- → affected
tracking-firefox38:
--- → ?
Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8573255 [details] [diff] [review]
Patch 2.1: support notification bar buttons of type menu-button with a custom menupopup
Officially, I'm not a browser/ peer yet, so passing to Jared.
Attachment #8573255 -
Flags: review?(standard8) → review?(jaws)
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8575224 -
Flags: review?(jaws)
Reporter | ||
Comment 13•10 years ago
|
||
Comment on attachment 8573248 [details] [diff] [review]
Patch 3: show an infobar when tab sharing is activated
Review of attachment 8573248 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/base/content/browser-loop.js
@@ +489,5 @@
>
> + let wasVisible = false;
> + // Hide the infobar from the previous tab.
> + if (typeof event.fromIndex == "number" && event.fromIndex > 0) {
> + wasVisible = this._hideBrowserSharingInfoBar(false,
For some reason this swapping of tabs doesn't seem to work for me.
Attachment #8573248 -
Flags: review?(standard8) → review-
Assignee | ||
Updated•10 years ago
|
Attachment #8573255 -
Flags: review?(jaws) → review?(standard8)
Assignee | ||
Updated•10 years ago
|
Attachment #8575224 -
Flags: review?(jaws) → review?(standard8)
Assignee | ||
Updated•10 years ago
|
Attachment #8573248 -
Flags: review- → review?(standard8)
Assignee | ||
Comment 14•10 years ago
|
||
Attachment #8573255 -
Attachment is obsolete: true
Attachment #8573255 -
Flags: review?(standard8)
Attachment #8576025 -
Flags: review?(standard8)
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #8573248 -
Attachment is obsolete: true
Attachment #8573248 -
Flags: review?(standard8)
Attachment #8576026 -
Flags: review?(standard8)
Assignee | ||
Comment 16•10 years ago
|
||
Attachment #8575224 -
Attachment is obsolete: true
Attachment #8575224 -
Flags: review?(standard8)
Attachment #8576027 -
Flags: review?(standard8)
Assignee | ||
Comment 17•10 years ago
|
||
Now also works in non-e10s windows!
Attachment #8576026 -
Attachment is obsolete: true
Attachment #8576026 -
Flags: review?(standard8)
Attachment #8576064 -
Flags: review?(standard8)
Assignee | ||
Comment 18•10 years ago
|
||
Looks like this is working _much_ better now. Mark, can you confirm that too?
Attachment #8576064 -
Attachment is obsolete: true
Attachment #8576064 -
Flags: review?(standard8)
Attachment #8576115 -
Flags: review?(standard8)
Comment 19•10 years ago
|
||
Per Gavin's request - just updating bugs that carried over before they were 100% resolved to the next iteration.
Iteration: 38.3 - 23 Feb → 39.2 - 23 Mar
Reporter | ||
Updated•10 years ago
|
Attachment #8576025 -
Flags: review?(standard8) → review+
Reporter | ||
Comment 20•10 years ago
|
||
Comment on attachment 8576027 [details] [diff] [review]
Patch 4.1: add tests to confirm that the tab-sharing infoBar is working as expected
Review of attachment 8576027 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, one minor comment.
::: browser/components/loop/test/mochitest/browser_mozLoop_sharingListeners.js
@@ +147,5 @@
> + };
> +
> + let testBarProps = function() {
> + // We now know that the second tab is selected and should be displaying the
> + // infobar.
I think this comment would be better situated at the first call to testBarProps()
Attachment #8576027 -
Flags: review?(standard8) → review+
Reporter | ||
Comment 21•10 years ago
|
||
Comment on attachment 8576115 [details] [diff] [review]
Patch 3.3: show an infobar when tab sharing is activated
Review of attachment 8576115 [details] [diff] [review]:
-----------------------------------------------------------------
Looking good, just a couple of minor things to clean up.
::: browser/base/content/browser-loop.js
@@ +464,5 @@
> + _hideBrowserSharingInfoBar: function(permanently = false, browser) {
> + browser = browser || gBrowser.selectedTab.linkedBrowser;
> + let box = gBrowser.getNotificationBox(browser);
> + let notification = box.getNotificationWithValue(kBrowserSharingNotificationId);
> + let removed = false;
You're not doing anything with the return value here, so I don't think you need to track whether or not it was removed.
::: toolkit/content/widgets/tabbox.xml
@@ +662,5 @@
> if (val < 0 || val >= this.childNodes.length)
> return val;
> var panel = this._selectedPanel;
> this._selectedPanel = this.childNodes[val];
> + var fromIndex = this.selectedIndex;
This is now redundant.
Attachment #8576115 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 22•10 years ago
|
||
Updated•10 years ago
|
status-firefox39:
--- → affected
tracking-firefox39:
--- → +
Comment 24•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0761779e008b
https://hg.mozilla.org/mozilla-central/rev/77e37031bb11
https://hg.mozilla.org/mozilla-central/rev/5e797718340b
Flags: in-testsuite+
Assignee | ||
Comment 25•10 years ago
|
||
Comment on attachment 8576025 [details] [diff] [review]
Patch 2.2: support notification bar buttons of type menu-button with a custom menupopup
Approval Request Comment
[Feature/regressing bug #]: Loop/ Hello screensharing milestone
[User impact if declined]: User will see a new option that allows her/ him to share a window or Firefox tabs inside a room (aka. conversation).
[Describe test coverage new/current, TreeHerder]: landed on m-c, tests pass.
[Risks and why]: minor
[String/UUID change made/needed]: n/a
Attachment #8576025 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 26•10 years ago
|
||
Comment on attachment 8576027 [details] [diff] [review]
Patch 4.1: add tests to confirm that the tab-sharing infoBar is working as expected
Please see comment 25 for approval request.
Attachment #8576027 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 27•10 years ago
|
||
Comment on attachment 8576115 [details] [diff] [review]
Patch 3.3: show an infobar when tab sharing is activated
Please see comment 25 for approval request.
Attachment #8576115 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•10 years ago
|
QA Contact: bogdan.maris
Updated•10 years ago
|
Attachment #8576025 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Attachment #8576027 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Attachment #8576115 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 28•10 years ago
|
||
Comment 29•10 years ago
|
||
Verified that the tab sharing infobar was implemented and works as expected across platforms (Windows 7 64-bit, Mac OS X 10.9.5 and Ubuntu 14.04 32-bit) on latest Nightly. I`m gonna close this bug as verified but will get back to verify on Aurora tomorrow.
Status: RESOLVED → VERIFIED
Comment 30•10 years ago
|
||
Verified on Firefox Developer edition as well across platforms (Windows 8.1 64-bit, Mac OS X 10.9.5 and Ubuntu 14.04 32-bit).
You need to log in
before you can comment on or make changes to this bug.
Description
•