Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat(onboarding): balance timeline choice buttons with matching subtext

Anshgrover2376e3b16b57ea
diff --git a/apps/screenpipe-app-tauri/components/onboarding/timeline-choice.tsx b/apps/screenpipe-app-tauri/components/onboarding/timeline-choice.tsx
index 7473f04e8..8cf92444f 100644
--- a/apps/screenpipe-app-tauri/components/onboarding/timeline-choice.tsx
+++ b/apps/screenpipe-app-tauri/components/onboarding/timeline-choice.tsx
@@ -188,6 +188,11 @@ export default function TimelineChoice({ handleNextSlide }: TimelineChoiceProps)
recommended for your device
</span>
);
+ const subtext = (text: string) => (
+ <span className="font-mono text-[9px] normal-case tracking-normal opacity-70">
+ {text}
+ </span>
+ );
return (
<motion.div
@@ -278,7 +283,9 @@ export default function TimelineChoice({ handleNextSlide }: TimelineChoiceProps)
}`}
>
<span>timeline on</span>
- {recommendEnabled && recommendedTag}
+ {recommendEnabled
+ ? recommendedTag
+ : subtext("full visual rewind of your screen")}
</button>
<button
onClick={() => choose(false)}
@@ -290,7 +297,9 @@ export default function TimelineChoice({ handleNextSlide }: TimelineChoiceProps)
}`}
>
<span>keep it off</span>
- {!recommendEnabled && recommendedTag}
+ {!recommendEnabled
+ ? recommendedTag
+ : subtext("saves ram, cpu & disk")}
</button>
</motion.div>