Closed
Bug 1006875
Opened 11 years ago
Closed 11 years ago
Styling graph for web audio editor
Categories
(DevTools Graveyard :: Web Audio Editor, defect)
DevTools Graveyard
Web Audio Editor
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: vporof, Assigned: jsantell)
References
Details
Attachments
(4 files, 1 obsolete file)
See screenshot.
Assignee | ||
Comment 1•11 years ago
|
||
Let's be honest here -- looks really bad.
Also, the SVG arrows are missing on light theme, as those can't be styled (afaik in my limited svg knowledge) by css, but must be done dynamically
Assignee | ||
Updated•11 years ago
|
Summary: The web audio editor looks bad on light theme → Styling graph for web audio editor
Assignee | ||
Comment 2•11 years ago
|
||
Changing this to be a bug for styling graphs in both light and dark theme as they both need it badly. Pinging Darrin!
Flags: needinfo?(dhenein)
Assignee | ||
Comment 3•11 years ago
|
||
Added some new styles to the graph, as well as added a handler for changing the marker styling (the arrows in the graph) when the theme changes, as that cannot be currently done with styles (although spec'd for svg2).
Assignee: nobody → jsantell
Attachment #8425111 -
Flags: review?(vporof)
Attachment #8425111 -
Flags: feedback?(dhenein)
Flags: needinfo?(dhenein)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Comment 6•11 years ago
|
||
Try for pref toggling: https://tbpl.mozilla.org/?tree=Try&rev=1edfd9caee01
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8425111 [details] [diff] [review]
1006875-graph-styling-web-audio-editor.patch
Review of attachment 8425111 [details] [diff] [review]:
-----------------------------------------------------------------
Pretty code, pretty nodes.
::: browser/themes/shared/devtools/webaudioeditor.inc.css
@@ +50,5 @@
> fill: none;
> }
>
> +.theme-dark .edgePath path { stroke: #CED3D9; }
> +.theme-light .edgePath path { stroke: #AAA; }
Assuming you're using the standard palette, can you please document the color names? It'll be helpful when we switch to CSS vars.
@@ +60,5 @@
> }
>
> .theme-dark .nodes rect {
> + stroke: #252C33;
> + fill: #343C45;
Ditto here and everywhere else.
@@ +65,4 @@
> }
>
> .theme-light .nodes rect {
> + fill: #F0F1F2;
Also, nit: the prevailing hex color format in the devtools codebase is #lowercase #chars. Not feeling strongly about it though.
Attachment #8425111 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Updated to using dev tools colors, and using comments on their variable names, with lowercase hex values
Attachment #8425111 -
Attachment is obsolete: true
Attachment #8425111 -
Flags: feedback?(dhenein)
Attachment #8425726 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 9•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 10•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•