Closed
Bug 833497
Opened 13 years ago
Closed 13 years ago
Support attachments in the reviewer tools
Categories
(Marketplace Graveyard :: Reviewer Tools, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-03-14
People
(Reporter: clouserw, Assigned: chuck)
References
Details
(Whiteboard: u=rev p=3)
Attachments
(1 file)
|
141.47 KB,
image/png
|
Details |
This bug might need broken down further.
The reviewers have asked to be able to add attachments to new (note: not existing) comments.
These will probably be in a new directory on disk. Make sure to create it if it doesn't exist and add a permission check to the nagios page. On the front end, the attachments should be behind reviewer auth and not come off the CDN since they might be private.
Here are some mockups (prepare to roll your eyes at google's UX):
> Desktop Upload: https://docs.google.com/file/d/0B96RwPRmGwk7QmIya09IUTVvNVU/edit
> Mobile Upload: https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7Y3pJaG9XUnNDRHM/edit
> Desktop View: https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7akduT2RKeWNQWjA/edit
> Mobile View: https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7bUZQYUdvSWIxcWM/edit
I don't actually care too much about the desktop vs mobile view mockups - if it's a lot of work just use the mobile one for both. Icons can be generic, no need to do actual previews.
Figure out something reasonable for file sizes - 5mb?
| Reporter | ||
Updated•13 years ago
|
Whiteboard: u=rev p= → u=rev p=3
| Assignee | ||
Updated•13 years ago
|
Assignee: robhudson.mozbugs → charmston
Comment 2•13 years ago
|
||
It seems like the mockups were mislabeled, so here are the correct ones:
Displaying attachments, option 1:
https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7bUZQYUdvSWIxcWM/edit
Displaying attachments, option 2:
https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7akduT2RKeWNQWjA/edit
Uploading attachments, desktop:
https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7QmIya09IUTVvNVU/edit
Uploading attachments, mobile:
https://docs.google.com/a/mozilla.com/file/d/0B96RwPRmGwk7Y3pJaG9XUnNDRHM/edit
To make things as simple as possible to implement, I propose that we use option 1 when displaying attachments. That is, stack them all vertically, in small text.
| Assignee | ||
Comment 3•13 years ago
|
||
In-progress screenshot attached for reference.
Icons cribbed from random various places in zamboni that had kinda-relevant icons. Feel free to suggest alternatives.
Comment 4•13 years ago
|
||
(In reply to Chuck Harmston [:chuck] from comment #3)
> Icons cribbed from random various places in zamboni that had kinda-relevant
> icons. Feel free to suggest alternatives.
The only thing that would make this better is if there’s an icon that would indicate ‘a single page’ or ‘a single image’. Otherwise, all good. Thanks, Chuck!
| Assignee | ||
Comment 5•13 years ago
|
||
Do we want to allow an arbitrary number of attachments, or are we limiting it to 2? Screenshots indicate the latter, common sense the former.
Comment 6•13 years ago
|
||
(In reply to Chuck Harmston [:chuck] from comment #5)
> Do we want to allow an arbitrary number of attachments, or are we limiting
> it to 2? Screenshots indicate the latter, common sense the former.
Hi Chuck. The screenshot was intended to visualize how attachments are displayed in the comments, rather than the actual number of attachments that are capable of being uploaded. The number is totally up to us, and I think that we shouldn’t limit it to 2.
Comment 7•13 years ago
|
||
| Assignee | ||
Comment 8•13 years ago
|
||
This is ready for review:
https://github.com/chuckharmston/zamboni/compare/833497-reviewer_comment_attachment
@robhudson?
Flags: needinfo?
| Reporter | ||
Updated•13 years ago
|
Flags: needinfo?
| Reporter | ||
Updated•13 years ago
|
Target Milestone: 2013-01-31 → 2013-03-14
| Assignee | ||
Comment 9•13 years ago
|
||
This has been r+ed, but I'm holding back on merging until after the deploy tomorrow to make sure there's adequate time for testing a substantial patch.
| Assignee | ||
Comment 10•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•