Skip to content

Navigate to parents or children categories, to select the most fitting ones when uploading #66

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

Open
nicolas-raoul opened this issue Feb 16, 2016 · 25 comments

Comments

@nicolas-raoul
Copy link
Member

When looking for a category, it is hard to get the right level.

For instance let's say I want to find Office buildings in Manhattan, New York City but my search only gets Buildings in New York by city and High-rise office buildings in Midtown Manhattan. One is too broad and one is wrong (my pic is not in Midtown).

In such a case, it would be incredibly useful if I could, for each category proposed:

  • Drill down, to reveal sub-categories
  • Drill up, to reveal categories of this category

In the UI, it could be a "zoom" button on the left that launch a drill down/up popup.

issue

@nicolas-raoul
Copy link
Member Author

A kind of "close" button would also be needed to go back to the list of suggestions.

@nicolas-raoul
Copy link
Member Author

When (and if) Structured Commons will become a reality, there will most certainly be a kind of replacement for categories, for instance there will be a way to say that my picture is a picture of a dog. The same UI as above will be needed, to allow me to select a particular subclass of dog. On the opposite, if searching for "airport sign" only makes "railway sign" and other vaguely related classes appear as results, I will be happy to be able to go to the parent class of "railway sign" to get the best existing class for the thing depicted in my picture.

@nicolas-raoul
Copy link
Member Author

Two years later, the app now allows to explore categories (media, subcategories, parent categories):
42507578-438d001c-8463-11e8-9874-4e1ad35dc19f
It sounds that this "Explore" feature could be reused to improve categorization, with the benefits described by this issue.

@ujjwalagrawal17
Copy link
Contributor

Really nice idea. Maybe we will have to think of the UI as there can be multiple parent category so we can't just navigate the user to a particular one. We need to show user list of parent categories along with subcategories in 2tabs that too in a bottom sheet layout can be good.

@ujjwalagrawal17
Copy link
Contributor

Also maybe we can show list of images in the 3rd tab for preview that will help choosing exact category #1244

@nicolas-raoul
Copy link
Member Author

@ujjwalagrawal17 You are totally right that a category can have several parent categories. I was not aware of that two years ago. You are also right that #1244 can be solved at the same time.
In terms of UI, how about this:
commons-issue66-mockup svg

  • Screen A: A loop icon is visible at the left of each category. Pressing it leads to screen B
  • Screen B: Shows the category's media, as an example to decide whether it is really the category you wanted (especially useful for non-native speakers as category names are only in English). Pressing the tabs lead to both screens C and D
  • Screen C: subcategories. If I search for "apple" I will be able to see what subcategories of apple are available and decide which one is the most appropriate
  • Screen D: parent categories. Allows you to see whether a slightly different category actually represents better what you meant.
  • You can navigate up and down as long as you want, until you have selected the categories you want.
    Then press the "Done" button (there might be better ways to implement this? any ideas?) These categories then appear as selected on screen A.

@ujjwalagrawal17
Copy link
Contributor

We can maybe put the done text in the menu (toolbar).

@nicolas-raoul
Copy link
Member Author

nicolas-raoul commented Jul 12, 2018 via email

@ujjwalagrawal17
Copy link
Contributor

Can we place the select this category icon in the menu too ? Tick icon and DONE TEXT on the right .

@nicolas-raoul
Copy link
Member Author

nicolas-raoul commented Jul 12, 2018 via email

@neslihanturan
Copy link
Collaborator

It seems like we already made some progress for this enhancement. If you are a beginner and you have read this thread until here, I want to sum up this issue for you.

We already have sub, parent categories logic which is in use at our explore activity. Now you can use that logic to browse sub/parent categories of suggested categories. The screenshot I shared can clarify what I mean. I think this task can be proper for a beginner.
image

@shalishi
Copy link

Hi, I would like take this issue. Can I?

@nicolas-raoul
Copy link
Member Author

@shalishi OK, it is yours :-)
Please let us know about your progress every few days, thanks!

@shalishi
Copy link

shalishi commented Mar 14, 2019 via email

@Rishavgupta12345
Copy link
Contributor

This issue is pretty old and irrelevant now. The app has gone through many changes and this is no longer an issue. please verify and close this issue @nicolas-raoul

@nicolas-raoul
Copy link
Member Author

@Rishavgupta12345 Still relevant, still needed.

@Rishavgupta12345
Copy link
Contributor

@Rishavgupta12345 Still relevant, still needed.

I would like to work on this then, Please assign me.

The tasks to be done here are:- #66 (comment)

I will work stepwise as mentioned in the above link

@nicolas-raoul
Copy link
Member Author

@Rishavgupta12345 Thanks! :-)

@Rishavgupta12345
Copy link
Contributor

@nicolas-raoul I am unable to find the activity/fragment which has the scrren A in #66 (comment) , please help me

@nicolas-raoul
Copy link
Member Author

nicolas-raoul commented Feb 2, 2022

@Rishavgupta12345 It is the category selection activity, it looks like this now:
adb
You could put the search loop on the right.

@Rishavgupta12345
Copy link
Contributor

@Rishavgupta12345 It is the category selection activity, it looks like this now: adb You could put the search loop on the right.

I think you are referring to the wrong category selection, the one you are referring is present while uploading a new photo, BUT the one this issue is talking about is:- when you go to explore option and try to search a picture , check the issue from beginning

@nicolas-raoul nicolas-raoul changed the title Navigate to upper/lower categories Navigate to parents or children categories, to select the most fitting ones when uploading Feb 2, 2022
@nicolas-raoul
Copy link
Member Author

@Rishavgupta12345 This issue is about being able to find and select parent and children categories when uploading a picture. I updated the title to make this clearer.

@Rishavgupta12345
Copy link
Contributor

@Rishavgupta12345 This issue is about being able to find and select parent and children categories when uploading a picture. I updated the title to make this clearer.

this isn't a good first issue any more SO I think i should not work on it

@nicolas-raoul
Copy link
Member Author

@Rishavgupta12345 I indeed think it is a bit hard for a first issue. But since it was marked as a good first issue when you started working on it, we let you choose whether you want to work on it or not. :-)

@Rishavgupta12345 Rishavgupta12345 removed their assignment Feb 2, 2022
@nicolas-raoul
Copy link
Member Author

nicolas-raoul commented Feb 13, 2022

Today I learnt that on the website, HotCat can navigate subcategories and parent categories.
It is hard to find and can be tricky (in some cases it seems that I have to add a space at the end of my search to make suggestions appear) so it is not necessarily an example to follow in terms of UI, but it could give us some insights.
Screen Shot 2022-02-13 at 22 56 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants