From 0d4884c93098b8c09d14e1a991bc868fa2856020 Mon Sep 17 00:00:00 2001 From: chintan0513 Date: Sun, 2 Oct 2022 10:32:36 +0530 Subject: [PATCH 1/5] ui of tune playlist done --- client/.env | 1 + client/src/components/ParametersMenu.js | 3 ++- client/src/index.css | 10 ++++++++++ server/app.env | 6 +++--- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/client/.env b/client/.env index 08184e8..85cbbfd 100644 --- a/client/.env +++ b/client/.env @@ -1,2 +1,3 @@ REACT_APP_API_URL="/api" REACT_APP_TRACKING_ID="" + SKIP_PREFLIGHT_CHECK=true \ No newline at end of file diff --git a/client/src/components/ParametersMenu.js b/client/src/components/ParametersMenu.js index 476cc0f..8f71a7a 100644 --- a/client/src/components/ParametersMenu.js +++ b/client/src/components/ParametersMenu.js @@ -1,6 +1,7 @@ import React from 'react'; import { Slider, Typography } from 'antd'; import ReactGA from 'react-ga'; +import '../index.css' const { Text } = Typography; @@ -31,7 +32,7 @@ export default function ParametersMenu(props) { }; return ( -
+
Number of songs diff --git a/client/src/index.css b/client/src/index.css index 7323ae8..3ebb857 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -9,3 +9,13 @@ body { code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } + +@media only screen and (min-width: 1200px){ + .tune { + height: 350px; + font-size: 12px; + padding: 2px; + position: relative; + font-weight: 600; + } +} \ No newline at end of file diff --git a/server/app.env b/server/app.env index f52fa1e..3c240f3 100644 --- a/server/app.env +++ b/server/app.env @@ -1,4 +1,4 @@ REDIRECT_URI="http://localhost:8080/api/callback" -CLIENT_ID= -CLIENT_SECRET= -CLIENT_URL="http://localhost:8080" +CLIENT_ID= "e01c88cfd6d04db586dd2ed6c426aeb3" +CLIENT_SECRET= "1827dfe4f1244c998656d94fb71410d6" +CLIENT_URL="http://localhost:3000" From 9c6da1644f17d4351fc37ed1ab3d86dc8c596575 Mon Sep 17 00:00:00 2001 From: chintan0513 Date: Sun, 2 Oct 2022 10:50:42 +0530 Subject: [PATCH 2/5] .env file setup --- .gitignore | 3 ++- client/.gitignore | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7ec2990..3196aed 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,8 @@ **/.idea/ **/*.env +.env server/build/ -/node_modules \ No newline at end of file +/node_modules diff --git a/client/.gitignore b/client/.gitignore index 4d29575..e75b501 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -12,6 +12,8 @@ /build # misc +/.env +.env .DS_Store .env.local .env.development.local From 89b64af18dc90e69e7241204c93c373800fcc8d3 Mon Sep 17 00:00:00 2001 From: chintan0513 Date: Sun, 2 Oct 2022 10:53:23 +0530 Subject: [PATCH 3/5] credentials from env file are removed --- server/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/.gitignore b/server/.gitignore index ad46b30..58e0113 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -5,6 +5,10 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +#misc +.app.env +/.app.env + # Runtime data pids *.pid From dce9b689231f6f3ed69472dd1e66434bac4f3c4f Mon Sep 17 00:00:00 2001 From: chintan0513 Date: Sun, 2 Oct 2022 10:54:28 +0530 Subject: [PATCH 4/5] credentials from env file are removed --- server/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/server/.gitignore b/server/.gitignore index 58e0113..5613726 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -8,6 +8,7 @@ yarn-error.log* #misc .app.env /.app.env +remixr\server\app.env # Runtime data pids From f23bf5738b9f575c27ed42433d9c9e11bd80c8f3 Mon Sep 17 00:00:00 2001 From: chintan0513 Date: Sun, 2 Oct 2022 10:55:11 +0530 Subject: [PATCH 5/5] done --- server/app.env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app.env b/server/app.env index 3c240f3..2d8f420 100644 --- a/server/app.env +++ b/server/app.env @@ -1,4 +1,4 @@ REDIRECT_URI="http://localhost:8080/api/callback" -CLIENT_ID= "e01c88cfd6d04db586dd2ed6c426aeb3" -CLIENT_SECRET= "1827dfe4f1244c998656d94fb71410d6" +CLIENT_ID= "" +CLIENT_SECRET= "" CLIENT_URL="http://localhost:3000"