Port BaseResource (and extra data helpers) to spina.

Review Request #13003 — Created May 3, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

This change ports the BaseResource class to spina and TypeScript. Along
with it comes the ExtraData model and ExtraDataMixin.

  • Ran js-tests.
  • Went through and tested various bits of functionality on the site.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Port BaseResource (and extra data helpers) to spina.
This change ports the `BaseResource` class to spina and TypeScript. Along with it comes the `ExtraData` model and `ExtraDataMixin`. Testing Done: - Ran js-tests. - Went through and tested various bits of functionality on the site.
f596bc50b057b5984481561766da38c686a7673b David Trowbridge
reviewboard/staticbundles.py
reviewboard/static/rb/js/common/index.ts
reviewboard/static/rb/js/models/extraDataModel.es6.js
reviewboard/static/rb/js/models/extraDataMixin.es6.js
reviewboard/static/rb/js/common/models/tests/extraDataTests.ts
reviewboard/static/rb/js/common/models/tests/index.ts
reviewboard/static/rb/js/common/resources/index.ts
reviewboard/static/rb/js/resources/models/baseResourceModel.es6.js
reviewboard/static/rb/js/resources/models/tests/baseResourceModelTests.es6.js
reviewboard/static/rb/js/common/resources/models/tests/index.ts
reviewboard/static/rb/js/models/tests/extraDataTests.es6.js
reviewboard/static/rb/js/reviews/models/commentEditorModel.ts
reviewboard/static/rb/js/reviews/models/tests/commentEditorModelTests.ts
reviewboard/static/rb/js/reviews/views/reviewRequestActions.ts
reviewboard/static/rb/js/tests/index.ts
Loading...