From e742c0de50a576b7aef81295df6b44d6d875ed25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cspicecat=E2=80=9D?= Date: Thu, 18 Aug 2022 17:24:38 -0400 Subject: [PATCH 1/3] improve dashboard badges display --- client/src/components/Badges.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Badges.jsx b/client/src/components/Badges.jsx index c63f077..b602bed 100644 --- a/client/src/components/Badges.jsx +++ b/client/src/components/Badges.jsx @@ -31,13 +31,13 @@ export default function Badges({ badges: { obtained, unobtained } }) { return ( <> - + Obtained Badges {badgesGrid(obtained)} - + Unobtained Badges {badgesGrid(unobtained)} From bb6452b15d57323ae8dd4647f730db8335860724 Mon Sep 17 00:00:00 2001 From: tejusk2 <92613406+tejusk2@users.noreply.github.com> Date: Thu, 18 Aug 2022 16:27:50 -0500 Subject: [PATCH 2/3] level tooltips changed --- client/src/components/QAComponents/CommentControl.jsx | 2 +- client/src/components/QAComponents/CreateAnswer.jsx | 2 +- client/src/components/QAComponents/Question.jsx | 4 ++-- client/src/components/QAComponents/VoteControl.jsx | 2 +- .../controllers/QAControllers/VoteControlController.js | 2 +- client/src/services/getPermissions.js | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/src/components/QAComponents/CommentControl.jsx b/client/src/components/QAComponents/CommentControl.jsx index d8eaa8f..76f1491 100644 --- a/client/src/components/QAComponents/CommentControl.jsx +++ b/client/src/components/QAComponents/CommentControl.jsx @@ -18,7 +18,7 @@ export default function CommentControl({ title={ canComment ? '' - : 'You must be level 3 to comment or level 5 if this question is protected' + : 'You must be level 3 to comment or level 6 if this question is protected' } > diff --git a/client/src/components/QAComponents/CreateAnswer.jsx b/client/src/components/QAComponents/CreateAnswer.jsx index 8479ff6..5354679 100644 --- a/client/src/components/QAComponents/CreateAnswer.jsx +++ b/client/src/components/QAComponents/CreateAnswer.jsx @@ -10,7 +10,7 @@ export default function CreateAnswer({ canAnswer, show, toggleShow }) { title={ canAnswer ? '' - : 'You need to be authenticated to answer or level 5 if the question is protected' + : 'You need to be authenticated to answer or level 6 if the question is protected' } > diff --git a/client/src/components/QAComponents/Question.jsx b/client/src/components/QAComponents/Question.jsx index 259b782..217ab15 100644 --- a/client/src/components/QAComponents/Question.jsx +++ b/client/src/components/QAComponents/Question.jsx @@ -103,7 +103,7 @@ export default function Question({ Ask question - +