Content
View differences
Updated by Behrokh Satarnejad about 1 year ago
### Steps to reproduce
* Go to a large instance
* Try to search in the top bar search for a WorkPackage which you don't know the exact title or ID of
### What is the buggy behavior?
1. When clicked, there are 5 recently watched WorkPackages shown
2. When starting to type, there are 10 WorkPackages shown
3. The order is super weird
4. The list is rather small making it hard to read the full title
<img class="image_resized op-uc-image op-uc-image_inline" style="width:356px;" src="/api/v3/attachments/234347/content">
<br>
### What is the expected behavior?
* There are more WorkPackages shown
* Let's try 20 results and see how that feels
* Make the list wider
* If % based, increase number: exact number to be discussed
* If fixed-width, try 520px, and we'll adjust based on tests
* Do not alter the width of the search bar
* Reorder the items so that it's similar to our [Primer work package info line](https://qa.openproject-edge.com/lookbook/pages/components/work_package_info_line)
* First line: {Type} #{ID} {Status} - {Project}
* Second line: Title of the work package
* The title is wrapped in multiple lines truncated based on available width
* Project name Add title attribute so that the full title is truncated visible on hover
* \[open\] Can we test a version where we donc truncate and let the work package wrap to multiple lines?
* \[open\] Remove the Avatar avatar
* _Let's test this (Marc's suggestion) and see if works or if we feel like we lost important information_
* ~~Change the order maybe by ("last updated at" DESC).~~
* ~~tbd: It might be that this is already the current sorting, in which case we'd have to think about that again~~
<br>
###
### Environment information
**OpenProject version**
_14.6_
**Browser**
* [x] Chrome
* [x] Firefox
* [x] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
<br>
* Go to a large instance
* Try to search in the top bar search for a WorkPackage which you don't know the exact title or ID of
### What is the buggy behavior?
1. When clicked, there are 5 recently watched WorkPackages shown
2. When starting to type, there are 10 WorkPackages shown
3. The order is super weird
4. The list is rather small making it hard to read the full title
<img class="image_resized op-uc-image op-uc-image_inline" style="width:356px;" src="/api/v3/attachments/234347/content">
<br>
### What is the expected behavior?
* There are more WorkPackages shown
* Let's try 20 results and see how that feels
* Make the list wider
* If
* If
* Do not alter the width of the search bar
* Reorder the items so that it's similar to our [Primer work package info line](https://qa.openproject-edge.com/lookbook/pages/components/work_package_info_line)
* First line: {Type} #{ID} {Status} - {Project}
* Second line: Title of the work package
* The title is wrapped in multiple lines
* Project name
*
* \[open\]
* _Let's test this (Marc's suggestion) and see if works or if we feel like we lost important information_
* ~~Change the order maybe by ("last updated at" DESC).~~
* ~~tbd: It might be that this is already the current sorting, in which case we'd have to think about that again~~
<br>
**OpenProject version**
_14.6_
**Browser**
* [x] Chrome
* [x] Firefox
* [x] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
<br>