Skip to content

Commit b8fd13e

Browse files
committed
Fix merge conflicts
2 parents 497616d + d032166 commit b8fd13e

28 files changed

+407
-563
lines changed

app/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Splash from './components/Splash';
33
import DashboardContainer from './containers/DashboardContainer';
44

55
const App: React.FC = () => {
6-
// HARD CODED for development
6+
// Disable splash for development
77
// const [firstVisit, setFirstVisit] = useState(false);
88

99
// UNCOMMENT this for splash demo
File renamed without changes.

app/charts/LatencyChart.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ import React, { useContext } from 'react';
22
import Plot from 'react-plotly.js';
33
import { HealthContext } from '../context/HealthContext';
44

5-
/**
6-
* @desc Latency Chart
7-
* @param object props- passed from GraphsContainer
8-
* @return component - component for latency graph
9-
*/
10-
115
const LatencyChart = () => {
126
const { healthData } = useContext(HealthContext);
137

app/charts/RequestTypesChart.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const RequestTypesChart: React.FC = () => {
1616
time: string;
1717
}
1818
const createRequestChart = () => {
19+
// Counter for request types
1920
const requestTypes: { [key: string]: number } = {
2021
DELETE: 0,
2122
GET: 0,
@@ -25,7 +26,7 @@ const RequestTypesChart: React.FC = () => {
2526
PUT: 0,
2627
};
2728

28-
// Record each request type in the requestTypes object
29+
// Record each request type frequencies
2930
let type;
3031
commsData.forEach((obj: IObject) => {
3132
type = obj.request;

app/charts/ResponseCodesChart.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const ResponseCodesChart: React.FC = () => {
1717
const { commsData } = useContext(CommsContext);
1818

1919
const createChart = () => {
20+
// Counter for request types
2021
const responseCodes = {
2122
'100-199': 0,
2223
'200-299': 0,
@@ -26,7 +27,7 @@ const ResponseCodesChart: React.FC = () => {
2627
NULL: 0,
2728
};
2829

29-
// Record each status code in the responseCodes object
30+
// Record each status code frequencies
3031
commsData.forEach((obj: IObj) => {
3132
const status = obj.responsestatus;
3233
if (status >= 500) {

0 commit comments

Comments
 (0)