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

PORTALS-2651 - react-select components #1546

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

nickgros
Copy link
Collaborator

@nickgros nickgros commented Feb 3, 2025

Remove some bootstrap-specific classes

@nickgros nickgros force-pushed the PORTALS-2651-select branch from 0965b96 to 9358ad9 Compare February 3, 2025 15:47
- Update UserSearchBoxV2, QuerySortSelector, AccessRequirementSearchBox to no longer use bootstrap classes
- Remove UserSearchBox v1
@nickgros nickgros force-pushed the PORTALS-2651-select branch from 9358ad9 to 5bf311f Compare February 4, 2025 17:46
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unused

)
},
}

export default function AccessRequirementSearchBox(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

image

@@ -181,8 +174,7 @@ function UserSearchBoxV2(props: UserSearchBoxProps) {
isClearable
value={value}
styles={{
// Bootstrap's form-control class overrides the display value, manually set to flex (the default without Bootstrap)
control: styles => ({ ...styles, display: 'flex !important' }),
control: styles => ({ ...styles, backgroundColor: palette.grey[200] }),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

image

</components.Control>
)
}

function QuerySortSelector({ sortConfig }: QuerySortSelectorProps) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

image

@nickgros nickgros changed the title PORTALS-2651 - select components PORTALS-2651 - react-select components Feb 4, 2025
@nickgros nickgros marked this pull request as ready for review February 4, 2025 17:55
@nickgros nickgros merged commit 6d27b27 into Sage-Bionetworks:main Feb 4, 2025
24 checks passed
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