-
Notifications
You must be signed in to change notification settings - Fork 117
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
ui v2: move resolver to accordions #770
Conversation
@@ -117,30 +93,27 @@ const Resolver: React.FC<ResolverProps> = ({ type, searchLimit, onResolve, varia | |||
<Error message={state.schemaFetchError} onRetry={() => loadSchemas(type, dispatch)} /> | |||
) : ( | |||
<Loadable variant="overlay" isLoading={state.resolverLoading}> | |||
{process.env.REACT_APP_DEBUG_FORMS === "true" && <DevTool control={validation.control} />} |
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.
Should we add back the debug form?
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.
it doesn't work correctly with multiple validations at once afaict
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.
ah yeah it would just be the focused one
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.
i think we no longer know which is focused, which i think we will need to add if we want to do dynamic disable on focus, but complicated enough to defer to another PR. wdyt?
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.
We can add in a follow up PR
Description
Kept as much existing logic as I could and rewired it for individual forms.
Not worried about styles in this PR, just logic.
Testing Performed
Locally with dev flow.