Convert repository branch and commit models/collections to TypeScript/spina.

Review Request #14083 — Created Aug. 8, 2024 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

This change converts the RB.RepositoryBranch and RB.RepositoryCommit
resource models to TypeScript, along with the RB.RepositoryBranches and
RB.RepositoryCommits collections.

  • Ran js-tests.
  • Ran setup.py build_media.

Diff Revision 2

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

orig
1
2
3
4

Commits

First Last Summary ID Author
Convert repository branch and commit models/collections to TypeScript/spina.
This change converts the RB.RepositoryBranch and RB.RepositoryCommit resource models to TypeScript, along with the RB.RepositoryBranches and RB.RepositoryCommits collections. Testing Done: - Ran js-tests. - Ran setup.py build_media.
8b4faf10ee1aecc42c470b2ced542176902cfb0e David Trowbridge

Files

reviewboard/staticbundles.py
reviewboard/static/rb/js/common/resources/index.ts
reviewboard/static/rb/js/common/resources/collections/repositoryBranchesCollection.ts
reviewboard/static/rb/js/common/resources/collections/repositoryCommitsCollection.ts Was reviewboard/static/rb/js/resources/collections/repositoryCommitsCollection.es6.js
reviewboard/static/rb/js/common/resources/collections/tests/index.ts
reviewboard/static/rb/js/common/resources/collections/tests/repositoryBranchesCollectionTests.ts Was reviewboard/static/rb/js/resources/collections/tests/repositoryBranchesCollectionTests.es6.js
reviewboard/static/rb/js/common/resources/collections/tests/repositoryCommitsCollectionTests.ts Was reviewboard/static/rb/js/resources/collections/tests/repositoryCommitsCollectionTests.es6.js
reviewboard/static/rb/js/common/resources/models/repositoryBranchModel.ts
reviewboard/static/rb/js/common/resources/models/repositoryCommitModel.ts
reviewboard/static/rb/js/common/resources/models/tests/index.ts
reviewboard/static/rb/js/common/resources/models/tests/repositoryBranchModelTests.ts Was reviewboard/static/rb/js/resources/models/tests/repositoryBranchModelTests.es6.js
reviewboard/static/rb/js/common/resources/models/tests/repositoryCommitModelTests.ts Was reviewboard/static/rb/js/resources/models/tests/repositoryCommitModelTests.es6.js
reviewboard/static/rb/js/resources/collections/repositoryBranchesCollection.es6.js Deleted
reviewboard/static/rb/js/resources/models/repositoryBranchModel.es6.js Deleted
reviewboard/static/rb/js/resources/models/repositoryCommitModel.es6.js Deleted
reviewboard/staticbundles.py
reviewboard/static/rb/js/common/resources/index.ts
reviewboard/static/rb/js/common/resources/collections/repositoryBranchesCollection.ts
reviewboard/static/rb/js/resources/collections/repositoryCommitsCollection.es6.js
reviewboard/static/rb/js/common/resources/collections/tests/index.ts
reviewboard/static/rb/js/resources/collections/tests/repositoryBranchesCollectionTests.es6.js
reviewboard/static/rb/js/resources/collections/tests/repositoryCommitsCollectionTests.es6.js
reviewboard/static/rb/js/common/resources/models/repositoryBranchModel.ts
reviewboard/static/rb/js/common/resources/models/repositoryCommitModel.ts
reviewboard/static/rb/js/common/resources/models/tests/index.ts
reviewboard/static/rb/js/resources/models/tests/repositoryBranchModelTests.es6.js
reviewboard/static/rb/js/resources/models/tests/repositoryCommitModelTests.es6.js
reviewboard/static/rb/js/resources/collections/repositoryBranchesCollection.es6.js
reviewboard/static/rb/js/resources/models/repositoryBranchModel.es6.js
reviewboard/static/rb/js/resources/models/repositoryCommitModel.es6.js
Loading...