RESOLVED FIXED193804
Web Inspector: Improve Dark Mode appearance within Memory timeline
https://bugs.webkit.org/show_bug.cgi?id=193804
Summary Web Inspector: Improve Dark Mode appearance within Memory timeline
Joseph Pecoraro
Reported 2019-01-24 17:17:54 PST
Improve Dark Mode appearance within Memory timeline - Some text shows up as Black in dark mode - Improve gray text in general - Improve max comparison graph which used gray colors
Attachments
[IMAGE] Dark Mode - Before (743.44 KB, image/png)
2019-01-24 17:19 PST, Joseph Pecoraro
no flags
[IMAGE] Dark Mode - After (993.61 KB, image/png)
2019-01-24 17:19 PST, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (5.16 KB, patch)
2019-01-24 17:20 PST, Joseph Pecoraro
mattbaker: review+
[IMAGE] Dark Mode - After (2) (707.11 KB, image/png)
2019-01-24 19:22 PST, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (9.93 KB, patch)
2019-01-24 19:23 PST, Joseph Pecoraro
mattbaker: review+
[PATCH] For Landing (9.93 KB, patch)
2019-01-25 14:52 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2019-01-24 17:18:27 PST
Joseph Pecoraro
Comment 2 2019-01-24 17:19:48 PST
Created attachment 360055 [details] [IMAGE] Dark Mode - Before
Joseph Pecoraro
Comment 3 2019-01-24 17:19:59 PST
Created attachment 360056 [details] [IMAGE] Dark Mode - After
Joseph Pecoraro
Comment 4 2019-01-24 17:20:20 PST
Created attachment 360057 [details] [PATCH] Proposed Fix
Matt Baker
Comment 5 2019-01-24 17:25:02 PST
Comment on attachment 360057 [details] [PATCH] Proposed Fix r=me One nit is that the 'Maximum' legend item in the 'Max Comparison' chart looks odd since the swatch lacks a border in dark mode. Maybe a thing gray border, matching the appearance of the doughnut chart, would work. Other than that, it looks great!
Matt Baker
Comment 6 2019-01-24 17:25:28 PST
(In reply to Matt Baker from comment #5) > Comment on attachment 360057 [details] > [PATCH] Proposed Fix > > r=me > > One nit is that the 'Maximum' legend item in the 'Max Comparison' chart > looks odd since the swatch lacks a border in dark mode. Maybe a thing gray thin gray border
Nikita Vasilyev
Comment 7 2019-01-24 17:28:14 PST
Comment on attachment 360057 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=360057&action=review Looks great! "Maximum Size" and "Maximum CPU Usage" labels should also be more Dark Mode friendly but it doesn't have to be in the same patch. > Source/WebInspectorUI/UserInterface/Views/Variables.css:40 > + --text-color-secondary: hsl(0, 0%, 50%); Nice!
Matt Baker
Comment 8 2019-01-24 17:30:03 PST
(In reply to Matt Baker from comment #5) > Comment on attachment 360057 [details] > [PATCH] Proposed Fix > > r=me > > One nit is that the 'Maximum' legend item in the 'Max Comparison' chart > looks odd since the swatch lacks a border in dark mode. Maybe a thing gray > border, matching the appearance of the doughnut chart, would work. > > Other than that, it looks great! Nevermind! It's been so long since I've used light mode that I forgot that we don't show a swatch for 'Maximum'.
Joseph Pecoraro
Comment 9 2019-01-24 19:03:40 PST
Comment on attachment 360057 [details] [PATCH] Proposed Fix Going to fix a few more things.
Joseph Pecoraro
Comment 10 2019-01-24 19:22:59 PST
Created attachment 360070 [details] [IMAGE] Dark Mode - After (2)
Joseph Pecoraro
Comment 11 2019-01-24 19:23:12 PST
Created attachment 360071 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 12 2019-01-24 19:23:33 PST
Timelines edit mode had some issues, and I fixed the legend's that Nikita pointed out.
EWS Watchlist
Comment 13 2019-01-24 22:25:26 PST
Attachment 360071 [details] did not pass style-queue: ERROR: Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:246: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Matt Baker
Comment 14 2019-01-25 13:06:22 PST
Comment on attachment 360071 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=360071&action=review r=me, just resolve the style issue before landing. > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:247 > + } Fix whitespace.
Joseph Pecoraro
Comment 15 2019-01-25 14:47:43 PST
Comment on attachment 360071 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=360071&action=review >> Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css:247 >> + } > > Fix whitespace. I'm not sure which whitespace you're referring to. The leading whitespace is because this is inside of a `@media (prefers-color-scheme: dark) { ... }` block.
Joseph Pecoraro
Comment 16 2019-01-25 14:49:09 PST
Comment on attachment 360071 [details] [PATCH] Proposed Fix Oh a tab character
Joseph Pecoraro
Comment 17 2019-01-25 14:52:33 PST
Created attachment 360169 [details] [PATCH] For Landing
WebKit Commit Bot
Comment 18 2019-01-25 15:31:22 PST
Comment on attachment 360169 [details] [PATCH] For Landing Clearing flags on attachment: 360169 Committed r240518: <https://trac.webkit.org/changeset/240518>
Note You need to log in before you can comment on or make changes to this bug.