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:
Родитель
7ea5f09967
Коммит
77b852436b
|
@ -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?" +
|
||||
|
|
Загрузка…
Ссылка в новой задаче