Closed
Bug 1184924
Opened 9 years ago
Closed 9 years ago
Implement the refreshed design for the invitation overlay
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox43+ verified, firefox44+ verified)
People
(Reporter: mikedeboer, Assigned: Mardak)
References
Details
(Whiteboard: [visual refresh][strings])
Attachments
(7 files, 9 obsolete files)
(deleted),
patch
|
dmosedale
:
review+
|
Details | Diff | Splinter Review |
(deleted),
image/png
|
Details | |
(deleted),
video/webm
|
sevaan
:
ui-review+
|
Details |
(deleted),
application/zip
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
To meet the acceptance criteria as stated in bug 1179164, we should:
- Implement the new style sharing buttons. Do not add the buttons that we don't have an implementation for (yet).
- Implement a new context menu (information popover) that informs the user that the link was copied. This link will fade out and hide after 2 seconds.
- Make sure that the conversation toolbar is visible on top of the overlay.
For the visual design spec, please check out the ones attached to bug 1179164.
Flags: qe-verify+
Flags: firefox-backlog+
Updated•9 years ago
|
Rank: 19
Updated•9 years ago
|
Rank: 19 → 17
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Iteration: --- → 43.1 - Aug 24
Reporter | ||
Comment 1•9 years ago
|
||
Sevaan, what should we do with 'Add some context' link that is visible when you open a conversation without context attached? (It's the one with the pencil icon in front of it.)
Flags: needinfo?(sfranks)
Comment 2•9 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #1)
> Sevaan, what should we do with 'Add some context' link that is visible when
> you open a conversation without context attached? (It's the one with the
> pencil icon in front of it.)
That link has been moved to the gear menu: http://i.sevaan.com/image/393d2T103U2F
Flags: needinfo?(sfranks)
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Sevaan Franks [:sevaan] from comment #2)
> That link has been moved to the gear menu:
> http://i.sevaan.com/image/393d2T103U2F
Fair enough, I thought perhaps that might not be prominent enough...
Comment 4•9 years ago
|
||
Visibility is not really a concern for the moment. In the near future context won't work the way it does not, with just being a URL attached to the room. As we move forward in web-sharing, adding context is just bringing a page into your web sharing window, and we are already exploring mechanisms to do that.
Comment 5•9 years ago
|
||
Just for clarification, the "Submit Feedback" option in the gear menu on http://i.sevaan.com/image/393d2T103U2F is not required.
Updated•9 years ago
|
Iteration: 43.1 - Aug 24 → 43.2 - Sep 7
Updated•9 years ago
|
Assignee: mdeboer → nobody
Status: ASSIGNED → NEW
Iteration: 43.2 - Sep 7 → ---
Updated•9 years ago
|
Rank: 17 → 14
Assignee | ||
Comment 6•9 years ago
|
||
Bug 1178304 will add the facebook button. The buttons shown on the invite view:
(share on Facebook) (share with contacts) (copy link) (?unlabeled email link)
What should happen when clicking on the contacts button "share with contacts" that seems to show a arrowpanel with contacts and their email addresses. Does this include all contacts?
These round buttons have a static blue #00a9dc and hover light blue #5cccee and an active-for-10-seconds green #56b397 each with a white glyph/icon.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Whiteboard: [visual refresh] → [visual refresh][strings]
Assignee | ||
Comment 7•9 years ago
|
||
ni? for the images for the buttons:
https://www.dropbox.com/sh/46pyq5wwgnif6g8/AACEqjLwDw1be0oMYw-okHA9a?dl=0&preview=Share_Screen.png
Flags: needinfo?(sfranks)
Comment 8•9 years ago
|
||
Michael,
Would you be able to provide these assets? http://i.sevaan.com/image/2w2i0C3S2x42
The Facebook icon can be found here: https://www.facebookbrand.com/ But the rest are just fontawesome glyphs so I suspect they can't be used.
Flags: needinfo?(sfranks) → needinfo?(mmaslaney)
Assignee | ||
Comment 9•9 years ago
|
||
Separate from icons, there's the new "share with contacts" button and arrowpanel. Should that be added in this bug as it's new functionality that doesn't seem to be defined? In particular what should appear in the arrowpanel and what should happen when clicking on the button?
Flags: needinfo?(sfranks)
Comment 10•9 years ago
|
||
No, no need to implement that. It appears Contacts will be going away in forthcoming releases.
Flags: needinfo?(sfranks)
Assignee | ||
Comment 11•9 years ago
|
||
How opaque should the overlay be? It used to be 60%. I changed it to 90% for this screenshot.
What should the text be for hovering over email and after clicking? I assumed "email link" and "emailed!"
What should happen if the user clicks on one button causing the text to appear for a few seconds but then hovers over the other button causing two sets of button text to appear? Potentially they could overlap depending on how close we place the buttons. (But in the screenshot, both happen to be spaced apart enough.)
On a related note how should the buttons be spaced? Right now they're just equally spaced (flex).
(I've put some placeholder images for the button for now.)
Flags: needinfo?(sfranks)
Assignee | ||
Comment 12•9 years ago
|
||
We can land a string-only patch by taking the .properties file and only including the additions (don't remove to-be-unused strings as they're still used).
Assignee | ||
Comment 13•9 years ago
|
||
Attachment #8663085 -
Flags: review?(dmose)
Comment 14•9 years ago
|
||
Comment on attachment 8663085 [details] [diff] [review]
added strings patch
Review of attachment 8663085 [details] [diff] [review]:
-----------------------------------------------------------------
rs=dmose
Attachment #8663085 -
Flags: review?(dmose) → review+
Assignee | ||
Comment 16•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/9d8166cf45a2bc6b1c5d1dab4dc6dc37214dad0d
Bug 1184924 - Implement the refreshed design for the invitation overlay strings [rs=dmose]
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Where can I see specs/visual to understand how strings are used? I'm quite surprised by the lowercase.
As a side note, I don't really understand why we host specs on external services instead of using Bugzilla's attachments, at least for low-res versions. The direct result of this decision is that the link provided in comment 7 is broken, and that happens a lot in Loop bugs.
Comment 19•9 years ago
|
||
(In reply to Ed Lee :Mardak from comment #11)
> Created attachment 8663052 [details]
> wip screenshot
>
> How opaque should the overlay be? It used to be 60%. I changed it to 90% for
> this screenshot.t
Let's do it at 85%, thanks!
> What should the text be for hovering over email and after clicking? I
> assumed "email link" and "emailed!"
I don't think it needs to change. There is a change of state behind the scenes with copying to a clipboard. But when clicking the email button it's obvious what the change is, and I can do it multiple times. I don't think we need the "Shared!" either for sharing with Facebook now that I'm looking at the spec.
> What should happen if the user clicks on one button causing the text to
> appear for a few seconds but then hovers over the other button causing two
> sets of button text to appear? Potentially they could overlap depending on
> how close we place the buttons. (But in the screenshot, both happen to be
> spaced apart enough.)
We should instantly revert back, so the action text goes back to it's original state instantly.
> On a related note how should the buttons be spaced? Right now they're just
> equally spaced (flex).
All buttons should be centered with 8px gap between them.
(In reply to Francesco Lodolo [:flod] from comment #18)
> Where can I see specs/visual to understand how strings are used? I'm quite
> surprised by the lowercase.
I agree here. Can we have the first letter uppercase, please?
I'll attach a more up-to-date spec to this bug to address dead linkage with Dropbox.
Flags: needinfo?(sfranks)
Assignee | ||
Comment 20•9 years ago
|
||
Here's the design I've been working with from the now-dead link.
If we do want to make the first letter uppercase, we'll need to get it in really soon/today.
Comment 21•9 years ago
|
||
(In reply to Ed Lee :Mardak from comment #20)
> If we do want to make the first letter uppercase, we'll need to get it in
> really soon/today.
I think we're already past that, merges are happening as we speak, so this will go into fx44.
Assignee | ||
Comment 23•9 years ago
|
||
Ignoring the icon for now.. clicking on the button and waiting 2 seconds for the triggered state to go away.. then clicking again then hovering over the other button.
Attachment #8663052 -
Attachment is obsolete: true
Attachment #8664114 -
Flags: ui-review?(sfranks)
Assignee | ||
Comment 24•9 years ago
|
||
Attachment #8663053 -
Attachment is obsolete: true
Attachment #8663694 -
Attachment is obsolete: true
Updated•9 years ago
|
Attachment #8664114 -
Flags: ui-review?(sfranks) → ui-review+
Assignee | ||
Comment 26•9 years ago
|
||
(In reply to Sevaan Franks [:sevaan] from comment #25)
> Created attachment 8664198 [details]
> Invitation Assets (SVG)
> Assets from :mmaslaney attached.
These should be inverted the other way. There should be white for the icon and transparent for the background (and no need for the circle). E.g., just a white mail icon with no/transparent background.
Flags: needinfo?(mmaslaney)
New assets attached
Flags: needinfo?(mmaslaney)
Assignee | ||
Comment 28•9 years ago
|
||
(In reply to Michael Maslaney [:mmaslaney] (mmaslaney@mozilla.com) from comment #27)
> Created attachment 8664377 [details]
> Hello_Assets_092015-v2.zip
> New assets attached
Thanks! Looks good!
Attachment #8664198 -
Attachment is obsolete: true
Attachment #8664301 -
Attachment is obsolete: true
Assignee | ||
Comment 29•9 years ago
|
||
Attachment #8664116 -
Attachment is obsolete: true
Attachment #8664748 -
Flags: review?(standard8)
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Assignee | ||
Updated•9 years ago
|
Iteration: --- → 44.1 - Oct 5
Comment 30•9 years ago
|
||
Comment on attachment 8664748 [details] [diff] [review]
v1
Review of attachment 8664748 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. r=Standard8 with the comments addressed.
Note that Sevaan asked for the strings to start with capitals in comment 19. Can you add a patch to change that please?
::: browser/components/loop/content/js/roomViews.jsx
@@ -286,2 @@
> </p>
> - <a className={cx({hide: !canAddContext, "room-invitation-addcontext": true})}
There's some room-invitation-addcontext classes that need removing:
http://mxr.mozilla.org/mozilla-central/search?string=room-invitation-addcontext
@@ +297,5 @@
> + })}
> + onClick={this.handleCopyButtonClick}>
> + <img src="loop/shared/img/svg/glyph-link-16x16.svg" />
> + <p>{mozL10n.get("invite_copy_" +
> + (this.state.copiedUrl ? "triggered" : "button"))}</p>
nit: I think I'd prefer two-spaces more indent here.
::: browser/components/loop/test/desktop-local/roomViews_test.js
@@ +273,2 @@
>
> + it("should keep the text soon after the url has been copied", function() {
nit: possibly s/soon/for a while/
Attachment #8664748 -
Flags: review?(standard8) → review+
Comment 31•9 years ago
|
||
(Please make the l10n changes a separate patch, as we'll want the non-L10n stuff for uplift).
Assignee | ||
Comment 32•9 years ago
|
||
Assignee | ||
Comment 33•9 years ago
|
||
Attachment #8664748 -
Attachment is obsolete: true
Attachment #8667686 -
Flags: review?(standard8)
Assignee | ||
Comment 34•9 years ago
|
||
Comment on attachment 8667685 [details] [diff] [review]
for checkin
I updated this patch with review comments and removed the .properties string deletion to a separate patch.
Assignee | ||
Comment 35•9 years ago
|
||
Comment on attachment 8667686 [details] [diff] [review]
strings update
Hrmm.. With the new uppercase string, it's the same as the one being removed, so the code should probably just use the old string:
invite_copy_triggered2=Copied!
copied_url_button=Copied!
And should we get rid of the other "triggered" strings as it seems like they won't be used? And "Share with contacts" too..
These are pretty close as well:
+invite_copy_button2=Copy link
copy_url_button2=Copy Link
Assignee | ||
Comment 36•9 years ago
|
||
Alternatively use the panel strings... which probably is not be good for l10n as the panel strings are used in a menu while the new functionality is labeled buttons.
Somewhat interesting to note: panel's menu strings are..
Copy Link
Email Link
Delete conversation
So there's some casing inconsistency here. And reusing the strings isn't quite right as I believe we want "Copy link" and "Email link"
Comment 37•9 years ago
|
||
Firstly: Sevaan, should we use "Copy Link" (similar to what's in the menus in the panel for conversations), or "Copy link"?
I think this is a slightly different case as it isn't in a menu, so "Copy link" might make more sense, but I'll let Sevaan decide.
Secondly: Our strings here are a mess here. I would be happy for you to spin some or all of fixing this out to a separate bug (though we should make it high prio). I think what we should do is:
- Make the strings in the panel for the menus be consistent and next to each other in the file, e.g.
copy_link_menuitem
email_link_menuitem
delete_conversation_menuitem
- Make the conversation window strings consistent (append '2' if necessary), e.g.
invite_copy_link_button
invite_copied_link_button
...
I think button is about the right sort of term here, though we could use label/tooltip instead maybe (though its not quite any of those).
That will give L10n the context as to where these strings live, as there may be a few instances where they have to change the string.
Flags: needinfo?(sfranks)
Comment 38•9 years ago
|
||
Comment on attachment 8667686 [details] [diff] [review]
strings update
Review of attachment 8667686 [details] [diff] [review]:
-----------------------------------------------------------------
This is probably reasonably close to what we want, but I'll let you take a look at the comments & Sevaan's response when we get it, before I review this.
Attachment #8667686 -
Flags: review?(standard8)
Comment 39•9 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #37)
> Firstly: Sevaan, should we use "Copy Link" (similar to what's in the menus
> in the panel for conversations), or "Copy link"?
Copy Link, please.
Flags: needinfo?(sfranks)
Assignee | ||
Comment 40•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/63fe244f62b8ab4b7afe560b41a8bcf1a62afcaa
Bug 1184924 - Implement the refreshed design for the invitation overlay [r=Standard8]
Comment 41•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Assignee | ||
Comment 42•9 years ago
|
||
Comment on attachment 8667686 [details] [diff] [review]
strings update
This patch was handled in bug 1210331.
Attachment #8667686 -
Attachment is obsolete: true
Assignee | ||
Comment 43•9 years ago
|
||
Comment on attachment 8667730 [details] [diff] [review]
using panel strings
This patch was handled in bug 1210331.
Attachment #8667730 -
Attachment is obsolete: true
Assignee | ||
Comment 44•9 years ago
|
||
Comment on attachment 8667685 [details] [diff] [review]
for checkin
This patch as attached is upliftable to aurora if bug 1209029 is *not* uplifted (there's merge conflicts with jar.mn and various glyph svgs being removed) and if bug 1211438 *is* uplifted (there's a potential merge conflict with conversation.css).
Standard8, do you want me to attach a patch that can be uplifted to mozilla-aurora right now? (I.e., without bug 1211438 uplifting first)
Assignee | ||
Comment 45•9 years ago
|
||
Approval Request Comment
[Feature/regressing bug #]: Hello Visual refresh
[User impact if declined]: Old text-button interface instead of new icons with matching colors.
[Describe test coverage new/current, TreeHerder]: Various unit tests landed on m-c and baked for about a week
[Risks and why]: Lowish - mostly css changes and reusing existing existing styles
[String/UUID change made/needed]: None - strings landed when m-c was 43
I'll land this after bug 1211438 is uplifted.
Attachment #8670936 -
Flags: approval-mozilla-aurora?
Comment on attachment 8670936 [details] [diff] [review]
for aurora (Mardak will land)
Approved for aurora uplift, has tests, part of hello feature aimed at 43.
Attachment #8670936 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Tracking since this is part of new feature work.
Assignee | ||
Comment 48•9 years ago
|
||
http://hg.mozilla.org/releases/mozilla-aurora/rev/6424691f9e9a
Bug 1184924 - Implement the refreshed design for the invitation overlay [r=Standard8, a=lizzard]
Updated•9 years ago
|
QA Contact: bogdan.maris
Comment 49•9 years ago
|
||
Verified that the new overlay works as expected using Firefox Developer Edition 43.0a2 and latest Nightly 44.0a1 across platforms (Windows 7 64-bit, Mac OS X 10.11 and Ubuntu 14.04 32-bit).
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•