Ability to update attachments

Review Request #5824 — Created May 25, 2014 and discarded — Latest diff uploaded

Information

Review Board
800

Reviewers

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.

reviewboard/staticbundles.py
reviewboard/attachments/forms.py
reviewboard/attachments/models.py
reviewboard/attachments/evolutions/__init__.py
reviewboard/attachments/evolutions/file_attachment_revision.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/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/textBasedReviewableView.js
reviewboard/templates/reviews/review_request_box.html
reviewboard/templates/reviews/ui/text.html
reviewboard/webapi/resources/base_file_attachment.py
Loading...