Thanks to visit codestin.com
Credit goes to github.com

Skip to content

0.9.1: Search filters, new Guppy endpoints, and/or toggle

Choose a tag to compare

@ZakirG ZakirG released this 02 Dec 03:20
· 150 commits to master since this release
d0da0ee

Release Notes

For: uc-cdis/guppy

Notes since tag: 0.8.1

Notes to tag/commit: 0.9.1

Generated: 2020-12-01

New Features

  • New filter option for array fields: __combineMode, which can be "AND" or
    "OR". This specifies the combinator used in Guppy GraphQL queries when
    multiple checkboxes are checked. The gear icon that shows this toggle is
    only shown on array field filters. (#98)
  • Adds new endpoint to Guppy at /_status for health checks and retrieval of
    ES index metadata (#103)
  • Added searchInput parameter to mapping schema to query attribute names. (#101)
  • Adds a new filter type, searchFilter, to the available filters. Search
    Filters allow the user to search over fields which have too many options to
    be displayed normally -- for example, individual subject IDs or file GUIDs. (#99)

Bug Fixes

  • Fixed a bug that cause the optional field config_index to be mandatory
    (#96)

Deployment Changes

  • To deploy SearchFilters in a tab of the Explorer page, add an entry to
    data{/file}ExplorerConfig.filters.tabs.searchFields. NOTE: Do not add
    the same field to both searchFields and fields
    , this will cause
    strange behavior in the search field. Example config:
 "filters":
   "tabs": [
     { 
       "title": "Subject",
       "searchFields": [
         "subject_id", 
         "submitter_id",
         "consent_codes"
       ],
       "fields": [
         "data_type",
         "data_format",
         ... 
       ] 
     }