Closed
Bug 1184940
Opened 9 years ago
Closed 9 years ago
Implement the refreshed design for the edit context view
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox43 verified)
Tracking | Status | |
---|---|---|
firefox43 | --- | verified |
People
(Reporter: mikedeboer, Assigned: Mardak)
References
Details
(Whiteboard: [visual refresh][strings])
Attachments
(3 files, 1 obsolete file)
(deleted),
image/png
|
sevaan
:
ui-review+
|
Details |
(deleted),
patch
|
dmosedale
:
review+
|
Details | Diff | Splinter Review |
(deleted),
image/jpeg
|
Details |
To meet the acceptance criteria as stated in bug 1179164, we should:
- Implement the back button, which the replaces the 'Close' (or 'Cancel', 'x') button, but keeps its functionality.
- Rename the 'Save' button to 'Done'.
- Add/ implement a 'Cancel' button, which does the exact same thing as the back button.
- The context view should remain visible below the two 'Done' and 'Cancel' button, which will behave as a preview area that updates when you change a value in the form.
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
Updated•9 years ago
|
Assignee: nobody → chris.rafuse
Iteration: --- → 43.2 - Sep 7
Updated•9 years ago
|
Assignee: chris.rafuse → nobody
Updated•9 years ago
|
Iteration: 43.2 - Sep 7 → ---
Assignee | ||
Comment 1•9 years ago
|
||
sevaan, do we have the back icon used in the bottom row of https://www.dropbox.com/sh/46pyq5wwgnif6g8/AACEqjLwDw1be0oMYw-okHA9a?dl=0&preview=ConversationWindow.png in the top left corner of each of those views?
Flags: needinfo?(sfranks)
Assignee | ||
Comment 2•9 years ago
|
||
Oh, I see from bug 1184933 comment 16 that the back button wasn't useful in the error view. Is it useful in this edit view (where there's also a Cancel button)?
Comment 3•9 years ago
|
||
(In reply to Ed Lee :Mardak from comment #2)
> Oh, I see from bug 1184933 comment 16 that the back button wasn't useful in
> the error view. Is it useful in this edit view (where there's also a Cancel
> button)?
We can leave it out; it's vestigial from some previous thinking.
Flags: needinfo?(sfranks)
Updated•9 years ago
|
Assignee: nobody → edilee
Iteration: --- → 43.3 - Sep 21
Assignee | ||
Comment 4•9 years ago
|
||
We'll split out the live preview mentioned in comment 0 as it's turning out to be quite complicated with chat window dynamic resizing, etc.
One thing with the new design is that there's no simple way to select the default context and reverting to no context.
Attachment #8661703 -
Flags: review?(standard8)
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
Wasn't sure if the textarea should be resizable or not. Simple css change to remove: "resize: none;"
Comment 7•9 years ago
|
||
I would say not resizeable.
Updated•9 years ago
|
Attachment #8661704 -
Flags: ui-review+
Comment 8•9 years ago
|
||
Comment on attachment 8661703 [details] [diff] [review]
v1
Seeing if Dan can review this for me...
Attachment #8661703 -
Flags: review?(standard8) → review?(dmose)
Assignee | ||
Updated•9 years ago
|
Whiteboard: [visual refresh] → [visual refresh][strings]
Comment 9•9 years ago
|
||
Sorry for not getting to this today, I should be able to get to it Thursday.
Comment 10•9 years ago
|
||
Comment on attachment 8661703 [details] [diff] [review]
v1
Review of attachment 8661703 [details] [diff] [review]:
-----------------------------------------------------------------
No matter how I apply this (and I've tried going back a bunch of commits and applying it there), I can't make it look like the v1 screenshot. Whatever I do, I see the toolbar rendering on top of the edit context view, though it's not obvious to me why the changes you've made here would do that.
I'll work with you more on this tomorrow mid-morning. In the mean-time, can you debug this and address the comment I've added thus far?
::: browser/components/loop/content/shared/css/conversation.css
@@ +1085,3 @@
> }
>
> +/* Buttons */
From what I can tell, all this button stuff appears to be copy-pasted from panel.css. If that's true, can you instead simply move it from panel.css into common.css?
Attachment #8661703 -
Flags: review?(dmose) → review-
Assignee | ||
Comment 11•9 years ago
|
||
Gah sorry. I thought I landed this with bug 1199120 but just realized the tree was closed earlier and my push didn't go through.
Depends on: 1199120
Assignee | ||
Comment 12•9 years ago
|
||
Moved from panel/conversation to common.css.
Attachment #8661703 -
Attachment is obsolete: true
Attachment #8662797 -
Flags: review?(dmose)
Comment 13•9 years ago
|
||
Comment on attachment 8662797 [details] [diff] [review]
v2
Review of attachment 8662797 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good; r=dmose
::: browser/components/loop/content/shared/css/conversation.css
@@ +970,5 @@
> .showing-room-name > .text-chat-entries > .text-chat-scroller > .context-url-view-wrapper {
> padding-top: 0;
> }
>
> .room-context {
This _might_ want to be renamed to edit-room-context for clarity.
@@ +976,2 @@
> border-top: 2px solid #444;
> border-bottom: 2px solid #444;
Right now, the border looks odd and doesn't match the mockups, which appear to have none, so maybe setting this to 0 on both top and bottom is the right plan.
::: browser/components/loop/content/shared/js/views.jsx
@@ +797,5 @@
> if (!this.props.showContextTitle) {
> return null;
> }
>
> + return <p>{mozL10n.get("context_inroom_label2")}</p>;
Need to make sure that the l10n file in standalone content/l10n/en-US is updated to match.
::: browser/components/loop/test/desktop-local/roomViews_test.js
@@ -893,5 @@
> - expect(view.state.availableContext.previewImage).to.eql(favicon);
> -
> - var node = view.getDOMNode();
> - expect(node.querySelector(".checkbox-wrapper").classList.contains("hide")).to.eql(true);
> - });
Check conversation.css to see if it has any checkbox-related stuff that should be removed too.
::: browser/locales/en-US/chrome/browser/loop/loop.properties
@@ +348,1 @@
> # title/URL of the website you are having a conversation about, displayed on a
Instead of "title/URL", I suspect "title and domain". context_inroom_header wants its own l10n comment explaining what it is and how it's different from this one.
Attachment #8662797 -
Flags: review?(dmose) → review+
Comment 14•9 years ago
|
||
Please spin out new bugs on the underline-on-hover style leaking into the text area, as well as the fact it allows you to enter a non-URL rather doing the typical input styling thing where it turns red and you have to fix it.
Comment 16•9 years ago
|
||
Ed: I've landed the patch to get the string change landed in time for the uplifts. I addressed the review comments about the string, you might need to revisit the ones about the css. Also, I suggest spinning .room-context -> .edit-room-context out to a separate bug, I'd like to see it done soon though as it is super confusing atm.
Keywords: leave-open
Assignee | ||
Comment 17•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/53c86ba9d1054adb8129348b17b97c60ea687e39
Bug 1184940 - Implement the refreshed design for the edit context view [r=dmose]
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Comment 18•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Updated•9 years ago
|
QA Contact: bogdan.maris
Comment 20•9 years ago
|
||
Did some exploratory testing around this implementation using latest Developer Edition 43.0a2 across platforms (Windows 7 64-bit, Mac OS X 10.10.5, Ubuntu 14.04 32-bit) and did not found any new issues.
Also took a look at latest Nightly 44.0a1 and the separator between Edit context view and Chat seems to be gone.
Flags: needinfo?(edilee)
Updated•9 years ago
|
Assignee | ||
Comment 21•9 years ago
|
||
(In reply to Bogdan Maris, QA [:bogdan_maris] from comment #20)
> Created attachment 8668376 [details]
> Separator gone in Nightly 44
Yup. The new design didn't have a separator line.
Flags: needinfo?(edilee)
Comment 22•9 years ago
|
||
(In reply to Ed Lee :Mardak from comment #21)
> (In reply to Bogdan Maris, QA [:bogdan_maris] from comment #20)
> > Created attachment 8668376 [details]
> > Separator gone in Nightly 44
> Yup. The new design didn't have a separator line.
Yes, you are right, I just received the mockups yesterday. Sorry for the noise.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•