"Load More..." row in dominator trees should be styled differently
Categories
(DevTools :: Memory, defect, P3)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: jsantell, Assigned: lalas, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [good first bug][lang=css][lang=js])
Attachments
(3 files)
Updated•9 years ago
|
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
Comment 4•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•7 years ago
|
||
Comment hidden (mozreview-request) |
Reporter | ||
Comment 10•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 14•6 years ago
|
||
This bug has not been updated in the last 6 months. Resetting the assignee field.
Please, feel free to pick it up again and add a comment outlining your plans for it if you do still intend to work on it.
This is just trying to clean our backlog of bugs and make bugs available for people.
Assignee | ||
Comment 15•6 years ago
|
||
Hi, I would like to have this bug assigned to me.
According to comment #10, the JS code for the "load more" frame can be found in devtools/client/memory/components/dominator-tree.js and the .load-more
class can be modified/added in 'devtools/client/themes/memory.css'.
Thanks!
Comment 16•6 years ago
|
||
Hey lloanalas, yes please :)
As comment 0 says, it should get a "pointer" cursor on hover. And probably we should make it look a bit more like a link (as we don't have enough space for a button), so please follow the style outlined in https://design.firefox.com/photon/components/links.html. Maybe we should even make it a link at all?
Updated•6 years ago
|
Assignee | ||
Comment 17•6 years ago
|
||
Julien,
I was reading the style outline and it seems like links serve a different purpose. The 'load more' text does trigger a change in the view - wouldn't that call for the use of a button? Is the issue using a button that the size of the button would be too small? https://i.imgur.com/5tjaiMZ.png
Assignee | ||
Comment 18•6 years ago
|
||
Updated "Load More" row in dominator trees to look more like a link in order to tell it apart from other text and to indicate that the element can be clicked. Not enough space
Comment 19•6 years ago
|
||
(In reply to lloanalas from comment #17)
Julien,
I was reading the style outline and it seems like links serve a different purpose. The 'load more' text does trigger a change in the view - wouldn't that call for the use of a button? Is the issue using a button that the size of the button would be too small? https://i.imgur.com/5tjaiMZ.png
Yes, that's a good remark. This was also part of my thinking initially. According to the doc, the minimum height of a button is 24px, and we don't have this space, so we'd need to make it smaller, and I don't think this would be nice in the end. So that's why I recommended to use a link: even if it's not a perfect solution, I think it's the best we can do here.
I'll look at your patch shortly, thanks!
Updated•6 years ago
|
Assignee | ||
Comment 20•6 years ago
|
||
:Julienw
I updated the items you pointed out. Could you take a look when you get a chance?
Thank you!
Assignee | ||
Comment 22•6 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #21)
I approved and pushed it, thanks a lot!
Great! Thanks - learned quite a bit about the branding and where to find those items within the code base. Thanks - very useful!
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
bugherder |
Description
•