Add the initial "Connect a service" wizard flow.
Review Request #15140 — Created June 26, 2026 and updated
This adds the first step of the new "Connect a service" flow on the
Connected Services admin page. Clicking "Connect a service" now opens a
wizard dialog with a searchable, sectioned list of available hosting
services ("Popular", "Source Hosting", "Issue Tracking"). Choosing a
service loads its connect UI as a server-rendered fragment and submits
the authentication form over AJAX, creating theHostingServiceAccount.On the backend, this adds a
ConnectServiceViewthat serves the
per-service connect fragment (GET) and processes the auth form (POST),
returning JSON with either a redirect on success or the re-rendered form
with errors. Authorization, two-factor, and certificate errors are
caught and surfaced inline, and unexpected errors are logged.BaseHostingService now has overridable methods so services can customize
or replace the connect UI.The wizard view also includes back-navigation and deep-link hooks
(initialConnectURL/data-connect-page) staged for the upcoming
GitHub App connection flow.
- Ran unit tests.
- Used the wizard to connect new hosting service accounts, exercising
the success case as well as form errors.
| Summary | ID |
|---|---|
| ouuqozrxlzmxtvzmuqnpryzotlzyrzkv |
| Description | From | Last Updated |
|---|---|---|
|
continuation line over-indented for visual indent Column: 54 Error code: E127 |
|
|
|
This and the test case needs a Version Added. |
|
|
|
Can you put the arguments each on their own line. |
|
|
|
Can we put each entry on its own line. |
|
|
|
We don't actually pass the local_site in any of the calls. We could get rid of this arg and instead … |
|
|
|
This is missing the outer <div class="ink-c-dialog rb-c-connect-wizard">. |
|
|
|
'reviewboard.site.models.LocalSite' imported but unused Column: 5 Error code: F401 |
|
- Commits:
-
Summary ID ouuqozrxlzmxtvzmuqnpryzotlzyrzkv ouuqozrxlzmxtvzmuqnpryzotlzyrzkv - Diff:
-
Revision 2 (+3304 -18)
Checks run (2 succeeded)
- Commits:
-
Summary ID ouuqozrxlzmxtvzmuqnpryzotlzyrzkv ouuqozrxlzmxtvzmuqnpryzotlzyrzkv - Diff:
-
Revision 3 (+3348 -18)
- Commits:
-
Summary ID ouuqozrxlzmxtvzmuqnpryzotlzyrzkv ouuqozrxlzmxtvzmuqnpryzotlzyrzkv - Diff:
-
Revision 4 (+3346 -18)