Convert ready operations to promises.

Review Request #11842 — Created Oct. 4, 2021 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

This change updates the ready method to use promises and async/await
instead of callbacks. This flattens almost all of our remaining
asynchronous operations.

  • Ran js-tests.
  • Smoke tested various UI functionality.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Convert ready operations to promises.
This change updates the `ready` method to use promises and async/await instead of callbacks. This flattens almost all of our remaining asynchronous operations. Testing Done: - Ran js-tests. - Smoke tested various UI functionality.
cc05130a062500c31152c7eb5ef99746ba141023 David Trowbridge
This diff has been split across 2 pages: < 1 2
reviewboard/static/rb/js/resources/models/tests/reviewReplyModelTests.es6.js
reviewboard/static/rb/js/resources/models/tests/reviewRequestModelTests.es6.js
reviewboard/static/rb/js/reviewRequestPage/models/reviewReplyEditorModel.es6.js
reviewboard/static/rb/js/reviewRequestPage/models/tests/reviewReplyEditorModelTests.es6.js
reviewboard/static/rb/js/reviewRequestPage/views/reviewEntryView.es6.js
reviewboard/static/rb/js/reviewRequestPage/views/tests/reviewViewTests.es6.js
reviewboard/static/rb/js/views/commentIssueBarView.es6.js
reviewboard/static/rb/js/views/fileAttachmentThumbnailView.es6.js
reviewboard/static/rb/js/views/reviewDialogView.es6.js
reviewboard/static/rb/js/views/screenshotThumbnailView.es6.js
reviewboard/static/rb/js/views/tests/commentIssueBarViewTests.es6.js
reviewboard/static/rb/js/views/tests/fileAttachmentThumbnailViewTests.es6.js
reviewboard/static/rb/js/views/tests/reviewDialogViewTests.es6.js
reviewboard/static/rb/js/views/tests/reviewRequestEditorViewTests.es6.js
reviewboard/static/rb/js/views/tests/reviewRequestFieldViewsTests.es6.js
reviewboard/static/rb/js/views/tests/screenshotThumbnailViewTests.es6.js
This diff has been split across 2 pages: < 1 2
Loading...