-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
RFE: Show drop down w/ auto-complete for user selection in Test Run Page #2510
Comments
From #2656
Maybe we can find a suitable widget in the Grappelli library for this. |
@atodorov I propose the following solution for this issue I added a sub-menu for "Default tester" item and added a This solution will add dependency on select2 |
@pandafy not sure I unbderstand your proposal fully but here are some comments below.
I'm not aware what If
I'm not aware of what Django's AutocompleteView does. The rest of the UI widgets are built using the existing JSON-RPC methods. Note: the existing |
@pandafy do you have a proof-of-concept which I can examine further ? |
You are correct,
Thanks for the heads-up. I will try to ensure that the solution to this issue is consistent with rest of the codebase.
Are you referencing to Lines 33 to 51 in 0a179f7
@atodorov I did some quick and dirty changes to mock-up the UI. I didn't update any logic for changing the "Default tester". I will work on a PoC and open a draft PR ASAP. From my observation, we have two similar use cases
I think we will need to implement a re-usable logic. Something similar to the tags functionality. What do you think?
Going on a tangent here to share the reasoning for my earlier proposal. The Django admin allows to specify autocomplete fields. It uses |
Yes.
👍
Even more. Pretty much everywhere where you need a user, but these two places are a good start.
Agree. Implement one of them first, then packaging up the solution as a reusable template/function is much easier. |
Is your feature request related to a problem? Please describe.
When I try to assign someone to test cases in the test run view, I am expected to enter the username/email/userid and there is no shortlist provided as I type.
Describe the solution you'd like
As I type a username or email I would like the available entries in the DB to be provided as a short list.
Describe alternatives you've considered
I dont see any alternatives.
Additional context
The text was updated successfully, but these errors were encountered: