GithubConnectRequestUI returns the page in the Rill frontend for requesting a Github connect.
(remote string)
| 286 | |
| 287 | // GithubConnectRequestUI returns the page in the Rill frontend for requesting a Github connect. |
| 288 | func (u *URLs) GithubConnectRequestUI(remote string) string { |
| 289 | res := urlutil.MustJoinURL(u.frontend, "/-/github/connect/request") // NOTE: Always using the primary frontend URL. |
| 290 | if remote != "" { |
| 291 | res = urlutil.MustWithQuery(res, map[string]string{"remote": remote}) |
| 292 | } |
| 293 | return res |
| 294 | } |
| 295 | |
| 296 | // GithubConnectSuccessUI returns the page in the Rill frontend for a successful Github connect. |
| 297 | func (u *URLs) GithubConnectSuccessUI(autoclose bool) string { |
no test coverage detected