| Summary: | Package selection search is counter-intuitive | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Alexandru Damian <alexandru.damian> | ||||
| Component: | hob | Assignee: | Cristiana Voicu <cristiana.voicu> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Low | CC: | andreea.b.proca, belen.barros.pena, cristian.iorga, cristiana.voicu, jessica.zhang, poky.bs.watcher, poky.watcher, valentin.popa | ||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.4 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Alexandru Damian
2012-12-04 09:39:39 UTC
After talking with Belen, we have decided that we need a design for the case when there is no result for search. I will put this bug on needinfo. This bug needs design. There are a few things to think about: - Which table columns are searched (all?) - How do we present visually the search string on the results - We need a "no results" state (i.e. what do we show when the search string entered does not match any content on the table). etc. Working on it Belen Created attachment 1059 [details]
3529 - Table search.pdf
Suggested design attached.
Hello Belen, As we spoke on chat, here you can find a branch with the implementation for this bug/enhancement: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=cvoicu/searchHob I am waiting for your feedback. Thanks, Cristiana Cristiana, this is so cool! :) I agree with you: I don't think we need the search string highlight on the search results, and the inactive state of the 'clear' icon works fine. There are a couple of tiny things to change. The biggest issue is the ordering of the results. I think the table items starting with the search string should display at the top, followed by the table items that contain the search string in any other position. Within these 2 groups, the results should be sorted alphabetically. What this means is that if I search for 'eg' in the 'All recipes' tab, I should see the results in this order: 1. eglibc 2. eglibc-initial 3. eglibc-locale 4. eglibc-mtrace 5. eglibc-scripts 6. jpeg 7. nativesdk-eglibc 8. nativesdk-eglibc-initial 9. nativesdk-eglibc-locale There are 2 other small details: - The hint text in the Search field should display whenever the field is empty and not on focus. If I enter a search string, then click the clear icon, then click on a table row to move the focus off the search field, the hint text does not show. - In the 'no results' infobar, the 'Clear search' button has a tooltip that it's clearly not meant for it (it says: "edit the image parameters"). And that's it. If we get the above sorted out, you can submit the patch. This is really cool and incredibly useful functionality! Belen (In reply to comment #4) > Hello Belen, > > As we spoke on chat, here you can find a branch with the implementation for > this bug/enhancement: > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=cvoicu/ > searchHob > > I am waiting for your feedback. > Thanks, > Cristiana merged to master commit 860f826753cab81b1d1d9b2ecafa630a96676d9e Verified in master:fd4e5c6c58183f1a017c6b5fe4d43c320e273567. For the result order was created another bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4111. |