Skip to content
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

Merged
merged 5 commits into from
Apr 3, 2024
Merged

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Mar 28, 2024

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

Copy link
Contributor

github-actions bot commented Mar 28, 2024

Size Change: 0 B

Total Size: 824 kB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 824 kB

compressed-size-action

@daibhin daibhin requested review from benjackwhite and a team March 28, 2024 17:14
success: actions.saveAsNamingSuccess,
initialValues: { name: `${values.insight.name || values.insight.derived_name} (copy)` },
content: (
<LemonField name="name">
Copy link
Member

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

Copy link
Member

@Twixes Twixes left a 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" 😄

@daibhin daibhin requested a review from Twixes April 3, 2024 09:28
Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@daibhin daibhin merged commit 4a15065 into master Apr 3, 2024
83 checks passed
@daibhin daibhin deleted the dn-chore/replace-remaining-prompts branch April 3, 2024 12:44
@EDsCODE EDsCODE mentioned this pull request Apr 3, 2024
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants