-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[ENH] Datasets: Let the filter override domain and language #6930
[ENH] Datasets: Let the filter override domain and language #6930
Conversation
@markotoplak, can you take a look at this? A better fixYour fix for unpublished data sets works, but it's rather a hack. The reason why you had to do it is, basically, that Your trick wouldn't work in this PR. I'd either have to change (= override the saved) language and/or domain combo, or add filter to settings. So I added a "filter hint", which sets the filter when necessary. Why it still won't workThere is another problem, related to an existing inconsistency (essentially from the previous PR):
The data set is still output, but Perhaps the best fix is that |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6930 +/- ##
=========================================
Coverage ? 88.45%
=========================================
Files ? 331
Lines ? 73099
Branches ? 0
=========================================
Hits ? 64662
Misses ? 8437
Partials ? 0 |
At first I immediately agreed that selected_id should override the filter. But if it does, then searching for something new will always keep the selected data showing, too, which can be confusing. No idea what is good. When I was reviewing the previous PR, I found the same issue: output != selection. So what is saved is the actual selection, not the output. It can also be problematic in other ways: you output D1 then select (single click) D2, save. In the loaded workflow, we get D2. I think the current |
4e185c5
to
d759a3f
Compare
d759a3f
to
08744a4
Compare
Issue
Adding the domain and language combo made it more difficult to load educational data sets.
Also fixes #6931.
Description of changes
Make the filter override the domain (and language) setting. The number of data sets is large, so users always filter them anyway.
The fix may also provide an alternative to 16bbfdf? @markotoplak
Includes