-
-
Notifications
You must be signed in to change notification settings - Fork 658
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: advanced playground multi value context fields #4053
feat: advanced playground multi value context fields #4053
Conversation
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
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.
Non blocking approval but I'd extract descriptive methods for switching between single string and list of strings. Those are two symmetrical operations that can be kept close together so that we know they are two sides of the same coin. Also once we extract two symmetrical methods we can easily unit test the swapping logic.
...onent/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx
Outdated
Show resolved
Hide resolved
...onent/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx
Outdated
Show resolved
Hide resolved
...onent/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx
Outdated
Show resolved
Hide resolved
...onent/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx
Outdated
Show resolved
Hide resolved
...onent/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Makes the autocomplete component in the playground context field - when selecting a custom context field that has legal values - able to select/edit multiple values.
About the changes
Closes # 1-1006
Important files
Discussion points