Convert some review request dialogs to Ink.

Review Request #14691 — Created Nov. 14, 2025 and updated

Information

Review Board
release-7.1.x

Reviewers

This updates the following dialogs to use the new Ink dialog
capabilities:

  • Publish error alerts
  • Ship It confirmation dialog
  • Prompt for loading a draft
  • Legacy closed Banner view's error handler.

Where appropriate, some of the containing functions have been made
async. This will be used along with upcoming changes for async actions.

Unit tests pass.

Tested each of these actions, verifying the dialogs worked as
expected and that Do Not Ask Again was respected.

Summary ID
Convert some review request dialogs to Ink.
This updates the following dialogs to use the new Ink dialog capabilities: * Publish error alerts * Ship It confirmation dialog * Prompt for loading a draft * Legacy closed Banner view's error handler. Where appropriate, some of the containing functions have been made async. This will be used along with upcoming changes for async actions.
f854f317a42af004a677733fc9968f6a237962e4
Description From Last Updated

I like the description you used in the Ship it click handler, we should use it here: "This function is …

maubinmaubin

It looks like we're only using cid once now. Can we just use this.cid inline?

daviddavid
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. 
      
  2. Show all issues

    It looks like we're only using cid once now. Can we just use this.cid inline?

  3. 
      
maubin
  1. 
      
  2. Show all issues

    I like the description you used in the Ship it click handler, we should use it here: "This function is now asynchronous, returning a Promise."

    Also we should add a returns section to the docs.

  3.