Port the ReviewDialogView to TypeScript/spina.

Review Request #13157 — Created July 21, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

This change ports the ReviewDialogView over to TypeScript. This is
pretty mechanical throughout. The only wart that this uncovered is that
the ResourceCollectionOptions needed to mark the fields as optional.

  • Ran js-tests.
  • Used the review dialog with different comment types.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Port the ReviewDialogView to TypeScript/spina.
This change ports the ReviewDialogView over to TypeScript. This is pretty mechanical throughout. The only wart that this uncovered is that the `ResourceCollectionOptions` needed to mark the fields as optional. Testing Done: - Ran js-tests. - Used the review dialog with different comment types.
d58b4d8bbe1835f6117a63f124b15943b4762a67 David Trowbridge
reviewboard/staticbundles.py
reviewboard/static/rb/js/common/resources/collections/resourceCollection.ts
reviewboard/static/rb/js/reviews/index.ts
reviewboard/static/rb/js/views/reviewDialogView.es6.js
reviewboard/static/rb/js/reviews/views/reviewRequestActions.ts
reviewboard/static/rb/js/reviews/views/reviewablePageView.ts
reviewboard/static/rb/js/reviews/views/tests/index.ts
reviewboard/static/rb/js/views/tests/reviewDialogViewTests.es6.js
reviewboard/static/rb/js/reviews/views/tests/reviewablePageViewTests.ts
Loading...