Skip to content
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

Collection search issues and improvements #6235

Open
1 task done
mcbouslog opened this issue Aug 27, 2024 · 2 comments
Open
1 task done

Collection search issues and improvements #6235

mcbouslog opened this issue Aug 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mcbouslog
Copy link
Contributor

mcbouslog commented Aug 27, 2024

Package

Choose from the list:

  • app-project

Largely duplicate of zooniverse/Panoptes-Front-End/issues/7159

Expected behavior

  • I can search for and select a collection with a display name of 3 or less characters that is not one of my most recent 100 collections

Current behavior

  • collection search requests a user's most recent 100 collections (regardless of display name) and filters the 100 recent collections by display name as the first 3 characters are typed in the search input
  • after 3 characters collection search makes a request to panoptes to search for the collection
  • if a collection is not in a user's most recent 100 collections and is 3 or less characters it will not be selectable from collections search

Steps to replicate

Additional information

@mcbouslog
Copy link
Contributor Author

As noted in the linked Talk discussion, collections with 3 or less characters that are not a user's most recent 100 collections appears to be an uncommon edge case. Since it's such an uncommon edge case, and the improvements in #6127 that address issue #6120 are much more common, I think this is issue is not urgent.

@mcbouslog
Copy link
Contributor Author

mcbouslog commented Aug 27, 2024

Possible next steps:

  • implement a 4 character minimum on collection display name creation
  • refactor collections search without filtering as type and to search the API on input submit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant