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

Non-square custom emoji image is cropped on upload #24065

Closed
i-ky opened this issue Jan 13, 2023 · 11 comments
Closed

Non-square custom emoji image is cropped on upload #24065

i-ky opened this issue Jan 13, 2023 · 11 comments
Labels
area: emoji Emoji in markup, emoji reactions, emoji picker, etc. UX UX improvements to an existing workflow.

Comments

@i-ky
Copy link

i-ky commented Jan 13, 2023

I saw this issue being discussed in #6023 and I don't agree that "current solution is great". For slightly-off-square images there is little difference between cropping and resizing, but for way-off-square images cropping may make them unrecognizable.

For background. I manage Zulip organization for a local community of OpenStreetMap users (chat, archive) and we wanted to upload road sign images as custom emojis (discussed around here). Unfortunately, Zulip's decision to crop images makes non-square signs difficult to recognize and sometimes even indistinguishable from each other, e.g. and look identically after upload:
image

@i-ky
Copy link
Author

i-ky commented Jan 18, 2023

@zulipbot add "area: emoji" "help wanted" "UX"

@zulipbot zulipbot added area: emoji Emoji in markup, emoji reactions, emoji picker, etc. help wanted UX UX improvements to an existing workflow. labels Jan 18, 2023
@zulipbot
Copy link
Member

Hello @zulip/server-emoji members, this issue was labeled with the "area: emoji" label, so you may want to check it out!

@Rish-it
Copy link
Collaborator

Rish-it commented Jan 18, 2023

I can try to tackle this issue out @i-ky

@Ankitsharma991
Copy link
Collaborator

@zulipbot claim

@varun-s22
Copy link
Collaborator

@zulipbot claim

@zulipbot
Copy link
Member

Welcome to Zulip, @varun-s22! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip!

Here's some tips to get you off to a good start:

As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site.

See you on the other side (that is, the pull request side)!

@Rish-it
Copy link
Collaborator

Rish-it commented Jan 23, 2023

@zulipbot claim

@zulipbot
Copy link
Member

@Rish-it This issue cannot be claimed, as someone else is already working on it. Please see our contributor guide for advice on finding an issue to work on. Thanks!

@alya alya removed the help wanted label Jan 24, 2023
@alya
Copy link
Contributor

alya commented Jan 24, 2023

@i-ky Thanks for the report!

I think we should discuss the solution in the #design stream in the Zulip development community; while it's clear what's desired in your use case, it's possible there are situations where the current approach works better.

In general, please let maintainers add the "help wanted" label, unless explicitly noted otherwise in prior discussion. We generally want to have some discussion before folks start working on an issue.

@i-ky
Copy link
Author

i-ky commented Jan 24, 2023

I think we should discuss the solution in the #design stream in the Zulip development community; while it's clear what's desired in your use case, it's possible there are situations where the current approach works better.

Sure, let's discuss. All interested, please join the topic.

In general, please let maintainers add the "help wanted" label, unless explicitly noted otherwise in prior discussion. We generally want to have some discussion before folks start working on an issue.

Sorry about that. I wasn't sure I was doing the right thing, but zulipbot didn't prevent me from doing it, so I'll blame the machine.

@alya
Copy link
Contributor

alya commented Feb 8, 2023

Closing in favor of #24324, which describes a more general solution.

@alya alya closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: emoji Emoji in markup, emoji reactions, emoji picker, etc. UX UX improvements to an existing workflow.
Projects
None yet
Development

No branches or pull requests

6 participants