feat: add Terms of Use dialog with onboarding tour integration#148
Merged
breaking-brake merged 2 commits intomainbreaking-brake/cc-wf-studio:mainfrom Nov 24, 2025
Merged
feat: add Terms of Use dialog with onboarding tour integration#148breaking-brake merged 2 commits intomainbreaking-brake/cc-wf-studio:mainfrom
breaking-brake merged 2 commits intomainbreaking-brake/cc-wf-studio:mainfrom
Conversation
- Display Terms of Use dialog on first app launch - Replace isFirstLaunch with hasAcceptedTerms flag - Remove auto-start tour behavior (tour now manual only via Help button) - Add translations for all 5 languages (en, ja, ko, zh-CN, zh-TW) - Close editor when user cancels Terms acceptance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Start tour automatically when user accepts Terms of Use - Fix onboarding tour button blur with text-shadow: none
This was referenced Nov 24, 2025
Merged
github-actions Bot
added a commit
that referenced
this pull request
Nov 24, 2025
## [2.13.0](v2.12.2...v2.13.0) (2025-11-24) ### Features * add Terms of Use dialog with onboarding tour integration ([#148](#148)) ([fae4334](fae4334)) ### Bug Fixes * correct ConnectSlackManualPayload type definition to match implementation ([#147](#147)) ([735033b](735033b)) ### Code Refactoring * migrate onboarding tour from react-joyride to driver.js ([#146](#146)) ([62641b8](62641b8))
Contributor
|
🎉 This PR is included in version 2.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This was referenced Nov 26, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The tool enables workflow creation that could be misused for malicious purposes (cyber attacks, malware, illegal activities). As the developer, I need to demonstrate "reasonable measures" were taken to prevent misuse without degrading UX or incurring costs.
Current Behavior
Expected Behavior
Solution
Implemented one-time Terms of Use dialog with:
Changes
Extension Host
File:
src/extension/commands/open-editor.tsisFirstLaunchflag withhasAcceptedTermsACCEPT_TERMSmessage handler to update globalStateCANCEL_TERMSmessage handler to close panelFile:
src/shared/types/messages.tsInitialStatePayload.isFirstLaunchtohasAcceptedTermsACCEPT_TERMSandCANCEL_TERMSmessage typesWebview UI
File:
src/webview/src/components/dialogs/TermsOfUseDialog.tsx(new)File:
src/webview/src/App.tsxhasAcceptedTermsis falseFile:
src/webview/src/styles/main.csstext-shadow: noneto.driver-popover-next-btnand.driver-popover-prev-btnTranslations
Files:
src/webview/src/i18n/translation-keys.tsandtranslations/*.tsImpact
Testing
Notes
hasAcceptedTerms: boolean)