Consider a website that categorizes its data into about three classes. For example, a website contains food information only for fruits, vegetables, and meat products. I have designed a search bar on the main page to be like this:
Users can search keywords in text descriptions, tags, or user profiles.
For an individual subcategory like the "Explore fruits" page, I have two questions.
For the fruits page, should I let the user search only information inside the "fruits" category, or should I design the search function to search all global information? What is the general rule about this?
I would like a simple and modern design, but I cannot figure out a way to squeeze
"< Back"button in and keep the style. I know this is kind of a design question but I cannot find a more related StackExchange site for UI design questions.