-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bm browse view #305
base: dmichaels-20241119-browse-view
Are you sure you want to change the base?
Bm browse view #305
Conversation
… bm-browse-view
"to": 89, | ||
"label": "80-89" | ||
}, | ||
{ |
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.
Small note: I think all ages 89 and above will be set to 89, so we may want to have the range be "80-88" and "89 and up" or something similar
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'll check with Elizabeth; I believe they wanted it to be 90+, but that might have changed.
// File facets used in production browse ui | ||
'access_status', | ||
'donors.display_title', | ||
'donors.age', |
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.
The "Donor Age" and "Donor Sex" facets aren't rendering for me. I'm not sure, but embedding
'donors.age', | |
"file_sets.libraries.analytes.samples.sample_sources.donor.age", | |
"file_sets.libraries.analytes.samples.sample_sources.donor.sex", |
instead of donors.age
and donors.sex
may work
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.
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.
Changelog:
browse.py
, addedsample_summary.studies=Production&status=released
to base query. Removedadditional_facets
, since defining those inFile.json
metadata.py
, addedstatus
facet support to/peek_metadata
file.json
added/re-ordered various facets.App.js
:scrolledPast460
bit of state + class to body to make styling accommodations for larger space above table onBrowseView
.context.@atype[0]
as a data attribute on body; to make it easier to adjust styling on pages with server render errorsBrowseView.js
:BrowseView
(Note: may be worth re-addingDetailPaneStateCache
in future for performance; need to test with more data to see if it'll be necessary)filteredFilters
methodBigDropdownBigLink
here from 4DNBrowseViewControllerWithSelections
- right now this is basically a copy ofTableControllerWithSelections
. I anticipate this might change enough in the future to justify having it in a separate component - if that day doesn't come, feel free to merge them.BrowseView
only facets from benchmarkingSlidingSidebarLayout
componentSlidingSidebarLayout
, similar/types/
to add embeds for various fields needed for facets and columns.Base PR:
Required SPC PRs:
Related Trello Ticket:
Screenshots: