Comments (3)
I can cover this issue! Setting up a draft PR in a few ✌️
from earthdata-search.
Awesome! Thank you @heykc
from earthdata-search.
@abbottry apologies for not running the tests before pushing! I do have a question for you or anyone that would be able to answer. The test directly checks that props.onApplyGranuleFilters is called with { readableGranuleName: null }
however my change directly affects what we're sending to props.onApplyGranuleFilters (sending an empty array rather than null). Obviously I don't want to just change the test so that it passes with my fix, but correct me if I'm wrong, I do believe we should be passing in an empty array rather than a null value.
If we pass a null value, we remove the null filter completely once the prunedFilters reducer runs inside of collections.js (line 116 in \static\src\js\actions\collections.js
. Unless we somehow retain and pass the null filter to the UPDATE_GRANULE_SEARCH_QUERY action, we won't be able to update the state in Redux with the updated readableGranuleName value. And since an empty array is still truthy, we wouldn't be removing it in the prunedFilters reducer.
Let me know if you agree. If you do, I can make the change to the test file to expect an empty array, otherwise, I'm happy to discuss possible other actions we can take. ✌️
from earthdata-search.
Related Issues (20)
- EDSC-2895: Direct download button not working for multi-file granules in list view HOT 10
- EDSC-2515: Improve loading state for collection results HOT 2
- EDSC-3064: Fix 508 compliance 'Empty button' findings
- EDSC-3066: Fix 508 compliance 'Broken AIRA reference' finding
- EDSC-3067: Fix 508 compliance 'Empty form label' findings
- EDSC-3068: Fix 508 compliance 'Empty heading' finding HOT 1
- EDSC-3069: Fix 508 compliance 'Missing form label' findings
- EDSC-3070: Fix 508 compliance 'Multiple form label' finding
- EDSC-3072: Fix 508 compliance 'repetitive navigation links' findings from SortSite
- EDSC-3073: Fix 508 compliance 'form control has no name' findings from SortSite
- EDSC-3074: Fix 508 compliance 'FIELDSET elements labeled with LEGEND elements' finding from SortSite
- EDSC-3075: Fix 508 compliance 'element must contain ALT attribute' finding from SortSite
- EDSC-3484: Fix /contact_info url HOT 3
- EDSC-3300: Change "Search for collections or topics" placeholder in keyword search HOT 6
- EDSC:3328: Rename 'Available from AWS Cloud' facet to 'Available in Earthdata Cloud' HOT 3
- EDSC-3314: Display a disabled Explore button, when Smart Handoffs are not valid with the current parameters HOT 1
- EDSC-3093: As a user, I'd like to sort collections by start date HOT 2
- EDSC-1603: Create a new portal for HiTIDE
- [INFRA]: Improve project structure
- Need a "Remove Filters" button in Filter Collections Sidebar HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earthdata-search.