-
Notifications
You must be signed in to change notification settings - Fork 245
feat(compass-crud): expand/collapse all COMPASS-8233 #6601
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
Changes from 4 commits
686fd8a
7c5ac4b
c21dffc
159e625
d959345
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,12 +66,13 @@ export const PipelineResultsHeader: React.FunctionComponent< | |
| <div className={containerStyles} data-testid="pipeline-results-header"> | ||
| <div className={pipelineOptionsStyles}> | ||
| <Overline>All Results</Overline> | ||
| <PipelineOutputOptionsMenu | ||
| onChangeOption={handlePipelineOutputOptionsMenuChange} | ||
| /> | ||
| </div> | ||
| <div className={pipelinePaginationStyles}> | ||
| <PipelinePagination /> | ||
| <PipelineOutputOptionsMenu | ||
| buttonText="" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should that default value be revisited?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could be. There are some other usages and I couldn't find them, that's why I chose not to change the default behaviour |
||
| onChangeOption={handlePipelineOutputOptionsMenuChange} | ||
| /> | ||
| <PipelineResultsViewControls | ||
| value={resultsViewType} | ||
| onChange={onChangeResultsView} | ||
|
|
||
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.
Instead of duplicating this default value, did you consider moving it to the destructuring of the the
propsabove?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.
thanks for the prompt! I actually changed this so that the text default is "soft" (can be overridden with an empty string), but the aria label and title will still have a default.