From 8c42b73ec8e8c007da978da83b951f5896603bce Mon Sep 17 00:00:00 2001 From: Bojan Kopunovic <97167801+bojank93@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:35:18 +0200 Subject: [PATCH 1/4] fix: skip superfest e2e test (#1289) --- tests/e2e.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e.spec.ts b/tests/e2e.spec.ts index ada5ada9..72a1df18 100644 --- a/tests/e2e.spec.ts +++ b/tests/e2e.spec.ts @@ -105,7 +105,7 @@ test.describe('Jumper full e2e flow', () => { await expect(page.getByRole('menu')).not.toBeVisible(); }); - test('Should be able to navigate to profile and open Explore Fluid Mission', async ({ + test.skip('Should be able to navigate to profile and open Explore Fluid Mission', async ({ page, context, }) => { From 804efd8f8ccc8e520e7ca672f6c20a334d9e1eb6 Mon Sep 17 00:00:00 2001 From: Tche <45823872+tcheee@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:50:44 +0200 Subject: [PATCH 2/4] chore: change colours + fix 0 amount in claiming (#1290) --- .../InstructionsAccordionItem.tsx | 14 ++++++++++++-- .../RewardsAmountBox/RewardsAmountBox.tsx | 4 +++- .../ProfilePage/Rewards/RewardsCarousel.tsx | 16 +++++++++++++++- .../Quests/Rewards/RewardsCarousel.tsx | 7 ++++++- 4 files changed, 36 insertions(+), 5 deletions(-) diff --git a/src/components/Blog/CTAs/InstructionsAccordion/InstructionsAccordionItem.tsx b/src/components/Blog/CTAs/InstructionsAccordion/InstructionsAccordionItem.tsx index 85e0ff39..86c25049 100644 --- a/src/components/Blog/CTAs/InstructionsAccordion/InstructionsAccordionItem.tsx +++ b/src/components/Blog/CTAs/InstructionsAccordion/InstructionsAccordionItem.tsx @@ -73,7 +73,6 @@ export const InstructionsAccordionItem = ({ @@ -148,6 +147,10 @@ export const InstructionsAccordionItem = ({ component={'span'} mr={'8px'} sx={{ + color: + theme.palette.mode === 'light' + ? '#000000' + : '#FFFFFF', overflow: 'hidden', textOverflow: 'ellipsis', maxWidth: 208, @@ -158,7 +161,14 @@ export const InstructionsAccordionItem = ({ > {buttonTitles[i]} - + diff --git a/src/components/ProfilePage/Rewards/RewardsAmountBox/RewardsAmountBox.tsx b/src/components/ProfilePage/Rewards/RewardsAmountBox/RewardsAmountBox.tsx index 5112a9e9..a8f334e5 100644 --- a/src/components/ProfilePage/Rewards/RewardsAmountBox/RewardsAmountBox.tsx +++ b/src/components/ProfilePage/Rewards/RewardsAmountBox/RewardsAmountBox.tsx @@ -77,7 +77,9 @@ export const RewardsAmountBox = ({ fontWeight={700} color={theme.palette.mode === 'dark' ? '#ffffff' : '#000000'} > - {!account?.address || (isSuccess && rewardAmount === 0) || isConfirmed + {!account?.address || + (isSuccess && (rewardAmount === 0 || !rewardAmount)) || + isConfirmed ? '0' : rewardAmount ? rewardAmount.toFixed(REWARDS_DECIMALS) diff --git a/src/components/ProfilePage/Rewards/RewardsCarousel.tsx b/src/components/ProfilePage/Rewards/RewardsCarousel.tsx index c98ca10e..9452b2ce 100644 --- a/src/components/ProfilePage/Rewards/RewardsCarousel.tsx +++ b/src/components/ProfilePage/Rewards/RewardsCarousel.tsx @@ -116,11 +116,25 @@ export const RewardsCarousel = ({