-
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
Narrow filter options to only those still applicable given the applied filters #48
Narrow filter options to only those still applicable given the applied filters #48
Conversation
No need for rebasing 👍 |
JavaScript CoverageSummary
Modified Files • (65%)
|
f4d40c6
to
4b290c6
Compare
5e1f575
to
2b30b57
Compare
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.
return false; | ||
} | ||
} else if ( colDef.type === "stock" ) { | ||
// TODO: Figure out how we're filtering the `market_list` column |
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.
Yeah, we have market_list
and full_market_links
and market_filt
. I think you already found this but this is the set of exchanges we filter to: https://github.com/georgetown-cset/parat/blob/version2/web/scripts/retrieve_data.py#L63C1-L63C15
Limit the filter options present in dropdowns to only those that are still possible given the currently-applied filters from other columns. Closes #37
2b30b57
to
2f12168
Compare
Convert commas into HTML entities before storing them in the URL query params so that when the filters are split (on commas), the company name stays intact.
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.
👍
When the currently-applied filters give no results, leave all possible filter options available in the dropdowns in order to give the user the most flexibility in adjusting filters to get results.
Update UI Components to be able to provide `fallbackContent` when the list view table has no rows to display for the selected filters.
1cd44a6
to
60353c2
Compare
Limit the filter options present in dropdowns to only those that are still possible given the currently-applied filters from other columns.
Closes #37