Skip to content
Snippets Groups Projects
  • Robert Roland's avatar
    33403173
    Adds a is-empty/not-empty for strings (#12947) · 33403173
    Robert Roland authored
    
    * Adds a is-empty/not-empty for strings
    
    What the UI calls "is empty" / "not empty" right now is a null check,
    not a null and "" string check.
    
    This adds is-empty / not-empty operators in the query processor, and
    reworks the UI to use those. Any existing query that previously used the
    is-null / not-null operators will show (as "Is null" / "Not null") but
    any newly made queries will not be able to select "Is null" / "Not null"
    for text type fields.
    
    This will allow backwards compatibility with existing questions, while
    promoting use of the new "is-empty"/"not-empty" operators.
    Added Cypress test to make sure the proper operators show up when asking
    questions
    
    Update memoize util to allow variable number of args
    
    Resolves #5299
    
    Co-authored-by: default avatarPaul Rosenzweig <paul.a.rosenzweig@gmail.com>
    Adds a is-empty/not-empty for strings (#12947)
    Robert Roland authored
    
    * Adds a is-empty/not-empty for strings
    
    What the UI calls "is empty" / "not empty" right now is a null check,
    not a null and "" string check.
    
    This adds is-empty / not-empty operators in the query processor, and
    reworks the UI to use those. Any existing query that previously used the
    is-null / not-null operators will show (as "Is null" / "Not null") but
    any newly made queries will not be able to select "Is null" / "Not null"
    for text type fields.
    
    This will allow backwards compatibility with existing questions, while
    promoting use of the new "is-empty"/"not-empty" operators.
    Added Cypress test to make sure the proper operators show up when asking
    questions
    
    Update memoize util to allow variable number of args
    
    Resolves #5299
    
    Co-authored-by: default avatarPaul Rosenzweig <paul.a.rosenzweig@gmail.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project manages its dependencies using Yarn. Learn more