Skip to content

Commit aa4212e

Browse files
yel-haddclaude
andauthored
Increase chatbot tooltip dismissal duration to 3 days (#330)
The tooltip reappeared 2 hours after a user dismissed it, which was often enough to read as nagging. Extend the window to 3 days. Bumps tooltipDismissDuration, the single constant both the display check and the localStorage expiry check compare against, so the cldocs_chatbot_tooltip_dismissed_time timestamp is re-evaluated against the longer window with no migration needed. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 80fef55 commit aa4212e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/.vuepress/components/Chat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
iframeUrl: "https://chatbot.cloudlinux.com/docs/cloudlinux",
8888
windowWidth: 0, // Changed from window.innerWidth to avoid SSR error
8989
tooltipDismissedTime: null,
90-
tooltipDismissDuration: 2 * 60 * 60 * 1000, // 2 hours in milliseconds
90+
tooltipDismissDuration: 3 * 24 * 60 * 60 * 1000, // 3 days in milliseconds
9191
};
9292
},
9393
computed: {

0 commit comments

Comments
 (0)