Port ReviewablePage and ReviewablePageView to spina.
Review Request #12938 — Created April 5, 2023 and submitted
This change ports the reviewable page model and view to spina. These
files have been moved into thereviewssubdirectory to correspond to
the bundle they're a part of.
- Ran js-tests.
- Verified that reviewable pages still functioned correctly.
| Summary | ID |
|---|---|
| 7d0530599bcea3248af0b99b7b42320b3c5badb2 |
| Description | From | Last Updated |
|---|---|---|
|
This needs a type. |
|
|
|
Missing docs for options. Or should we just take ...args[]? |
|
|
|
These are missing docs. |
|
|
|
Missing docs. |
|
|
|
Missing docs. |
|
|
|
This can be return super.remove(); |
|
|
|
This can be: const name = info.user.fullname || info.user.username; _`Review request #${reviewRequest.id}, by ${name}` It'll automatically turn it into an … |
|
- Change Summary:
-
- Parameterize
ReviewablePageViewso subclasses can change the type of the model and options. - Use absolute imports for tests files so they correctly pull in from the other bundles.
- Parameterize
- Commits:
-
Summary ID 2d2ea7d28538acafdacc9308b0c242423d486893 f033f36814f01af5a986866c2aaca12afb8f6790 - Diff:
-
Revision 2 (+694 -418)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID f033f36814f01af5a986866c2aaca12afb8f6790 7d0530599bcea3248af0b99b7b42320b3c5badb2 - Diff:
-
Revision 3 (+738 -426)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.