Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Website Genesys Website
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Genesys WebsiteGenesys Website
  • Issues
  • #264
Closed
Open
Issue created Mar 20, 2019 by Matija Obreza@mobrezaOwner

AutocompleteFilter component

JSP Genesys makes use of autocompleters for various fields that can be autocompleted: holder institute code, genus, etc.

image

Implement a new AutocompleteFilter component based on StringArrFilter (because it's the same kind of logic) that can be used for holder.code and taxa.genus filters. Text typed into the field should call the API for suggestions and render the term label and count, but use the term code in the filter.

New API endpoints need to be added to AccessionController (or a new controller?) that will accept the search text and the currently applied filters.

@mborodenko There are existing /json controllers that handle this.

Edited Mar 20, 2019 by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking