Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#6078 closed defect (bug) (fixed)

Prompt to change Component upon ticket creation

Reported by: dd32's profile dd32 Owned by:
Milestone: Priority: low
Component: Trac Keywords: needs-dev-note


It's increasingly common for ticket reporters to leave the Component at the default value, this isn't always an issue, but it causes tickets to not get posted to their Slack channels and can cause reports to miss the "Please report this on this other bug tracker" notice.

For example, see the attached image.

Attachments (1)

Screen Shot 2022-02-03 at 12.10.52 pm.png (897.0 KB) - added by dd32 2 years ago.

Download all attachments as: .zip

Change History (10)

#1 @dd32
2 years ago

Well, I missed changing the Component back to General for the screenshot, but you get the idea :)

An alternative may be to also check if the suggested component has an alternative bug tracker location, and to include that in the image, or a checkbox [ ] No, I'm not reporting an issue in <Trac> before submitting as the default component?

#2 @dd32
2 years ago

I'm imagining that we'd simply pull all words from the Component dropdown, and if one of those words are mentioned in the title/description.

On Meta, There are some words that we'd need to exclude Site, Plugin(s), for, the.. Perhaps remove those, but also check explicitly for the entire Phrase "Five for the Future" would match but "for the" wouldn't.

This ticket was mentioned in Slack in #core by dd32. View the logs.

2 years ago

#4 @audrasjb
2 years ago

The prompt looks great to me. Perhaps the confirmation checkbox is a bit too much for now?

#5 @dd32
2 years ago

In 11537:

Trac: Suggest the correct component when a reporter leaves it as 'General'.

This only matches based on words contained within the Component labels, it would be nice to extend this so that we can have other matching words.

See #6078.

#6 @dd32
2 years ago

  • Keywords needs-dev-note added

#7 @dd32
2 years ago

In 11570:

Trac: Reorganise how the click handler for the component suggestion works, sometimes the click handler wouldn't register that the component had been clicked.

See #6078.

#8 @dd32
2 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#9 @dd32
2 years ago

In 11612:

Trac: When suggesting components, do not suggest ' site' on Meta.

See #6078.

Note: See TracTickets for help on using tickets.