-
Notifications
You must be signed in to change notification settings - Fork 215
feat(product tours): surveys for product tours #2736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(product tours): surveys for product tours #2736
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
94ed5b5 to
381f70f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 files reviewed, 1 comment
|
Size Change: +6.72 kB (+0.13%) Total Size: 5.27 MB
ℹ️ View Unchanged
|
6445baf to
17f1a70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 files reviewed, no comments
17f1a70 to
f423c3b
Compare
eb44749 to
8924d3f
Compare
8924d3f to
1bde42e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9 files reviewed, 2 comments
|
|
||
| const tourId = this._activeTour.id | ||
| const step = this._activeTour.steps[this._currentStepIndex] | ||
| const surveyId = step.linkedSurveyId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: step.linkedSurveyId could be undefined when step.survey exists
| const surveyId = step.linkedSurveyId | |
| const surveyId = step.linkedSurveyId || 'unknown' |
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/browser/src/extensions/product-tours/product-tours.tsx
Line: 496:496
Comment:
**logic:** `step.linkedSurveyId` could be undefined when `step.survey` exists
```suggestion
const surveyId = step.linkedSurveyId || 'unknown'
```
How can I resolve this? If you propose a fix, please make it concise.| setTimeout(() => inputRef.current?.focus(), 100) | ||
| }, []) | ||
|
|
||
| const handleKeyDown = (e: KeyboardEvent) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax: type mismatch - event type in Preact should be h.JSX.TargetedKeyboardEvent<HTMLTextAreaElement>
| const handleKeyDown = (e: KeyboardEvent) => { | |
| const handleKeyDown = (e: h.JSX.TargetedKeyboardEvent<HTMLTextAreaElement>) => { |
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/browser/src/extensions/product-tours/components/ProductTourSurveyStep.tsx
Line: 58:58
Comment:
**syntax:** type mismatch - event type in Preact should be `h.JSX.TargetedKeyboardEvent<HTMLTextAreaElement>`
```suggestion
const handleKeyDown = (e: h.JSX.TargetedKeyboardEvent<HTMLTextAreaElement>) => {
```
How can I resolve this? If you propose a fix, please make it concise.16a783f to
bc36c4c
Compare
bc36c4c to
88e4929
Compare
88e4929 to
fe91f75
Compare

Problem
build tour-specific survey components
Changes
Release info Sub-libraries affected
Libraries affected
Checklist
If releasing new changes
pnpm changesetto generate a changeset file