Page MenuHomePhabricator

Better explanation on how you can copy/paste participants into the textarea
Closed, ResolvedPublic1 Estimated Story Points

Description

For a user wanting to add users into grant metrics, it may be unclear that they can copy paste rows from a spreadsheet, or from a wiki page directly.

Proposed solution

image.png (170×497 px, 15 KB)

Event Timeline

Let's have a different task for stripping out numbers and bullets. For this task, do we know this is a problem for reals? Did we get feedback at WMCon about this?
It seems like the kind of thing people will adapt to once they start using it.

Yes this was feedback Sati shared with me. I want to see what they're copying from. I worry about stripping out numerals and such because 1. Foo and • Bar for instance are both valid usernames.

@Niharika - Yep, this was a real thing :) Almost everyone I talked to at WMCON who hadn't tried the tool before asked me how they could add a bunch of usernames at once, and asked for the CSV upload function because they didn't know they could copy paste a whole bunch of them directly in.

Here's one example of a page of participants one person was using, copy-pasting one by one: https://fr.wikipedia.org/wiki/Projet:Les_sans_pagEs/ParticipantEs

Here's one example of a page of participants one person was using, copy-pasting one by one: https://fr.wikipedia.org/wiki/Projet:Les_sans_pagEs/ParticipantEs

That would have been painful!

I'm wondering how the CSV upload would work. We still won't be able to support a list like this one. For that we should first think about stripping bullets and [[User:, ]] parts from the list. But as Leon pointed out above, it can be problematic to strip numbers/bullets if they are allowed to be parts of the username.

We can add some wording to suggest that they can paste in a list to begin with.

Here's one example of a page of participants one person was using, copy-pasting one by one: https://fr.wikipedia.org/wiki/Projet:Les_sans_pagEs/ParticipantEs

We still won't be able to support a list like this one

I wasn't sure when I first questioned the numbering/bullets, but it looks like with normal <ul>/<ol> HTML lists (as generated by * foo and # foo in wikitext), you can copy/paste and it will work. The numbers/bullets are not copied with it, at least in Chrome. So I guess for this use case we are okay, and just need to explain that copying/pasting is a thing :)

Oh you're right! Just copying that list over works nicely (I tried in Safari).

Okay, let's make sure people are aware copy pasting in can work. I propose changing "Add more participants, one per line" to be more descriptive/catchy. Ideas?

"Add more participants, one per line. You can copy/paste directly from an on-wiki list."

It seems that would be true most of the time.

"Add more participants, one per line. You can copy/paste directly from an on-wiki list."

It seems that would be true most of the time.

I'm a little concerned that users light copy in the list from the editor or such.
In addition to that line, how do you feel about providing an info icon at the end that leads to the docs page which has more detail about this?

In addition to that line, how do you feel about providing an info icon at the end that leads to the docs page which has more detail about this?

Sure! I like that more than adding lengthy instructions within the interface.

kaldari set the point value for this task to 1.May 1 2018, 11:44 PM

Sometimes, the label might then be a bit long:

Screenshot_2018-09-07 edited 4 - Grant Metrics.png (229×686 px, 8 KB)

So does this work okay? With a 1:5 spacing ratio for the label and the button:

1-5 spacing.png (225×671 px, 8 KB)

Alternatively, we could move the help text and link to the bottom:

at bottom.png (251×669 px, 11 KB)

But that might look a bit too related to the lower text boxen.

I would combine the approach. Put the "You can copy..." but just below the "Add more..." bit but make it smaller and grey with the icon at the end.

Would that work?

Hmm, why don't we let the label be full-dialog width? Save participants button is below it anyway. That would allow the textarea input and the button to line up.

Screenshot_2018-09-07 edited 4 - Grant Metrics.png (229×686 px, 8 KB)

Yeah, we've got masses of space to the left side. This is what it looks like without wrapping (with a machine translated Dutch label, because that's a long one):

nl label.png (258×993 px, 12 KB)

Is that good?

Although, I do also like @aezell's idea of the two-line label.

Yeah, we've got masses of space to the left side. This is what it looks like without wrapping (with a machine translated Dutch label, because that's a long one):

nl label.png (258×993 px, 12 KB)

Is that good?

Yep, that looks good to me!

Merged and staging site updated. Ready for QA.

Merged and staging site updated. Ready for QA.

Looks good to me. Let's deploy.

MusikAnimal moved this task from QA to Q1 2018-19 on the Community-Tech-Sprint board.

Deployed