-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support adding/removing pipelines/post-processors #561
Conversation
fb20640
to
47da309
Compare
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 suggest moving the <FormGroup>
inside the pipelines.map()
so the dividers can span all the way to the Paper
borders.
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.
Same thing for postprocessors.
…es on pipelinepostprocessor addition
47da309
to
593cbbf
Compare
…stprocessor is null
webapp/src/pages/Settings.tsx
Outdated
defaultConfig.pipelines![0].postprocessors | ||
)?.map((postprocessor, index) => ( | ||
<React.Fragment key={index}> | ||
<IconButton |
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.
Now that you moved the delete button definition up (and use position: "absolute"
), if you define a custom metric, the remote field gets in front of the button, making clicking it difficult. The delete button should be defined after (below) the fields. Don't forget to try your changes!
webapp/src/pages/Settings.tsx
Outdated
alignItems="center" | ||
> | ||
{displaySectionTitle("General")} | ||
<IconButton |
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.
Would it be possible to position the delete button the same way for the pipelines as it is for the postprocessors? So it's uniform.
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.
so it gets the focus when adding a post-processor
so it is clear that you are not limited to the two proposed options (Thresholding and TemperatureScaling)
Resolve #
Description:
Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.
ran
pre-commit run --all-files
at the end.our users.
README
files and our wiki for any big design decisions, if relevant.