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

[OPIK-753] [FE] Autocomplete component for variable key select #1067

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

andriidudar
Copy link
Contributor

Details

image
image
image

Issues

Resolves #

Testing

Documentation

@andriidudar andriidudar requested a review from a team as a code owner January 17, 2025 09:20
Copy link
Collaborator

@ferc ferc left a comment

Choose a reason for hiding this comment

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

Nice work! Nice UX improvement for the usage of the Online Evaluation rules 🚀

Added a small comment, let's fix it in the next PR

<div className="w-full">
<TracesPathsAutocomplete
projectId={projectId}
rootKeys={["input", "output", "metadata"]}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's move the array outside the component so it doesn't change the reference on every re-render and it doesn't run the internal items useMemo on every render :)

@ferc ferc merged commit 5268758 into main Jan 17, 2025
1 check passed
@ferc ferc deleted the andriidudar/OPIK-753-autocomplete branch January 17, 2025 11:49
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