Closed
Bug 1478435
Opened 7 years ago
Closed 7 years ago
Apply photon-styling to autocomplete popup
Categories
(DevTools :: Shared Components, enhancement, P1)
DevTools
Shared Components
Tracking
(firefox63 verified)
VERIFIED
FIXED
Firefox 63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | verified |
People
(Reporter: Harald, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
(Whiteboard: [boogaloo-mvp])
User Story
When I autocomplete JS commands, I want to have it appear coherent, so everything looks sharp and crisp.
Attachments
(5 files)
No description provided.
| Reporter | ||
Comment 1•7 years ago
|
||
ni? Victoria, we talked about this briefly in Slack, which guidelines would you propose?
Flags: needinfo?(victoria)
| Assignee | ||
Comment 2•7 years ago
|
||
There's https://design.firefox.com/photon/components/input-fields.html#dropdown-list in photon design system
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Component: Console → Shared Components
| Reporter | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Here's with the patch styles applied in different situation (webconsole input, inspector markup search, rule view property autocomplete)
| Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
This is looking good! A few thoughts:
- Background color: Instead of the current gradient-looking backgrounds, we could match the new doorhanger background colors. It might make sense to match the foreground colors as well for a more contrasted/prominent look.
- Console autocomplete popup could be positioned 1px higher so that the input border is visible
- Left padding: This might be for a separate patch, but it I think it would be more polished to have a bit more left padding combined with positioning further to the left. For example, 4px more padding-left and -6px margin-left, or whatever styling to make the autocomplete text line up horizontally with the input text :)
Flags: needinfo?(victoria)
| Assignee | ||
Comment 7•7 years ago
|
||
This is with the colors (background, text, borders) of the doorhanger.
I find it a bit too subtle here, and I don't want to apply the doorhanger box-shadow which is very strong.
What do you think victoria ?
Comment 8•7 years ago
|
||
These are looking great to me :D, but I see what you mean about it looking a bit more subtle now in light theme. It seems more prominent in dark theme thanks to the lighter bg color.
Re: shadows: If I'm understanding correctly, it looks like all the Firefox doorhangers including the DevTools one are still randomly suffering from the double-shadow bug on OS X. If there's a way to use the OS X native shadow only, I think it would look a lot nicer.
Here's a rough modification of your screenshot that shows ideas for improving the look:
- slightly darker shadows
- more left padding
- positioned more to the left so that the text is lined up
https://mozilla.invisionapp.com/share/8SN95FUXK7C#/screens
| Assignee | ||
Comment 9•7 years ago
|
||
Here we go with more inline-padding and offset to align the text from the popup items to the input
| Reporter | ||
Comment 10•7 years ago
|
||
Those changes look really good!
Comment 11•7 years ago
|
||
Yes, I think this looks very nice! Not too be too pixel-obsessed but I think it still needs to be positioned just 1 or 2 more px to the left to perfectly line up :)
Comment 12•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8995077 [details]
Bug 1478435 - Apply photon-styling to autocomplete popup; .
https://reviewboard.mozilla.org/r/259572/#review267762
::: devtools/client/themes/common.css:52
(Diff revision 1)
> /* Autocomplete Popup */
>
> .devtools-autocomplete-popup {
> box-shadow: 0 1px 0 hsla(209,29%,72%,.25) inset;
> background-color: transparent;
> - border-radius: 3px;
> + border-radius: 0;
This is default, it should be possible to remove this.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 14•7 years ago
|
||
(In reply to Victoria Wang [:victoria] from comment #11)
> Yes, I think this looks very nice! Not too be too pixel-obsessed but I think
> it still needs to be positioned just 1 or 2 more px to the left to perfectly
> line up :)
yeah, I think it's good now, I needed to take the popup border into account.
Comment 15•7 years ago
|
||
Comment on attachment 8995077 [details]
Bug 1478435 - Apply photon-styling to autocomplete popup; .
Forgot to clear the review again! Excited to see this land.
Attachment #8995077 -
Flags: review?(victoria) → review+
| Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: [boogaloo-mvp]
| Assignee | ||
Comment 16•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8995077 [details]
Bug 1478435 - Apply photon-styling to autocomplete popup; .
https://reviewboard.mozilla.org/r/259572/#review267984
auto r+ here to carry the one Victoria put on Bugzilla
Attachment #8995077 -
Flags: review+
Comment 17•7 years ago
|
||
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/419b4035f578
Apply photon-styling to autocomplete popup; r=nchevobbe.
Comment 18•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Updated•7 years ago
|
Updated•7 years ago
|
Flags: qe-verify+
Comment 19•7 years ago
|
||
Verified with 63.0b11 on macos 10.9 design and colors used resemble the mockup
You need to log in
before you can comment on or make changes to this bug.
Description
•