Ability to update attachments
Review Request #5824 — Created May 24, 2014 and discarded — Latest diff uploaded
This review allows users to update attachments with new version. See https://reviewboard.hackpad.com/Reviewing-attachments-tbfh4oiwTHB for description or https://www.youtube.com/watch?v=anX_rQKWSp0 for a quick demo.
Review includes: * Change to a schema to track sequences of file attachments * Modified attachment creation code to correctly assign the new parameters * Modified display logic to only show the latest element of each attachment sequence * Modified attachment review pages to include the slider
This review is aimed at project branch (see testing section for the problems description)
Performed various scenarios of adding/updating/reviewing attachments.
Current problems: * There is no beautiful UI * We are reloading the page each time slider is changed - API should be extended to load the necessary data dynamically.
Diff Revision 11
This is not the most recent revision of the diff. The latest diff is revision 14. See what's changed.
reviewboard/staticbundles.py |
---|
reviewboard/attachments/forms.py |
---|
reviewboard/attachments/models.py |
---|
reviewboard/reviews/views.py |
---|
reviewboard/reviews/models/base_review_request_details.py |
---|
reviewboard/reviews/ui/__init__.py |
---|
reviewboard/reviews/ui/base.py |
---|
reviewboard/reviews/ui/generic.py |
---|
reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js |
---|
reviewboard/static/rb/js/pages/views/reviewablePageView.js |
---|
reviewboard/static/rb/js/views/fileAttachmentReviewableView.js |
---|
reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js |
---|
reviewboard/static/rb/js/views/genericReviewableView.js |
---|
reviewboard/static/rb/js/views/imageReviewableView.js |
---|
reviewboard/static/rb/js/views/reviewRequestEditorView.js |
---|
reviewboard/static/rb/js/views/textBasedReviewableView.js |
---|
reviewboard/templates/reviews/review_request_box.html |
---|
reviewboard/templates/reviews/parts/file_attachment_thumbnail.html |
---|
reviewboard/templates/reviews/ui/text.html |
---|
reviewboard/webapi/resources/base_file_attachment.py |
---|