Add a comment-type categorization extension.
Review Request #7444 — Created June 22, 2015 and submitted
This new extension allows people to configure a set of available "types" for
comments, and either allow or require users to set the type of each comment.
Once set, the comment type is visible next to each comment in the review, and
can be retrieved via theextra_data
field in the API.
- Added, removed, and edited comment types in the extension's configuration
interface. Verified that the list was always saved correctly. - Tested that the configured types showed up properly in the comment dialog and
review dialog. Checked that when 'require ...' was unchecked there was an
empty option listed first, and that the visibility flag was handled
correctly. - Tested opening the comment dialog and review dialog for existing comments
that didn't have a type set, and that there was an empty option preselected. - Tested saving the type from the comment dialog and review dialog. Checked
that it was always persisted correctly. Tested that the initial selection was
correct when opening comments with a saved type. - Tested the display of the type in the reviews page.
Description | From | Last Updated |
---|---|---|
Alphabetize. |
brennie |
- Commit:
-
3ff10c2f7a13c560f2919c494cf13af54047556ed578e57e955637b7588d521b055502e11e4473ec
- Diff:
-
Revision 2 (+584)
-
Tool: Pyflakes Processed Files: rbcommenttype/rbcommenttype/forms.py rbcommenttype/rbcommenttype/admin_urls.py rbcommenttype/setup.py rbcommenttype/rbcommenttype/extension.py Ignored Files: rbcommenttype/rbcommenttype/templates/rbcommenttype-types.html rbcommenttype/rbcommenttype/static/js/configure.js rbcommenttype/rbcommenttype/static/css/configure.less rbcommenttype/rbcommenttype/__init__.py rbcommenttype/rbcommenttype/static/js/commentType.js Tool: PEP8 Style Checker Processed Files: rbcommenttype/rbcommenttype/forms.py rbcommenttype/rbcommenttype/admin_urls.py rbcommenttype/setup.py rbcommenttype/rbcommenttype/extension.py Ignored Files: rbcommenttype/rbcommenttype/templates/rbcommenttype-types.html rbcommenttype/rbcommenttype/static/js/configure.js rbcommenttype/rbcommenttype/static/css/configure.less rbcommenttype/rbcommenttype/__init__.py rbcommenttype/rbcommenttype/static/js/commentType.js