canonical / certification.ubuntu.com

1 stars 14 forks source link

Add CID in questions asked by end-users #124

Closed codersquid closed 3 years ago

codersquid commented 3 years ago

This was reported by pieq in the wrong project:

When an end user has a problem with a certified device, (s)he usually ends on the page for the device (s)he owns (e.g. https://certification.ubuntu.com/hardware/202006-27960). On this page, there is a "Feedback" section with a link that creates a question with a pre-filled title to answers.launchpad.net:

https://answers.launchpad.net/ubuntu-certification/+addquestion?field.title=Feedback%20on%20the%20HP%20Elitebook%20840%20G7%20Notebook%20PC

Could it be possible to add the CID number to this pre-filled title?

From:

"Feedback on the HP Elitebook 840 G7 Notebook PC"

To:

"Feedback on the HP Elitebook 840 G7 Notebook PC (202006-27960)"

Rationale is that some vendors such as Dell sell many different configurations under the same name, so it's hard to track what device it is.

(Of course, we cannot avoid the end user choosing the wrong device in the list...)

The change for this would be pretty small. Basically, the template would get changed here to include the requested text,({{ canonical_id }}).

https://github.com/canonical-web-and-design/certification.ubuntu.com/blob/master/templates/hardware.html#L41

If there's no objection I could make a PR.