-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: replace remaining prompts #21218
Conversation
Size Change: 0 B Total Size: 824 kB ℹ️ View Unchanged
|
success: actions.saveAsNamingSuccess, | ||
initialValues: { name: `${values.insight.name || values.insight.derived_name} (copy)` }, | ||
content: ( | ||
<LemonField name="name"> |
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.
This should be name="insight-name"
or something like that. With just "name", autocomplete (such as 1Password's) think this input refers to a person's name.
I see now there's a number of Field name="name"
cases in our codebase, we should resolve these too at some point
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.
Works great, we just need to avoid name="name"
😄
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.
🧹
Problem
Follow on from #21204
Towards #13624
Changes
Replace all remaining instances of the
promptLogic
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
Direct replacements