Problem/Motivation

I don't think I've ever viewed the issue credit UI as a non-maintainer prior to working on #2810485: Allow more maintainers to grant credit but I was hugely confused when I did.

Here's what a maintainer sees:

Here's what a non-maintainer sees:

Do you, like me, see absolutely no difference? There's one tiny (and I do mean tiny :)) one:

And... that's it. Otherwise, this field appears to work just fine, right up into telling you the issue updated successfully. It's just that your data changes aren't actually saved:

Proposed resolution

Something a lot more explicit. I'm guessing the entire form is visible right now because there's value in non-maintainers seeing the list and how it's checked so they can point out errors/omissions in crediting. Which makes sense, especially until #2810485: Allow more maintainers to grant credit is fixed.

As a VERY MVP, we could just prepend different text like "Only project maintainers are allow to modify this field." But we could likely do a lot better than that, too.

User interface changes

Yes. Let's discuss.

Remaining tasks

TBD.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick created an issue. See original summary.

webchick’s picture

Issue tags: +Needs usability review
drumm’s picture

I'm guessing the entire form is visible right now because there's value in non-maintainers seeing the list and how it's checked so they can point out errors/omissions in crediting.

Yes, and for commit messages when pushing to branches.

drumm’s picture

#2972225: Move from opt in to opt out for contribution attribution has some related discussion.

As an initial change, I’m adding a credit summary for non-maintainers. This behaves somewhat like the existing summary for maintainers, but only shows the awarded credit instead of updating as a maintainer updates credit. Both show when the fieldset is collapsed, too.

Before a maintainer has commented, or if they have commented and no one has credit:
Screenshot of credit & committing fieldset before a maintainer has commented

Once a maintainer has commented, when the issue is still open:
Screenshot of credit & committing fieldset of an open issue

When the issue is fixed:
Screenshot of credit & committing fieldset of a fixed issue.

Leaving this issue open for now, since I don’t know if I’ve fully resolved this. Let me know if the copyediting needs work, or if you have more ideas. I plan to deploy this set of changes today.

  • drumm committed d2c1934 on 7.x-3.x, dev
    Issue #2978223 by webchick, drumm: Add issue credit summary for non-...
tim.plunkett’s picture

I think the key part missing is seeing who has credit already and who is about to get credit, if I am returning to an issue that a maintainer has already commented on.

drumm’s picture