Adding my reviews section to the dashboard's sidebar.
Review Request #9246 — Created Oct. 9, 2017 and discarded
When user login to Review Board dashboard, they would like
to see all their open requests from incoming and outgoing.
Therefore, adding a new section that is called 'My Reviews'
will allow users to see all their open requests.
Added a unit test, which passes (along with all other tests).
- Created test review requests that will be open under incoming and
outgoing sections. - Ran it using this command ./tests/runtests.py
reviewboard.reviews.tests.test_review_request_manager - The test calls the query that merge the requests.
- It will check if the requests are merged successfully than it passes
the test.
Description | From | Last Updated |
---|---|---|
E501 line too long (118 > 79 characters) |
reviewbot | |
E302 expected 2 blank lines, found 0 |
reviewbot | |
E501 line too long (118 > 79 characters) |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
It looks like your project code and your bug fix code got combined together. This shouldn't be part of this … |
david | |
E124 closing bracket does not match visual indentation |
reviewbot | |
E501 line too long (118 > 79 characters) |
reviewbot | |
E302 expected 2 blank lines, found 0 |
reviewbot | |
E501 line too long (118 > 79 characters) |
reviewbot | |
E501 line too long (122 > 79 characters) |
reviewbot | |
E501 line too long (118 > 79 characters) |
reviewbot | |
E302 expected 2 blank lines, found 0 |
reviewbot | |
E501 line too long (118 > 79 characters) |
reviewbot | |
E501 line too long (122 > 79 characters) |
reviewbot | |
E501 line too long (125 > 79 characters) |
reviewbot | |
E999 IndentationError: unindent does not match any outer indentation level |
reviewbot | |
This isn't correct (copy/paste-o?) |
david | |
This should have a "Yields:" section. See https://www.notion.so/reviewboard/Writing-Codebase-Documentation-e16312b5f061437cb73cbfa369ac3cb5 |
david | |
The view ID should use a hyphen rather than an underscore. |
david | |
I suspect we want this to be the first item in the sidebar. |
david | |
This should probably be changed to "My open outgoing review requests" |
david | |
This should probably be changed to "All my open outgoing review requests" |
david | |
We should change this to use sentence casing rather than title casing. |
david | |
Can we put this as the first thing checked? The view string should also have a hyphen instead of an … |
david | |
This should probably be "My open incoming and outgoin review requests" |
david | |
Should change this to be sentence casing. |
david | |
Should change this to be sentence casing. |
david | |
Should change this to be sentence casing. |
david | |
Should change this to be sentence casing. |
david | |
This should probably be named get_my_reviews_query to match other, similar method names. |
david | |
The docstring here needs "Args:" and "Returns:" sections. See https://www.notion.so/reviewboard/Writing-Codebase-Documentation-e16312b5f061437cb73cbfa369ac3cb5 for some info on these. |
david | |
E128 continuation line under-indented for visual indent |
reviewbot | |
W503 line break before binary operator |
reviewbot | |
E128 continuation line under-indented for visual indent |
reviewbot | |
W503 line break before binary operator |
reviewbot | |
This needs a docstring (I know others don't have them but they're old code). |
david | |
Can we call the column "my_reviews_count" to match the name used elsewhere? "my review request count" sounds almost like it's … |
david | |
W292 no newline at end of file |
reviewbot | |
This needs a "Yields" section. |
david | |
typo: outgoin |
david | |
This shouldn't include the word "open", since it's all including both open and closed. |
david | |
This should be in the imperative mood ("Return" instead of "Returns"). This docstring also needs Args/Returns sections. |
david | |
This needs a docstring. |
david | |
New file should include module docstring. |
giuliacm | |
Maybe add a description of what get_my_reviews_query does, and add as an additional note that it's meant to be passed … |
giuliacm |
- Description:
-
~ [Will fix it later] Adding my reviews section to the dashboard sidebar.
~ [Will fix it later] Adding my reviews section to the dashboard sidebar.
- Decided to ignore this one and moved to the new Review Request #9294 - Branch:
-
release-3.0.xmaster
- Commit:
-
8da72b57962cead36de11eac414c1b7a4d4d02594ac8ceb5715426c36421c76698337c5ff54e7d88
- Commit:
-
4ac8ceb5715426c36421c76698337c5ff54e7d886418c8a0cbee8db932ef79b7c79734e0c184621f
Checks run (1 failed, 1 succeeded)
flake8
-
-
-
This should have a "Yields:" section. See https://www.notion.so/reviewboard/Writing-Codebase-Documentation-e16312b5f061437cb73cbfa369ac3cb5
-
-
-
-
-
-
Can we put this as the first thing checked? The view string should also have a hyphen instead of an underscore.
-
-
-
-
-
-
-
The docstring here needs "Args:" and "Returns:" sections. See https://www.notion.so/reviewboard/Writing-Codebase-Documentation-e16312b5f061437cb73cbfa369ac3cb5 for some info on these.
-
- Commit:
-
a25c02bbb2ba1906cee78173ca9be03ee8e2a27af7fdbd0b40a71f767de6ac76fd65d23c3bf55fc9
Checks run (2 succeeded)
- Commit:
-
f7fdbd0b40a71f767de6ac76fd65d23c3bf55fc9b036a3f48566bd37f74f2f88e4a7378f0cfaed2c
- Diff:
-
Revision 6 (+86 -9)
- Summary:
-
[WIP] Adding my reviews section to my dashboard sidebar.Adding my reviews section to my dashboard sidebar.
- Description:
-
~ [Will fix it later] Adding my reviews section to the dashboard sidebar.
~ When user login to Review Board dashboard, they would like
+ to see all their open requests from incoming and outgoing. + Therefore, adding a new section that is called 'My Reviews' + will allow users to see all their open requests. - Testing Done:
-
+ Added a unit test, which passes (along with all other tests).
+ + - Created test review requests that will be open under incoming and
outgoing sections.
+ - Ran it using this command ./tests/runtests.py
reviewboard.reviews.tests.test_review_request_manager
+ - The test calls the query that merge the requests.
+ - It will check if the requests are merged successfully than it passes
the test.
- Created test review requests that will be open under incoming and
- Commit:
-
b036a3f48566bd37f74f2f88e4a7378f0cfaed2c18417949472713829dd083f3a3a09c1d7c5a70c1
- Diff:
-
Revision 7 (+129 -10)
Checks run (2 succeeded)
- Summary:
-
Adding my reviews section to my dashboard sidebar.Adding my reviews section to the dashboard's sidebar.
- Commit:
-
18417949472713829dd083f3a3a09c1d7c5a70c1e4408708271a06f57b6d077b6465bf5eacb2d637
- Diff:
-
Revision 8 (+149 -10)
Checks run (2 succeeded)
- Commit:
-
e4408708271a06f57b6d077b6465bf5eacb2d637cfa9c180208fc4bead2e3ba9984cf4dcdb84c439
- Diff:
-
Revision 9 (+150 -10)
Checks run (2 succeeded)
- Commit:
-
cfa9c180208fc4bead2e3ba9984cf4dcdb84c439ceed173e2f4e5cac58bc01789c91fbfdf720f5f9
- Diff:
-
Revision 10 (+152 -10)