Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Message Image Display within Homefeed #155

Closed
zavreb opened this issue Nov 10, 2016 · 17 comments
Closed

Adjust Message Image Display within Homefeed #155

zavreb opened this issue Nov 10, 2016 · 17 comments
Assignees
Labels

Comments

@zavreb
Copy link

zavreb commented Nov 10, 2016

Issue: Currently, images have no cap within the homefeed. These images clutter the homefeed and therefore we would like to adjust the size of them.

Acceptance Criteria:

1. Please adjust how ALL images sent from messages are rendered within the homefeed to match the screenshot below. Per server side limitations, we will only render one image within the homefeed (even if a user sends multiple images)

image

2. Please see Zeplin link for image dimensions

* Please ignore how the other +2 image renders

3. If user sends multiple images, please display the first/last image (whichever makes implementation easier)

@aksonov
Copy link
Contributor

aksonov commented Nov 15, 2016

@zavreb Could you say what is exactly wrong and should be fixed? It is difficult to find all differences from picture, some text representation would be very helpful.

My forecast:

  1. Remove white border width = 1 (mock contains zero, right?)
  2. Remove "username sent you a message"
  3. Add also text message together with picture - it could be a problem because now app sends picture alone, without comment. I believe separate ticket should be created for attaching messages to pictures and clarify flow. Probably we need to change attach function almost completely (with some kind of image preview before sending, etc.).

@zavreb
Copy link
Author

zavreb commented Nov 16, 2016

@aksonov

Does the zeplin link not help? It's noted on item #2. Important, this ticket specifies on implementing only the one image example (the lion) without the "Have you ever seen lions...".

Your forecast:

  1. Yes (please see zeplin link 1.0 #2)
  2. Where does it say to remove "username sent you a message"
  3. Good point, it is only the image that is to appear (if that were the last message a user sent within messages) <-- does this make sense?

@mstidham
Copy link

Looks great

@zavreb
Copy link
Author

zavreb commented Nov 17, 2016

Can't test bc of homestream issues. Awaiting a homestream fix from the BE (cc @benghippware) where homestream isn't providing the correct timestamps, there seem to be message displaying issues in the homestream.

cc: @thescurry

@mstidham
Copy link

mstidham commented Nov 18, 2016

Looks great on some images but not on others.
image

@aksonov
Copy link
Contributor

aksonov commented Nov 21, 2016

@mstidham What images don't look OK? I don't understand

@aksonov
Copy link
Contributor

aksonov commented Nov 21, 2016

Or do you meant missed notifications?

@mstidham
Copy link

I was thinking that the image on the right should be the size of the one on the left on HS.
image

@aksonov
Copy link
Contributor

aksonov commented Nov 21, 2016

Pictures have different orientation. Do you mean it should be cropped??

On 21 Nov 2016, at 15:10, mstidham notifications@github.com wrote:

I was thinking that the image on the right should be the size of the one on the left on HS.
https://cloud.githubusercontent.com/assets/20051373/20485534/9dbc6b86-afc1-11e6-8510-6dc9870d852f.png

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #155 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpcck9AYxgUTh59uSLrK1tcmsqGLANks5rAaZTgaJpZM4KuS5a.

@mstidham
Copy link

@aksonov I'm really not sure. @zavreb What are your thoughts?

@zavreb
Copy link
Author

zavreb commented Nov 22, 2016

@aksonov yes it should be centered and cropped for display in the homefeed. The image sizing is meant for both landscape and portrait images.

@benghippware
Copy link

My two bits:

The two images have different proportions (ie. landscape vs portrait).

If they should appear as exactly the same size in the home screen, the only way to achieve this is to crop them both to square proportions (ie. same height and width).

@zavreb
Copy link
Author

zavreb commented Nov 22, 2016

@benghippware what about keeping landscape images as is and portrait images to the square proportions of the landscape's width? 345 x 345 pt

@benghippware
Copy link

You'd get different heights (which is what's happening in Miranda's screenshot).

@benghippware
Copy link

It wouldn't be as dramatic a difference as if the portrait image wasn't cropped at all.

The portrait images (after cropping) would be slightly "taller" than the landscape images, but not as much. I guess this could be a compromise but I'll leave that up to you.

@zavreb
Copy link
Author

zavreb commented Nov 22, 2016

Pushing this to the next sprint, will discuss further w/design.

@zavreb
Copy link
Author

zavreb commented Nov 22, 2016

Closing this ticket. Keeping it as is. cc: @aksonov @thescurry @benghippware

@zavreb zavreb closed this as completed Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants