Move the "You have comments in other revisions" blob into javascript.
Review Request #4626 — Created Sept. 21, 2013 and submitted
Move the "You have comments in other revisions" blob into javascript.
This change drives the rendering of the info box for comments in other revisions
from javascript instead of HTML. This is the last piece of the diffviewer
needed before I can do dynamic updates.
- Created draft comments on several diff and interdiff revisions and verified
that it appeared correctly. - Tested in conjunction with my change for dynamic updates.
- Ran unit tests.
Description | From | Last Updated |
---|---|---|
'DiffSet' imported but unused |
reviewbot | |
'from settings_local import *' used; unable to detect undefined names |
reviewbot | |
Since this code is being reintroduced in a new place, can you fix up the docstring for the proper format? |
chipx86 | |
Here too. |
chipx86 | |
Here too. |
chipx86 | |
'from settings_local import *' used; unable to detect undefined names |
reviewbot | |
Should go above initialize. |
chipx86 | |
Can you use a template for this? |
chipx86 | |
We can speed this function up by calling gettext(...) before the loop. |
chipx86 | |
Same here. |
chipx86 | |
Blank line after vars. |
chipx86 | |
Here too. |
chipx86 | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
'from settings_local import *' used; unable to detect undefined names |
reviewbot |
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/reviews/views.py
reviewboard/settings.py
reviewboard/reviews/templatetags/reviewtags.py
reviewboard/reviews/context.py
Ignored Files:
reviewboard/static/rb/js/diffviewer/models/diffCommentsHintModel.js
reviewboard/static/rb/css/diffviewer.less
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/pages/models/diffViewerPageModel.js
reviewboard/static/rb/js/diffviewer/views/diffCommentsHintView.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js -
-
- Diff:
-
Revision 2 (+283 -107)
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/reviews/views.py
reviewboard/settings.py
reviewboard/reviews/templatetags/reviewtags.py
reviewboard/reviews/context.py
Ignored Files:
reviewboard/static/rb/js/diffviewer/models/diffCommentsHintModel.js
reviewboard/static/rb/css/diffviewer.less
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/pages/models/diffViewerPageModel.js
reviewboard/static/rb/js/diffviewer/views/diffCommentsHintView.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/reviews/views.py
reviewboard/settings.py
reviewboard/reviews/templatetags/reviewtags.py
reviewboard/reviews/context.py
Ignored Files:
reviewboard/static/rb/js/diffviewer/models/diffCommentsHintModel.js
reviewboard/static/rb/css/diffviewer.less
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/pages/models/diffViewerPageModel.js
reviewboard/static/rb/js/diffviewer/views/diffCommentsHintView.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js -
- Diff:
-
Revision 3 (+280 -107)
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/reviews/views.py
reviewboard/settings.py
reviewboard/reviews/templatetags/reviewtags.py
reviewboard/reviews/context.py
Ignored Files:
reviewboard/static/rb/js/diffviewer/models/diffCommentsHintModel.js
reviewboard/static/rb/css/diffviewer.less
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/pages/models/diffViewerPageModel.js
reviewboard/static/rb/js/diffviewer/views/diffCommentsHintView.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js -
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/reviews/views.py
reviewboard/settings.py
reviewboard/reviews/templatetags/reviewtags.py
reviewboard/reviews/context.py
Ignored Files:
reviewboard/static/rb/js/diffviewer/models/diffCommentsHintModel.js
reviewboard/static/rb/css/diffviewer.less
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/pages/models/diffViewerPageModel.js
reviewboard/static/rb/js/diffviewer/views/diffCommentsHintView.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js -