topcoder-platform / admin-app

Customer support application
7 stars 25 forks source link

[$150] Ability of add multiple resource with similar roles at the same time (i.e. 2 reviewers on the challenge) #179

Closed maxceem closed 3 years ago

maxceem commented 3 years ago

We can manage users of the challenges in V5 Challenge Management section, see screenshot

We already have the ability to add users:

image

We have to support adding multiple users with the same role at the same time.

maxceem commented 3 years ago

@rootelement there are 2 quick ways to go:

  1. Allow entering comma-separated list without autocomplete
  2. Or keep autocomplete, and once we selected one handle, show one more input below for entering another handle like this:

    image

Which way would be more comfortable?

rootelement commented 3 years ago

I'm assuming the add-multiple is to allow support to possibly copy-paste for support. Can we do something like challenge manager handles groups:

Screen Shot 2020-12-19 at 12 39 07 PM

Where when you select a user from auto-complete it's a multi-select with Xs?

maxceem commented 3 years ago

Yes, we can like that. Though by quick googling I haven't found a similar plugin for AngularJs which we can use. Though it shouldn't be a big problem we can use some jquery plugin like this https://github.com/aehlke/tag-it and create a custom directive for it.

The main question:

  1. If we use such plugin support should still copy/paste users one by one into the field as a default behavior of such plugins.
  2. Or do we need to allow support team to paste, several handles at once, and they should be processed correctly. If so, would it be a comma-separated list of handles, or space-separated list, or a line-break separated list? We can also, try to support all such cases if needed. Not sure how easy would it be, but we give it a try.
rootelement commented 3 years ago

Let's go for #1 first, then if we can support bulk, we can do that second. I can also ask support what methods would be best

maxceem commented 3 years ago

Contest https://www.topcoder.com/challenges/30159319 has been created for this ticket.

This is an automated message for maxceem via Topcoder X

maxceem commented 3 years ago

Task sum up:

maxceem commented 3 years ago

Contest https://www.topcoder.com/challenges/30159319 has been updated - it has been assigned to fdittz.

This is an automated message for maxceem via Topcoder X

fdittz commented 3 years ago

Still working on it, trying to do something without needing to resort to a plugin and making it work with pasting multiple handles

maxceem commented 3 years ago

No worries, it's ok. Just would like to note, that the most important for us to support autocomplete with the ability to select multiple handles.

maxceem commented 3 years ago

Payment failed: [500]: Failed to get billing detail for the project.

This is an automated message for maxceem via Topcoder X

maxceem commented 3 years ago

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30159319

This is an automated message for maxceem via Topcoder X