From 8946d8903b439f23f7c84922de672231f5f7a4e0 Mon Sep 17 00:00:00 2001 From: Sophie <29382425+sophietheking@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:23:33 +0200 Subject: [PATCH] [2023-04-05]: Mark threaded comment as answer in discussion - [GA] (#35936) Co-authored-by: Laura Coursen Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> --- .../discussions-mark-threaded-comment-as-answer.yml | 6 ++++++ .../reusables/discussions/marking-a-comment-as-an-answer.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 data/features/discussions-mark-threaded-comment-as-answer.yml diff --git a/data/features/discussions-mark-threaded-comment-as-answer.yml b/data/features/discussions-mark-threaded-comment-as-answer.yml new file mode 100644 index 0000000000..9c568d9f14 --- /dev/null +++ b/data/features/discussions-mark-threaded-comment-as-answer.yml @@ -0,0 +1,6 @@ +# Issue #8450 +# Mark threaded comment as answer in discussion +versions: + fpt: '*' + ghec: '*' + ghes: '>=3.10' diff --git a/data/reusables/discussions/marking-a-comment-as-an-answer.md b/data/reusables/discussions/marking-a-comment-as-an-answer.md index 43cd6118e0..10c6e7c132 100644 --- a/data/reusables/discussions/marking-a-comment-as-an-answer.md +++ b/data/reusables/discussions/marking-a-comment-as-an-answer.md @@ -4,7 +4,7 @@ When you mark a question as an answer, {% data variables.product.product_name %} ![Screenshot of a comment marked as the answer to a discussion.](/assets/images/help/discussions/comment-marked-as-answer.png) -You can't mark a threaded comment in response to a comment as the answer to a discussion. You also can't mark a minimized comment as the answer to a discussion. +{% ifversion discussions-mark-threaded-comment-as-answer %}You can also mark a threaded comment (in response to a comment) as the answer to a discussion. You can't mark a minimized comment as the answer to a discussion. {% else %}You can't mark a threaded comment in response to a comment as the answer to a discussion. You also can't mark a minimized comment as the answer to a discussion.{% endif %} {% data reusables.discussions.navigate-to-repo-or-org %} {% data reusables.discussions.discussions-tab %}