Description
Summary:
Skills/Technology filters that have a pound symbol ('#') are disrupting other filters because of the way it is being passed in the URL. Skills/Technology should be able to compound by selecting multiple options so that they filter based on all of the selected skills. However, when selecting certain options (i.e. C#, F#), many or all of the selected options are removed from the list. Not only that, selecting disrupting options also unchecks the selected Challenge Types and Tracks filters and resets the the Prize Amount.
One possible reason behind this is because of how the strings found after the pound symbol in URLs are interpreted. When selecting C#, C is retained as the filter while removing every other skill and unchecking/resetting the other filters, because C exists as a valid skill filter option. However, when F# is selected, it removes all the filters altogether because there is no valid F option and is therefore not recognized as an existing filter.
Steps to Reproduce:
- Go to https://platform.topcoder.com/earn/find/challenges
- Check any number of options under the Challenge Types and Tracks filters
- Input a Prize Amount range that returns valid results (i.e. 50-10000)
- Enter a skill that has valid results (i.e. JavaScript)
- Select a skill that has a pound symbol (i.e. C#, F#, C++)
Actual Result:
The filters are unchecked and reset. (See screencap below) All other previously selected tags are still found in the URL but are not being filtered correctly if they're found after the pound symbol.
Expected Result:
Valid challenges should be filtered correctly. If there are no valid challenges, the filters should remain as is.
Environment Details:
Devices(s): Macbook Pro, iPhone SE 2020
Operating System and version: MacOS 11.6, iOS 15.0.2
Browser and version: Google Chrome 95.0.4638.54, Firefox 93 (64-bit)
Screen recording or Screen snapshot:
F# Example
C# Example