• 
      

    Frontend changes for new `publish_and_archive` profile setting.

    Review Request #14053 — Created July 24, 2024 and updated — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    When publishing reviews, we have an option for archiving the review request
    after the review gets published.

    These changes are part of a new profile setting which will allow user to have
    their review requests automatically archived instead of having to click the
    “… and archive the review request” button every time.

    This means created a new class to standardize the different implementations
    of the publish button and connecting it to backend changes to access the
    publish_and_archive user setting.

    New Jasmine tests were added to test publishButtonView functionality, checkboxes, and click actions.
    Whole reviewboard test suite was run successfully.
    Manually testing demonstrated that the changes looked and worked as intended.

    Commits

    Files