(I think this is part of the drupalorg module... if not where is it?)

Problem/Motivation

On every function page on api.drupal.org, there is a "file an issue link", which takes you to a node/add page such as:

http://drupal.org/node/add/project-issue/drupal?title=Documentation%20pr...

I end up changing the issue titles a lot, to make them more meaningful, and at least one frequent issue filer didn't realize it was good for the person filing the issue to change the title to something more meaningful.

Proposed resolution

It would be better if the automatically-generated body changed from "Describe the problem you have found" (after the link to the API page that it came from, which is very helpful) to "Describe the problem you have found (and change the issue title to something more descriptive)".

Or we could change the title of the generated issue from "Documentation problem with ..." to "(description here) problem with ...", or something that gets the point across that the function name

I'd be happy with either -- just something that gets the point across that the issue filer should edit the title.

Remaining tasks

Figure out what to do, and implement/deploy it.

User interface changes

Issue link will go to a slightly different URL.

API changes

None.

Comments

drumm’s picture

http://drupalcode.org/project/drupalorg.git/blob/125a5448b99cf815ed26ec7... makes the link. I'm okay with either proposed solution.

jhodgdon’s picture

OK. I'll try to make a patch sometime soon... unless someone else wants to take this on.

drumm’s picture

Issue tags: +Novice

Let's see what the novice tag does.

aaronott’s picture

Perhaps a bit much but this patch removes the title all together then asks for a descriptive title in the auto text of the body. I changed the body portion to say:
GIve a descriptive title relating to @label, then describe the problem you have found:

This makes a point to tell the issue filer what needs to be done and doesn't allow them to submit the issue until a title is actually entered in.

Thoughts?

aaronott’s picture

Status: Active » Needs review

Probably should have changed this to needs review.

jhodgdon’s picture

Huh. That's an interesting idea. :) I like it! But can we say:

Enter a descriptive title (above) ...

rather than

Give a descriptive title...

or something like that? I don't think "give" is the right verb, and I don't think it would hurt to point out that the title is above. Thoughts?

aaronott’s picture

I agree that 'Enter' sounds better than 'Give' and at first I didn't think we needed to tell people where to enter the title but then started thinking we'd probably see a number of posts that had the title in the body field.

So I did change both of the areas you suggested here.

Thanks!

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

That looks good to me! I have not actually tested it because I don't have an API scratch site sitting around, but it should work. Thanks a bunch!

jhodgdon’s picture

Issue tags: +Needs deployment
jhodgdon’s picture

Title: Update to auto-title in file issue links » Update to title/body in file issue links on api.drupal.org
Issue tags: -Novice, -Needs deployment +needs drupal.org deployment

This patch still applies, at least to the copy of drupalorg that I have on docs-manage-drupal.redesign.devdrupal.org right now.

I'd still like to see it applied/deployed sometime. Thanks!

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed & deployed.

drumm’s picture

Issue tags: -needs drupal.org deployment

Untag

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit a034aa2 on 6.x-3.x, 7.x-3.x-dev authored by aaronott, committed by drumm:
    [#1387724] Update to title/body in file issue links on api.drupal.org.