Wrong selected category dropdown when opening search via url

in #utopian-io7 years ago (edited)

The Bug

When I open search via url, for some category, the selected category dropdown not match with the category in the url.

How to reproduce

  1. Open https://utopian.io/search/sub-projects/android
  2. The selected dropdown become Projects. It should display Sub-Projects instead.
    Screenshot (8) - Copy.png

Try different category (Tutorials)

Screenshot (9).png

Expected result

For example, open https://utopian.io/search/documentation/android, and the dropdown updated to "Documentation".
Screenshot (15).png

Comparison

This is a comparison table with result for each category that I tested, There is 4 category that display "Projects" while the remaining 10 category display correct category.

CategoryURLDisplayConclusion
ProjectslinkScreenshot (16).pngTrue
SuggestionslinkScreenshot (17).pngTrue
Sub-ProjectslinkScreenshot (18).pngFalse
DevelopmentlinkScreenshot (19).pngTrue
Bug ReportslinkScreenshot (20).pngTrue
TranslationslinkScreenshot (21).pngTrue
GraphicslinkScreenshot (22).pngTrue
AnalysislinkScreenshot (23).pngTrue
VisibilitylinkScreenshot (29).pngTrue
DocumentationlinkScreenshot (24).pngTrue
TutorialslinkScreenshot (25).pngFalse
Video TutorialslinkScreenshot (26).pngFalse
CopywritinglinkScreenshot (27).pngFalse
Blog PostslinkScreenshot (28).pngTrue

Wrong result list

Here the list of 4 category that display wrong dropdown:

System

  • Google Chrome Version 63.0.3239.132 (Official Build) (64-bit)
  • Mozilla Firefox 57.0.4 (64-bit)
  • Windows 10 Pro (64-bit)
  • Found on 9 January 2018



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it does not follow the Utopian Rules.
Hello, i see you're new to utopian.
Welcome to utopian and thanks for contributing.
Great post. but i think you forgot the :octocat: symbol near the "Project" that symbol is for github. and the whole usability of the "Project" function is to be able to search for a particulat keyword inside a particular category
Not showing which project you're currently on(sub-project or project) haha, it cannot be counted as a layout bug, or any type of bug. Thus, i'll have to reject it
thanks for contributing and i hope to see some good posts from you next time :)
please read the rules carefully so i can accept a viable contribution from you next time :D

You can contact us on Discord.
[utopian-moderator]

Hello @sachincool, yup I'm new in this community. Thank you for reviewing my post and welcoming me. At first I also thought that dropdown always show "Projects". But I already test all the category and find out it's not true. For example, open https://utopian.io/search/documentation/android, and it clearly update the dropdown to "Documentation", instead of "Projects" like we thought. So, it is showing in which category we are currently open from the link right.
Screenshot (15).png
Here I make comparison table for testing all the category, There is only 4 category that display "Projects" while the remaining 10 category display according to the category. It is not consistent for all category, thats why I consider this issue a bug.

CategoryURLDisplayConclusion
ProjectslinkScreenshot (16).pngTrue
SuggestionslinkScreenshot (17).pngTrue
Sub-ProjectslinkScreenshot (18).pngFalse
DevelopmentlinkScreenshot (19).pngTrue
Bug ReportslinkScreenshot (20).pngTrue
TranslationslinkScreenshot (21).pngTrue
GraphicslinkScreenshot (22).pngTrue
AnalysislinkScreenshot (23).pngTrue
VisibilitylinkScreenshot (29).pngTrue
DocumentationlinkScreenshot (24).pngTrue
TutorialslinkScreenshot (25).pngFalse
Video TutorialslinkScreenshot (26).pngFalse
CopywritinglinkScreenshot (27).pngFalse
Blog PostslinkScreenshot (28).pngTrue

Your contribution cannot be approved yet. See the Utopian Rules. Please edit your contribution to reapply for approval.
Great Work ! thanks for showing me that. now i understand your point better. Could you add your latest findings into yor post aswell ? Also fix your spellings of allready to already.
You're right, so far and i like how you explained your issue so elaborately. this is a bug and i'll approve this once you do the changes everything else is just superb Great Work! i love to see more from you :) contact me on discord when you do the changes so i can accept asap
You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]

Hello @sachincool. Thanks for fast response, I already update my post according to your instruction.

Superb work !! I really really appreciate your work and quick response . We at utopian Love this kind of dedication, and i look forward to seeing your work in future :)
Thanks Moderator!!

Thank you very much @sachincool

Hey @mytosin I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 56586.53
ETH 2392.96
USDT 1.00
SBD 2.30