Bug 989476 Comment 17 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Let's get this rolling.

This is easily two separate PRs:

1. Add 'is_new' to the BUGZILLA.user object (as part of the TagNewUsers extension)
2. When the comment field is edited and the (added in the previous PR) BUGZILLA.user.is_new is true, check the needinfo checkbox and choose the "mentor" option of $("#needinfo_role")

So for the first one, you'll add a file extensions/TagNewUsers/template/en/default/hook/global/header-start.html.tmpl,
something like extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl.

In this case you'll just set js_BUGZILLA.user.is_new
Let's get this rolling.

This is easily two separate PRs:

1. Add 'is_new' to the BUGZILLA.user object (as part of the TagNewUsers extension)
2. When the comment field is edited and the (added in the previous PR) BUGZILLA.user.is_new is true, check the needinfo checkbox and choose the "mentor" option of $("#needinfo_role")

So for the first one, you'll add a file extensions/TagNewUsers/template/en/default/hook/global/header-start.html.tmpl,
something like extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl.

In this case you'll just set js_BUGZILLA.user.is_new

For the second one, you'll probably be good just adding the code to bug_modal.js.

Back to Bug 989476 Comment 17