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

feat: plausible for new strategy flow #4057

Merged
merged 3 commits into from
Jun 22, 2023
Merged

feat: plausible for new strategy flow #4057

merged 3 commits into from
Jun 22, 2023

Conversation

sjaanus
Copy link
Contributor

@sjaanus sjaanus commented Jun 22, 2023

No description provided.

@vercel
Copy link

vercel bot commented Jun 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 8:49am
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 8:49am

Copy link
Contributor

@kwasniew kwasniew left a comment

Choose a reason for hiding this comment

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

Non-blocking approve. Questionable naming conventions.

@@ -65,7 +76,7 @@ export const FeatureStrategyMenu = ({
permission={CREATE_FEATURE_STRATEGY}
projectId={projectId}
environmentId={environmentId}
onClick={() => navigate(createStrategyPath)}
onClick={onClick}
Copy link
Contributor

Choose a reason for hiding this comment

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

what about giving it a descriptive name so that I know when business operation onClick performs?

Copy link
Contributor

Choose a reason for hiding this comment

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

I see similar naming anti-pattern in other places in this file. e.g. onClick={onClose}. I'd expect onClick={businessOperationName}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants