Update the API token policy editor from $.modalBox to Ink.DialogView.

Review Request #14162 — Created Sept. 12, 2024 and updated

Information

Review Board
master

Reviewers

This change ports the API token policy editor pop-up from our old
modalBox function to the new DialogView.

  • Ran js-tests.
  • Verified that the functionality and appearance of the editor dialog worked as
    expected.
Summary ID
Update the API token policy editor from $.modalBox to Ink.DialogView.
This change ports the API token policy editor pop-up from our old `modalBox` function to the new `DialogView`. Testing Done: - Ran js-tests. - Verified that the functionality and appearance of the editor dialog worked as expected.
942b462c41ffa2f8a2cc3d7b2439c486556ccd0c
Description From Last Updated

Thoughts on using this format instead? super.initialize(_.defaults(options, { size: DialogSize.LARGE, })); I feel like I've seen us pass parent options …

maubinmaubin
maubin
  1. 
      
  2. Show all issues

    Thoughts on using this format instead?

    super.initialize(_.defaults(options, {
        size: DialogSize.LARGE,
    }));
    

    I feel like I've seen us pass parent options like that elsewhere in the codebase.

  3. 
      
david
Review request changed
Commits:
Summary ID
Update the API token policy editor from $.modalBox to Ink.DialogView.
This change ports the API token policy editor pop-up from our old `modalBox` function to the new `DialogView`. Testing Done: - Ran js-tests. - Verified that the functionality and appearance of the editor dialog worked as expected.
5cf92490785a31da4b6c6763246ad42540cedceb
Update the API token policy editor from $.modalBox to Ink.DialogView.
This change ports the API token policy editor pop-up from our old `modalBox` function to the new `DialogView`. Testing Done: - Ran js-tests. - Verified that the functionality and appearance of the editor dialog worked as expected.
942b462c41ffa2f8a2cc3d7b2439c486556ccd0c

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
maubin
  1. Ship It!
  2.