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

Unify behavior of study page filters #955

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

naglepuff
Copy link
Collaborator

Fixes #933

Previous Behavior:
When on a study page, if a user clicked the sample count, they would be taken back to the main data portal view, and the study list would be filtered to show only the study they were just looking at. If the user clicked one of the omics processing chips, they would be taken back to the main data portal view, and the study would be selected (indicated by the checkboxes next to the study titles). If a study is further down the list, the visual cue would be missing.
See linked issue for screenshots

New Behavior
Now, both actions produce the same result: a returning to the main data portal view with only the study of interest present in the studies list. If the user wants to see all studies, they have to remove the filter from the search sidebar.

@naglepuff naglepuff changed the title Use id instead of study_id Unify behavior of study page filters Apr 21, 2023
@aclum
Copy link
Contributor

aclum commented May 5, 2023

@jeffbaumes would you please review this pull request? I'm trying to determine what outstanding issues identified by GSP still need work.

@naglepuff naglepuff marked this pull request as ready for review May 8, 2023 20:44
@naglepuff naglepuff requested a review from jeffbaumes May 8, 2023 20:44
This properly filters the NMDC home page to only include the study of interest.
This affects clicking on the omics type chips on a study page
@naglepuff
Copy link
Collaborator Author

Checked this branch again after rebasing off of main and verified that it works as expected.

@naglepuff naglepuff merged commit 631c823 into main Aug 29, 2023
2 checks passed
@naglepuff naglepuff deleted the unify-study-filter-links branch August 29, 2023 18:42
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.

study page link to omics procesing set records does not filter studies correctly
3 participants