Skip to content

Filter update -- fix issue 5068's comments #5254

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

Conversation

nqviet
Copy link
Contributor

@nqviet nqviet commented Dec 10, 2020

issuecomment-741596441: (1) intentional, (2) fixed: layout issue, (3) fixed: after coming back from the challenge details, the default tab is 'Active' and default bucket is 'Open for registration'
issuecomment-741600474: fixed: layout issue
issuecomment-741904592: fixed: forgot to set the challenge 'types' filter to all when clicking on the challenge Tags

 

About 741904592: search=<tag> vs tags[]=<tag>

  • There are modules of the community-app allowing to search by multiple tags (ex: Contentful EDU search) while search=<tag> is allowing searching by a single tag only
  • search=<tag> searching in challenges' name, description and tags, so there is a confused case that a challenge with only HTML tag but its description including the keyword 'Java' still being listed when user clicking on the 'Java' tag under the header of some challenge details.

So I think tags[]=<tag> is better than search=<tag> and its search results will be the same as the results of the old filter panel.

…opcoder-platform#5068#issuecomment-741600474, topcoder-platform#5068#issuecomment-741596441 and hide the sub-community select box for the review bucket
@maxceem
Copy link
Contributor

maxceem commented Dec 12, 2020

There are modules of the community-app allowing to search by multiple tags (ex: Contentful EDU search) while search= is allowing searching by a single tag only

@nqviet thank you for suggestions regarding tags. Could you please, share some link/screenshot where we have a search by multiple tags, cannot find such an example by myself.

search= searching in challenges' name, description and tags, so there is a confused case that a challenge with only HTML tag but its description including the keyword 'Java' still being listed when user clicking on the 'Java' tag under the header of some challenge details.

This is an intentional change. We are making search more "intelligent" type into search field what you need, and we would show it. This is to get rid of the complex search UI.

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes look good. The only thing there is no way to close the calendar in mobile view anymore. Before there was a "close" icon in the top right corner.

image

- fixed date-range-picker calendar missing the close button
@nqviet
Copy link
Contributor Author

nqviet commented Dec 12, 2020

There are modules of the community-app allowing to search by multiple tags (ex: Contentful EDU search) while search= is allowing searching by a single tag only

@nqviet thank you for suggestions regarding tags. Could you please, share some link/screenshot where we have a search by multiple tags, cannot find such an example by myself.

@maxceem There is still one place where /?tags[]=[<tag1>]&tags[]=<tag2> is still applied in the Contentful module.

Untitled

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick update, @nqviet

It looks like the place you've mentioned in the code is not related to challenges searching but is for searching articles in Thrive, see screenshot https://monosnap.com/file/fHAMyTfc2cvzvBSYlje5bHRJfKKwog.

So we should be safe to use "search" for filtering challenges by tags.

So I'm passing this to QA team, to check if all is good now.

@maxceem maxceem merged commit 5fd8075 into topcoder-platform:feature/filter-update Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants