Pull request preview URLs (#625)

* Dynamic link to HEAD of a given PR

* Display pr name and link in notification console

* Pass along query string to Explorer

This means you can write a URL like:

https://cosmos-explorer-preview.azurewebsites.net/pull/123?feature.enableFoo=true

and when Explorer loads it'll have enableFoo set to true in the features
object.
This commit is contained in:
Jordi Bunster
2021-04-12 13:10:31 -07:00
committed by GitHub
parent 662c03580a
commit 88f5e7485a
5 changed files with 712 additions and 11 deletions

View File

@@ -12,6 +12,7 @@
"author": "Microsoft Corporation",
"dependencies": {
"express": "^4.17.1",
"http-proxy-middleware": "^1.1.0"
"http-proxy-middleware": "^1.1.0",
"node-fetch": "^2.6.1"
}
}