• 
      

    Add the new "Connected Services" page.

    Review Request #15139 — Created June 26, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    This adds the beginning of the new "Connected Service" page to the admin
    site, replacing the old "Hosting Service Accounts" list. This currently
    queries the hosting service accounts, groups them by service, and
    renders a list of entries which link to the model form. The rendering
    itself is designed to allow individual services to override the display
    to add additional functionality.

    Next steps include:
    - Make the "Connect a service" button do something.
    - Link through to repository management, including listing out
    repositories connected to each HostingServiceAccount and a link to
    create new repositories with the hosting service/account prepopulated.
    - Enhance GitHub to be able to use the GitHub App manifest flow.
    - Add a filtering UI for when there are many entries visible.
    - Merge integration configuration into this page.

    • Ran unit tests.
    • Created some HostingServiceAccount entries for various services and
      validated the result.
    Summary ID
    Add the new "Connected Services" page.
    This adds the beginning of the new "Connected Service" page to the admin site, replacing the old "Hosting Service Accounts" list. This currently queries the hosting service accounts, groups them by service, and renders a list of entries which link to the model form. The rendering itself is designed to allow individual services to override the display to add additional functionality. Next steps include: - Make the "Connect a service" button do something. - Link through to repository management, including listing out repositories connected to each `HostingServiceAccount` and a link to create new repositories with the hosting service/account prepopulated. - Enhance GitHub to be able to use the GitHub App manifest flow. - Add a filtering UI for when there are many entries visible. - Merge integration configuration into this page. Testing Done: - Ran unit tests. - Created some HostingServiceAccount entries for various services and validated the result.
    oquwuouprutzzynkvolvttxwqtxoworv

    Description From Last Updated

    Eventually do we want this page to somehow make its way into RBCommons and replace the Repositories + Integrations Team …

    maubin maubin

    In the filenames, variable names and documentation we switch between "admin services", "connected services" or just "services". Can we standardize …

    maubin maubin

    Can you add "... repository_count attribute for accounts that support repositories ..." (even though its pretty self explanatory).

    maubin maubin

    Should we log something here if this attr isn't found.

    maubin maubin

    I think this is meant to look like <li class="rb-c-admin-cs-card">...</li> [0+] to denote that there can be 0 or more …

    maubin maubin

    This should be <div class="rb-c-admin-cs-card__body"> <ul class="rb-c-admin-cs-accounts"> <li class="rb-c-admin-cs-accounts__account">...</li> [0+] </ul> </div>

    maubin maubin

    This is meant to be <li class="rb-c-admin-cs-accounts__account">.

    maubin maubin

    This class is meant to be rb-c-admin-cs-accounts__account__detail.

    maubin maubin

    I think this doesn't exist anymore?

    maubin maubin
    maubin
    1. 
        
    2. Show all issues

      Eventually do we want this page to somehow make its way into RBCommons and replace the Repositories + Integrations Team administration pages?

      1. In some form, I think so. Some thing will be different (for example, we'll probably have a single GitHub App for all of RBCommons) so it'll need its own dev effort.

    3. Show all issues

      In the filenames, variable names and documentation we switch between "admin services", "connected services" or just "services". Can we standardize on "connected services", e.g.:
      render_admin_services_list_entry -> render_connected_services_list_entry
      services_list_entry_template -> connected_services_list_entry_template
      and renaming similar items.

    4. Show all issues

      Can you add "... repository_count attribute for accounts that support repositories ..." (even though its pretty self explanatory).

      1. This actually changes later now that I've settled on the UI for showing repos in the page, so I'm going to leave this for now.

    5. Show all issues

      Should we log something here if this attr isn't found.

    6. Show all issues

      I think this is meant to look like

      <li class="rb-c-admin-cs-card">...</li>  [0+]
      

      to denote that there can be 0 or more <li> entries.

    7. Show all issues

      This should be

      <div class="rb-c-admin-cs-card__body">
       <ul class="rb-c-admin-cs-accounts">
        <li class="rb-c-admin-cs-accounts__account">...</li>  [0+]
       </ul>
      </div>
      
    8. Show all issues

      This is meant to be <li class="rb-c-admin-cs-accounts__account">.

    9. Show all issues

      This class is meant to be rb-c-admin-cs-accounts__account__detail.

    10. reviewboard/static/rb/css/pages/admin/connected-services.less (Diff revision 1)
       
       
       
       
       
       
       
       
       
       
      Show all issues

      I think this doesn't exist anymore?

    11. 
        
    david
    Review request changed
    Commits:
    Summary ID
    Add the new "Connected Services" page.
    This adds the beginning of the new "Connected Service" page to the admin site, replacing the old "Hosting Service Accounts" list. This currently queries the hosting service accounts, groups them by service, and renders a list of entries which link to the model form. The rendering itself is designed to allow individual services to override the display to add additional functionality. Next steps include: - Make the "Connect a service" button do something. - Link through to repository management, including listing out repositories connected to each `HostingServiceAccount` and a link to create new repositories with the hosting service/account prepopulated. - Enhance GitHub to be able to use the GitHub App manifest flow. - Add a filtering UI for when there are many entries visible. - Merge integration configuration into this page. Testing Done: - Ran unit tests. - Created some HostingServiceAccount entries for various services and validated the result.
    oquwuouprutzzynkvolvttxwqtxoworv
    Add the new "Connected Services" page.
    This adds the beginning of the new "Connected Service" page to the admin site, replacing the old "Hosting Service Accounts" list. This currently queries the hosting service accounts, groups them by service, and renders a list of entries which link to the model form. The rendering itself is designed to allow individual services to override the display to add additional functionality. Next steps include: - Make the "Connect a service" button do something. - Link through to repository management, including listing out repositories connected to each `HostingServiceAccount` and a link to create new repositories with the hosting service/account prepopulated. - Enhance GitHub to be able to use the GitHub App manifest flow. - Add a filtering UI for when there are many entries visible. - Merge integration configuration into this page. Testing Done: - Ran unit tests. - Created some HostingServiceAccount entries for various services and validated the result.
    oquwuouprutzzynkvolvttxwqtxoworv

    Checks run (2 succeeded)

    flake8 passed.
    JSHint passed.