diff --git a/apps/dashboard/src/features/growth/growth-page.tsx b/apps/dashboard/src/features/growth/growth-page.tsx index 7d0281b..8ac59e7 100644 --- a/apps/dashboard/src/features/growth/growth-page.tsx +++ b/apps/dashboard/src/features/growth/growth-page.tsx @@ -178,6 +178,11 @@ function BrowsingSimulationSection({ account }: { account: GrowthAccountDetail } const runNow = useRunBrowsingSimulationMutation(account.accountId); const { settings, stats, todayTarget, recentDecisions } = account.browsing; const selected = recentDecisions.filter((decision) => decision.decision === 'simulated-upvote'); + const [gapMinutes, setGapMinutes] = useState(String(settings.minimumGapMs / 60_000)); + const [selectionsPerSession, setSelectionsPerSession] = useState(String(settings.selectionsPerSession)); + + useEffect(() => setGapMinutes(String(settings.minimumGapMs / 60_000)), [settings.minimumGapMs]); + useEffect(() => setSelectionsPerSession(String(settings.selectionsPerSession)), [settings.selectionsPerSession]); return (
@@ -207,6 +212,56 @@ function BrowsingSimulationSection({ account }: { account: GrowthAccountDetail } label="Submit selected upvotes" onChange={(autoVoteEnabled) => update.mutate({ autoVoteEnabled })} /> +
+ + +
+
+ + +