GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Scheduling profiler UX changes (#21990) · react/react@27bf6f9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • react-devtools-scheduling-profiler/src
      • CanvasPage.js
      • EventTooltip.css
      • EventTooltip.js
      • SchedulingProfiler.js
      • content-views
        • FlamechartView.js
        • NativeEventsView.js
        • ReactMeasuresView.js
        • SchedulingEventsView.js
        • SuspenseEventsView.js
        • UserTimingMarksView.js
        • constants.js
        • index.js
        • utils
          • text.js
      • import-worker
        • __tests__
          • preprocessData-test.internal.js
        • preprocessData.js
      • types.js
      • utils
        • formatting.js
        • useSmartTooltip.js
      • view-base
        • BackgroundColorView.js
        • HorizontalPanAndZoomView.js
        • ResizableSplitView.js
        • ResizableView.js
        • Surface.js
        • VerticalScrollOverflowView.js
        • VerticalScrollView.js
        • View.js
        • geometry.js
        • index.js
        • layouter.js
        • useCanvasInteraction.js
    • react-devtools-shared/src
      • devtools/views
        • Profiler
          • Profiler.js
          • ProfilerContext.js
        • Settings
          • SettingsContext.js
        • TabBar.js
        • root.css
      • hookNamesCache.js
    • react-reconciler/src
      • ReactFiberThrow.new.js
      • ReactFiberThrow.old.js
      • SchedulingProfiler.js
      • __tests__
        • SchedulingProfiler-test.internal.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-devtools-scheduling-profiler/src/CanvasPage.js‎

Copy file name to clipboardExpand all lines: packages/react-devtools-scheduling-profiler/src/CanvasPage.js
+186-93Lines changed: 186 additions & 93 deletions
Large diffs are not rendered by default.
Collapse file

‎packages/react-devtools-scheduling-profiler/src/EventTooltip.css‎

Copy file name to clipboard
+21-26Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
.Tooltip {
22
position: fixed;
3-
display: inline-block;
3+
}
4+
5+
.TooltipSection,
6+
.TooltipWarningSection {
7+
display: block;
48
border-radius: 0.125rem;
59
max-width: 300px;
610
padding: 0.25rem;
@@ -12,11 +16,15 @@
1216
color: var(--color-tooltip-text);
1317
font-size: 11px;
1418
}
19+
.TooltipWarningSection {
20+
margin-top: 0.25rem;
21+
background-color: var(--color-warning-background);
22+
}
1523

1624
.Divider {
1725
height: 1px;
1826
background-color: #aaa;
19-
margin: 0.5rem 0;
27+
margin: 0.25rem 0;
2028
}
2129

2230
.DetailsGrid {
@@ -40,7 +48,6 @@
4048

4149
.FlamechartStackFrameName {
4250
word-break: break-word;
43-
margin-left: 0.4rem;
4451
}
4552

4653
.ComponentName {
@@ -49,32 +56,20 @@
4956
margin-right: 0.25rem;
5057
}
5158

52-
.ComponentStack {
53-
overflow: hidden;
54-
max-width: 35em;
55-
max-height: 10em;
56-
margin: 0;
57-
font-size: 0.9em;
58-
line-height: 1.5;
59-
-webkit-mask-image: linear-gradient(
60-
180deg,
61-
var(--color-tooltip-background),
62-
var(--color-tooltip-background) 5em,
63-
transparent
64-
);
65-
mask-image: linear-gradient(
66-
180deg,
67-
var(--color-tooltip-background),
68-
var(--color-tooltip-background) 5em,
69-
transparent
70-
);
71-
white-space: pre;
72-
}
73-
7459
.ReactMeasureLabel {
75-
margin-left: 0.4rem;
7660
}
7761

7862
.UserTimingLabel {
7963
word-break: break-word;
8064
}
65+
66+
.NativeEventName {
67+
font-weight: bold;
68+
word-break: break-word;
69+
margin-right: 0.25rem;
70+
}
71+
72+
.InfoText,
73+
.WarningText {
74+
color: var(--color-warning-text-color);
75+
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.