Isolate service connect UI APIs into their own object.
Review Request #15221 — Created Aug. 11, 2026 and submitted
In prior changes I'd added some new classmethods to BaseHostingService
in order to implement the new Connected Services page. As this grows,
it's making the hosting service even more unwieldy. This change moves
those out into a helper object, which can be subclassed for
service-specific functionality.
Ran unit tests.
| Summary | ID |
|---|---|
| sponzwvpxzsmzurmzzvowpwuumkrxwzv |
| Description | From | Last Updated |
|---|---|---|
|
Can we make BaseHostingServiceConnectUI generic over the hosting service type? |
|
|
|
render_to_string() should already be a SafeString. |
|
|
|
Can we make these keyword-only, so if we ever change any of this call sites will be stable? |
|
|
|
I assume this is the case, but I want to check: This is just a priority list for the names, … |
|
|
|
This is missing the full module path. |
|
|
|
render_to_string() should be a SafeString already. |
|
|
|
This is missing a Version Added. |
|
|
|
'django.utils.safestring.mark_safe' imported but unused Column: 1 Error code: F401 |
|
|
|
This is missing the full module path. |
|
- Change Summary:
-
Actually use the defined
connect_ui_cls - Commits:
-
Summary ID sponzwvpxzsmzurmzzvowpwuumkrxwzv sponzwvpxzsmzurmzzvowpwuumkrxwzv
Checks run (2 succeeded)
- Commits:
-
Summary ID sponzwvpxzsmzurmzzvowpwuumkrxwzv sponzwvpxzsmzurmzzvowpwuumkrxwzv
- Commits:
-
Summary ID sponzwvpxzsmzurmzzvowpwuumkrxwzv sponzwvpxzsmzurmzzvowpwuumkrxwzv