• 
      

    Add an improved string representation for IntegrationConfig.

    Review Request #11015 — Created May 7, 2020 and submitted

    Information

    Djblets
    release-2.0.x

    Reviewers

    The IntegrationConfig string representation wasn't very nice. It
    didn't list the configuration name, and it used the integration ID
    directly. Not exactly friendly.

    This improves it to return a string in the form of "Name (Integration)",
    which is a bit more useful and friendly all-around.

    Checked this in the admin UI in places where it showed up.

    Tested with configurations that mapped to an available integration
    and ones that mapped to an unavailable integration (making sure that the
    integration ID fallback worked).

    Unit tests pass.

    Summary ID
    Add an improved string representation for IntegrationConfig.
    The `IntegrationConfig` string representation wasn't very nice. It didn't list the configuration name, and it used the integration ID directly. Not exactly friendly. This improves it to return a string in the form of "Name (Integration)", which is a bit more useful and friendly all-around.
    631aaae39493a174cec5942d78d4f883e75fabce
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.0.x (1e167ab)