Skip to content

Commit 9555327

Browse files
authored
Merge pull request #12 from C-STYR/latest
Latest
2 parents b2e1af4 + f8ef9ff commit 9555327

File tree

5 files changed

+15
-262
lines changed

5 files changed

+15
-262
lines changed

src/app/components/BarGraph.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,11 @@ const BarGraph = (props) => {
213213
fontSize={12}
214214
fill="#FFFFFF"
215215
>
216-
Rendering Time (ms)
216+
Rendering Time (ms)
217217
</Text>
218-
<Text x={xMax / 2} y={yMax + 65} fontSize={12} fill="#FFFFFF">
219-
Snapshot Id
218+
<br/>
219+
<Text x={(xMax / 2) + 15} y={yMax + 70} fontSize={12} fill="#FFFFFF">
220+
Snapshot ID
220221
</Text>
221222
</svg>
222223
{/* FOR HOVER OVER DISPLAY */}

src/app/components/ComponentMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function ComponentMap({
7171

7272
// setting the margins for the Map to render in the tab window.
7373
const innerWidth = totalWidth - margin.left - margin.right;
74-
const innerHeight = totalHeight - margin.top - margin.bottom;
74+
const innerHeight = totalHeight - margin.top - margin.bottom - 60;
7575

7676
let origin: { x: number; y: number };
7777
let sizeWidth: number;

src/app/components/StateRoute.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,18 @@ const StateRoute = (props: StateRouteProps) => {
136136
return (
137137
<Router>
138138
<div className="navbar">
139-
<NavLink
139+
<NavLink className="router-link"
140+
activeClassName="is-active"
141+
exact to="/">
142+
Map
143+
</NavLink>
144+
<NavLink
140145
className="router-link"
141146
activeClassName="is-active"
142-
exact to="/"
147+
to="/performance"
143148
>
144149
Performance
145150
</NavLink>
146-
<NavLink className="router-link"
147-
activeClassName="is-active"
148-
to="/map">
149-
Map
150-
</NavLink>
151151
<NavLink
152152
className="router-link"
153153
activeClassName="is-active"
@@ -173,11 +173,11 @@ const StateRoute = (props: StateRouteProps) => {
173173
)}
174174
</div>
175175
<Switch>
176-
<Route path="/map" render={renderComponentMap} />
176+
<Route path="/performance" render={renderPerfView} />
177177
<Route path="/history" render={renderHistory} />
178178
<Route path="/relationship" render={renderAtomsRelationship} />
179179
<Route path="/tree" render={renderTree} />
180-
<Route path="/" render={renderPerfView} />
180+
<Route path="/" render={renderComponentMap} />
181181
</Switch>
182182
</Router>
183183
);

src/extension/build/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Reactime",
3-
"version": "7.0.0",
3+
"version": "8.0.0",
44
"devtools_page": "devtools.html",
55
"description": "A Chrome extension that helps debug React applications by memorizing the state of components with every render.",
66
"manifest_version": 2,

ter main

Lines changed: 0 additions & 248 deletions
This file was deleted.

0 commit comments

Comments
 (0)