Bug 999933

Summary: Search on jobs page (/jobs) should search whiteboard by default (instead of ID)
Product: [Retired] Beaker Reporter: Jaroslav Kortus <jkortus>
Component: web UIAssignee: Anwesha Chatterjee <achatter>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Tyson 🤬 <mtyson>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 0.14CC: achatter, dcallagh, ebaak, huiwang, mtyson, qwan, rjoost, tools-bugs
Target Milestone: 25.0Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1549925 (view as bug list) Environment:
Last Closed: 2018-03-19 04:19:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed patch to search whiteboard by default
none
search by whiteboard by default none

Description Jaroslav Kortus 2013-08-22 11:41:17 UTC
Description of problem:
When user types any text in the search field on job list page (/jobs) it searches for ID matching the text (exact match).

It should match on whiteboard text instead and operation should be "contains".

Searching whiteboard text by default makes much more sense to me than looking up ID (=more user friendly).

Version-Release number of selected component (if applicable):
0.14.1

How reproducible:
always

Steps to Reproduce:
1. Go to jobs list page (/jobs)
2. Fill in the search field
3. Press Toggle Search and verify that it is looking up by ID

Actual results:
Text search field looking up ID by default, making me unhappy and forcing me to click more.

Expected results:
Search the witeboard (in "contains" mode), allowing me to do less clicking and making me more happy :).

Additional info:

Comment 2 Jaroslav Kortus 2014-02-05 10:11:04 UTC
Created attachment 859561 [details]
proposed patch to search whiteboard by default

Comment 3 Jaroslav Kortus 2014-02-05 10:14:02 UTC
Created attachment 859562 [details]
search by whiteboard by default

paths fixed to start at repo root

Comment 4 Roman Joost 2014-09-18 01:07:09 UTC
I'd like to see this implemented as well. I'll have to click 3 to 5 times to get the search results, where as the whiteboard would make it so much more easier and would save me quite a lot of mouse clicks.

Comment 5 Hui Wang 2017-01-19 06:09:34 UTC
https://gerrit.beaker-project.org/#/c/5585/

Comment 6 Roman Joost 2018-02-08 00:15:50 UTC
Since the patch was posted, Beaker went into maintenance. While is back in feature development, I'll move this back to NEW until we can get one of the new members finishing this.

Comment 7 Anwesha Chatterjee 2018-02-26 00:48:00 UTC
https://gerrit.beaker-project.org/#/c/5998/

Comment 8 Roman Joost 2018-03-07 00:12:01 UTC
This bug fix is included in beaker-server 25.0.git.218.831c6c0fc  which is currently available for testing here:

https://beaker-devel.app.eng.bos.redhat.com/

Comment 9 Matt Tyson 🤬 2018-03-07 04:59:17 UTC
Searching for jobs in the form of 'J:14000' returns the matching job.

The default search matches against the whiteboard by default.

Marking bug as VERIFIED.

Comment 10 Roman Joost 2018-03-19 04:19:00 UTC
Beaker 25.0 has been released.

Release notes are available upstream: https://beaker-project.org/docs/whats-new/release-25.html