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

Improve search of authorized and unauthorized studies #4603

Closed

Conversation

jagnathan
Copy link
Contributor

@jagnathan jagnathan commented Apr 28, 2023

Fix cBioPortal/icebox#468
Improved search of authorized internal studies. Users can now filter studies based on their read permission (authorized or not authorized) in the search box. This is an optional feature that has to be enabled by settings in portal.properties.

fix 9915 improve search of authorized studies
add new search filter based on readPermission flag called Controlled access authorized. Modified the search algorithm to accept booleans instead of just strings esp. false value

fix 9915 improve search of authorized studies

fix 9915 improve search of authorized studies
add new search filter based on readPermission flag called Controlled access authorized. Modified the search algorithm to accept booleans instead of just strings esp. false value

Use _.toString in matchPhraseFull, and specify type

Unnest fieldName check in Phrase.match

Introduce FilterFieldOption type that includes a displayValue

Update QueryParser.ts

Update CheckboxFilterField.tsx

id has to be unique for each filter when there are multiple filters.

Modify the Select all checkbox to select only authorized studies

Update checkbox label text

Update checkbox label text when filter is applied vs not applied

fix all Authorized or Unauthorized studies scenario

fix all Authorized or Unauthorized studies scenario. Hide the option if the studies that are all authorized or all unauthorized.
Only CancerStudy objects from treeData are filtered based on whether the readPermission field has a value.  Refactoring: New const created as shownStudiesLengthstring to identify if there is a filter applied or not.

Update Phrase.tsx

conflict resolution fix due to merge

changes for prettier

prettier changes
@jagnathan jagnathan force-pushed the fix-9915-improved-findability branch from 0fd8d62 to 6c849ad Compare May 2, 2023 16:16
fix 9915 improve search of authorized studies
add new search filter based on readPermission flag called Controlled access authorized. Modified the search algorithm to accept booleans instead of just strings esp. false value

fix 9915 improve search of authorized studies

fix 9915 improve search of authorized studies
add new search filter based on readPermission flag called Controlled access authorized. Modified the search algorithm to accept booleans instead of just strings esp. false value

Use _.toString in matchPhraseFull, and specify type

Unnest fieldName check in Phrase.match

Introduce FilterFieldOption type that includes a displayValue

Update QueryParser.ts

Update CheckboxFilterField.tsx

id has to be unique for each filter when there are multiple filters.

Modify the Select all checkbox to select only authorized studies

Update checkbox label text

Update checkbox label text when filter is applied vs not applied

fix all Authorized or Unauthorized studies scenario

fix all Authorized or Unauthorized studies scenario. Hide the option if the studies that are all authorized or all unauthorized.
Only CancerStudy objects from treeData are filtered based on whether the readPermission field has a value.  Refactoring: New const created as shownStudiesLengthstring to identify if there is a filter applied or not.

Update Phrase.tsx

conflict resolution fix due to merge

changes for prettier

prettier changes
@jagnathan
Copy link
Contributor Author

This is superseded by new PR #4614

@jagnathan jagnathan closed this May 19, 2023
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.

Enhancements to Improved findability of Authorized Studies feature
2 participants