diff --git a/eslint.config.mts b/eslint.config.mts index 4f02cd4..d6f2849 100644 --- a/eslint.config.mts +++ b/eslint.config.mts @@ -5,7 +5,7 @@ import tseslint from "typescript-eslint" export default tseslint.config( { - ignores: ["build/**", ".plasmo/**", "node_modules/**"] + ignores: ["build/**", ".plasmo/**", "node_modules/**", "test-results/**"] }, { files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"], diff --git a/views/BackToAnOldFlame.tsx b/views/BackToAnOldFlame.tsx index cee1deb..4ad0c3d 100644 --- a/views/BackToAnOldFlame.tsx +++ b/views/BackToAnOldFlame.tsx @@ -13,6 +13,9 @@ */ import { useEffect, useState } from "react" +import clockIcon from "url:../assets/icons/Icons/clock_blue_outline.png" +import handsClappingIcon from "url:../assets/icons/Icons/hands-clapping-green.png" +import trophyIcon from "url:../assets/icons/Icons/shooting_star_red.png" import thoughtfulIcon from "url:../assets/icons/Icons/Thoughtful.svg" import Button from "../components/ui/Button" @@ -176,16 +179,26 @@ const BackToAnOldFlame = ({

- -
diff --git a/views/EarlyReturnFromSleep.tsx b/views/EarlyReturnFromSleep.tsx index 8acf5d7..c3d774b 100644 --- a/views/EarlyReturnFromSleep.tsx +++ b/views/EarlyReturnFromSleep.tsx @@ -13,7 +13,10 @@ */ import { useEffect, useState } from "react" +import alarmIcon from "url:../assets/icons/Icons/clock_blue_outline.png" import clockIcon from "url:../assets/icons/Icons/Clock.svg" +import handsClappingIcon from "url:../assets/icons/Icons/hands-clapping-green.png" +import trophyIcon from "url:../assets/icons/Icons/shooting_star_red.png" import Button from "../components/ui/Button" import Card from "../components/ui/Card" @@ -167,20 +170,27 @@ const EarlyReturnFromSleep = ({

Have you made a decision?

-
diff --git a/views/SleepOnIt.tsx b/views/SleepOnIt.tsx index 5f9e6e4..0d14b20 100644 --- a/views/SleepOnIt.tsx +++ b/views/SleepOnIt.tsx @@ -151,14 +151,17 @@ const SleepOnIt = ({ } />

Brilliant choice!

-

- Taking time to think is a superpower. How long would you like to wait? -

- {!saved ? ( <> -

- For how long you would like to think about this purchase? +

+ Taking time to think is a superpower. +
+ How long would you like to wait?

{durationOptions.map((option) => ( @@ -182,11 +185,20 @@ const SleepOnIt = ({ ) : ( -

- {countdown !== null && countdown > 0 - ? `Closing tab in ${countdown}` - : "✓ Reminder saved!"} -

+ <> +

+ ✓ Reminder saved +

+

+ You have committed to waiting{" "} + {durationOptions.find((o) => o.value === selectedDuration)?.label ?? + "this duration"} + . You can do it! +

+ {countdown !== null && countdown > 0 && ( +

Closing tab in {countdown}

+ )} + )} )