Commit fae4334
feat: add Terms of Use dialog with onboarding tour integration (#148)
* feat: add Terms of Use dialog on first launch
- 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>
* feat: auto-start onboarding tour after accepting Terms
- Start tour automatically when user accepts Terms of Use
- Fix onboarding tour button blur with text-shadow: none
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 735033b commit fae4334Copy full SHA for fae4334
11 files changed
+371-11Lines changed: 371 additions & 11 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- extension/commands
- webview/src
- components/dialogs
- i18n
- translations
- styles
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/extension/commands/open-editor.ts
Copy file name to clipboardExpand all lines: src/extension/commands/open-editor.ts+20-7Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
127 | 127 | |
128 | 128 | |
129 | 129 | |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
| 130 | + |
| 131 | + |
136 | 132 | |
137 | 133 | |
138 | 134 | |
139 | 135 | |
140 | 136 | |
141 | 137 | |
142 | 138 | |
143 | | - |
| 139 | + |
144 | 140 | |
145 | 141 | |
146 | 142 | |
| ||
241 | 237 | |
242 | 238 | |
243 | 239 | |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
244 | 257 | |
245 | 258 | |
246 | 259 | |
|
Collapse file
src/shared/types/messages.ts
Copy file name to clipboardExpand all lines: src/shared/types/messages.ts+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
53 | 53 | |
54 | 54 | |
55 | 55 | |
56 | | - |
| 56 | + |
57 | 57 | |
58 | 58 | |
59 | 59 | |
| ||
827 | 827 | |
828 | 828 | |
829 | 829 | |
| 830 | + |
| 831 | + |
830 | 832 | |
831 | 833 | |
832 | 834 | |
|
Collapse file
+29-3Lines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
21 | 22 | |
22 | 23 | |
23 | 24 | |
| ||
48 | 49 | |
49 | 50 | |
50 | 51 | |
| 52 | + |
51 | 53 | |
52 | 54 | |
53 | 55 | |
| ||
70 | 72 | |
71 | 73 | |
72 | 74 | |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
73 | 92 | |
74 | 93 | |
75 | 94 | |
76 | 95 | |
77 | 96 | |
78 | 97 | |
79 | 98 | |
80 | | - |
81 | | - |
82 | | - |
| 99 | + |
| 100 | + |
| 101 | + |
83 | 102 | |
84 | 103 | |
85 | 104 | |
| ||
181 | 200 | |
182 | 201 | |
183 | 202 | |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
184 | 210 | |
185 | 211 | |
186 | 212 | |
|
Collapse file
src/webview/src/components/dialogs/TermsOfUseDialog.tsx
Copy file name to clipboard+227Lines changed: 227 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
Collapse file
src/webview/src/i18n/translation-keys.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translation-keys.ts+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
212 | 212 | |
213 | 213 | |
214 | 214 | |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
215 | 230 | |
216 | 231 | |
217 | 232 | |
|
0 commit comments