Link to review page in Git issue (#7779)

* Link to review page in Git issue

* Removed comment line 217

* Update src/dotnet/APIView/APIViewWeb/Client/src/shared/comments.ts

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

---------

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
This commit is contained in:
Whitney Shake 2024-03-05 12:38:24 -08:00 коммит произвёл GitHub
Родитель 7ea5f09967
Коммит 77b852436b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -213,10 +213,7 @@ $(() => {
apiViewUrl = window.location.href.split("#")[0] + "%23" + escape(escape(hp.getElementId(commentElement[0])!));
}
let issueBody = escape("```" + language + "\n" + codeLine.text().trim() + "\n```\n#\n" + comment);
// TODO uncomment below once the feature to support public ApiView Reviews is enabled.
//+ "\n#\n")
//+ "[Created from ApiView comment](" + apiViewUrl + ")";
let issueBody = escape("```" + language + "\n" + codeLine.text().trim() + "\n```\n#\n" + comment + "\n#\n" + "[Created from ApiView comment](" + apiViewUrl + ")");
window.open(
"https://github.com/Azure/" + repo + "/issues/new?" +