Changing the look of file attachment thumbnail
Review Request #6119 — Created July 19, 2014 and discarded
With the new "Update" button to upload the fresh revision of the file, there are too many elements in the top row, which hides the name of the file. We can hide those actions behind the dropdown button.
There is an ongoing discussion of whether the top right corner should be rounded or straight. Right now it's straight per Davids suggestion, but I keep keep liking the all-rounded option. Both have small drawbacks: * With all rounded this might not really seem like a dropdown. * With top right straight it's not symmetrical.
See screenshots to make your opinion.This is just one field in the CSS though, which can be changed at any time.
This review is aimed for project branch right now.
Works now - tested all buttons, ensured UI doesn't have side effects like https://www.youtube.com/watch?v=eTG3CNWS5OU&feature=youtu.be
Description | From | Last Updated |
---|---|---|
Is there a reason why this menu uses different borders than the review request actions drop-down? |
david |
- Groups:
- Testing Done:
-
~ Doesn't work - backbone view code relies on having thos buttons as its direct children, I'm not sure what the best solutions is yet (to be discussed).
~ Works now - tested all buttons, ensured UI doesn't have side effects like https://www.youtube.com/watch?v=eTG3CNWS5OU&feature=youtu.be
- Diff:
-
Revision 2 (+49 -5)
- Removed Files:
- Added Files:
-
Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/css/reviews.less reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/reviewRequestEditorView.js Tool: Pyflakes Ignored Files: reviewboard/static/rb/css/reviews.less reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/reviewRequestEditorView.js
-
Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/css/reviews.less reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/reviewRequestEditorView.js Tool: Pyflakes Ignored Files: reviewboard/static/rb/css/reviews.less reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/reviewRequestEditorView.js
- Change Summary:
-
Updated descriptions
- Summary:
-
[WIP] Changing the look of file attachment thumbnailChanging the look of file attachment thumbnail
- Description:
-
With the new "Update" button to upload the fresh revision of the file, there are too many elements in the top row, which hides the name of the file. We can hide those actions behind the dropdown button.
+ + There is an ongoing discussion of whether the top right corner should be rounded or straight. Right now it's straight per Davids suggestion, but I keep keep liking the all-rounded option. Both have small drawbacks:
+ * With all rounded this might not really seem like a dropdown. + * With top right straight it's not symmetrical. + See screenshots to make your opinion. + + This is just one field in the CSS though, which can be changed at any time.
+ + This review is aimed for project branch right now.
- Change Summary:
-
Updated dependencies
- Depends On:
- Change Summary:
-
Pulled new code, minor change to start using has_usable_review_ui versus string comparison.
-
Tool: Pyflakes Ignored Files: reviewboard/static/rb/css/pages/reviews.less reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/reviewRequestEditorView.js Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/css/pages/reviews.less reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/reviewRequestEditorView.js