From fb1ade15b550b9777d93f3847293806f76e66b71 Mon Sep 17 00:00:00 2001 From: Himanshu DIxit Date: Tue, 23 Feb 2021 16:46:58 +0530 Subject: [PATCH] Fix final changes --- frontend/gulpfile.js | 2 +- frontend/src/assets/index.css | 7 +++++++ frontend/src/components/Signup.tsx | 2 +- .../src/components/metrics/ErrorRateChart.tsx | 2 +- .../src/components/traces/TraceFilter.tsx | 20 +++++++++++++++++-- frontend/src/components/traces/TraceGraph.tsx | 18 +++++++++-------- frontend/src/index.tsx | 2 +- 7 files changed, 39 insertions(+), 14 deletions(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 1100d84c3d..79212c4968 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -3,7 +3,7 @@ const gulpless = require("gulp-less"); const postcss = require("gulp-postcss"); const debug = require("gulp-debug"); var csso = require("gulp-csso"); -const autoprefixer = require("autoprefixer"); +const autteoprefixer = require("autoprefixer"); const NpmImportPlugin = require("less-plugin-npm-import"); gulp.task("less", function () { diff --git a/frontend/src/assets/index.css b/frontend/src/assets/index.css index cf0be7ff6f..428b017013 100644 --- a/frontend/src/assets/index.css +++ b/frontend/src/assets/index.css @@ -19,4 +19,11 @@ padding: 33px 23px; max-width: 800px; margin-top: 40px; +} + +#chart svg{ + width: 100%; +} +#chart{ + width: 100%; } \ No newline at end of file diff --git a/frontend/src/components/Signup.tsx b/frontend/src/components/Signup.tsx index 19d1d51624..c8e7d6593e 100644 --- a/frontend/src/components/Signup.tsx +++ b/frontend/src/components/Signup.tsx @@ -133,7 +133,7 @@ const Signup = (props: SignUpProps) => { /> -
+
-
+ + +
+
Trace Graph component ID is {params.id}
+ +
+
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index fd1faa9ea8..629469570f 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -9,7 +9,7 @@ import { Auth0Provider } from "@auth0/auth0-react"; import AppWrapper from "Src/components/AppWrapper"; import "Src/assets/index.css"; -import { reducers } from "./reducers"; +import { reducers } from "Src/reducers"; import { BrowserRouter as Router } from "react-router-dom"; import { AUTH0_CLIENT_ID, AUTH0_DOMAIN } from "./constants/env"; // import Signup from './components/Signup';