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 2 (Latest)

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.
65dd33ca309bb545121bdb593c6a87dbb58fa3c7 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...