-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Allow custom cropping of profile pictures, organization logos, custom emoji at upload time #24324
Comments
Hello @zulip/server-emoji, @zulip/server-settings members, this issue was labeled with the "area: emoji", "area: settings (user)", "area: settings (admin/org)" labels, so you may want to check it out! |
@zulipbot claim |
Welcome to Zulip, @akshatakulkarni25! 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)! |
@zulipbot claim |
Hello @akshatakulkarni25, it looks like we've already sent you a collaboration invite at https://github.com/zulip/zulip/invitations, but you haven't accepted it yet! Please accept the invite and try to claim this issue again afterwards. We look forward to your contributions! |
@alya can i work on this issue |
@zulipbot claim |
Hello @aman-gupta-03, it looks like you've currently claimed 1 issue in this repository. We encourage new contributors to focus their efforts on at most 1 issue at a time, so please complete your work on your other claimed issues before trying to claim this issue again. We look forward to your valuable contributions! |
@zulipbot claim |
Welcome to Zulip, @sarveshwar08! 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)! |
@zulipbot claim |
Hello @sarveshwar08, it looks like we've already sent you a collaboration invite at https://github.com/zulip/zulip/invitations, but you haven't accepted it yet! Please accept the invite and try to claim this issue again afterwards. We look forward to your contributions! |
@zulipbot claim |
@akarsh-jain-790 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! |
Since we’re already using Uppy, I note that Uppy has a plugin for this: https://uppy.io/docs/image-editor/ |
added image editor from uppy for this feature this will allow users to custom crop their images at upload Fixes zulip#24324
added image editor from uppy for this feature this will allow users to custom crop their images at upload Fixes zulip#24324
added image editor from uppy for this feature this will allow users to custom crop their images at upload Fixes zulip#24324
added image editor from uppy for this feature this will allow users to custom crop their images at upload Fixes zulip#24324
added image editor from uppy for this feature this will allow users to custom crop their images at upload Fixes zulip#24324
added image editor from uppy for this feature this will allow users to custom crop their images at upload updated a puppeteer test admin.ts Fixes zulip#24324
added image editor from uppy for this feature this will allow users to custom crop their images at upload updated a puppeteer test admin.ts Fixes zulip#24324
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Afonso Azaruja <afonso.azaruja@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Afonso Azaruja <afonso.azaruja@tecnico.ulisboa.pt> Fixes zulip#24324.
whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Fixes zulip#24324 Co-authored-by: Pedro Almeida <pedrorebeloalmeida@tecnico.ulisboa.pt>
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Pedro Almeida <pedrorebeloalmeida@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Pedro Almeida <pedrorebeloalmeida@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Pedro Almeida <pedrorebeloalmeida@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Pedro Almeida <pedrorebeloalmeida@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Pedro Almeida <pedrorebeloalmeida@tecnico.ulisboa.pt> Co-authored-by: Pedro Alemida <160421883+pedroiralmeida@users.noreply.github.com> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modificates existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Afonso Azaruja <afonso.azaruja@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modifies existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Afonso Azaruja <afonso.azaruja@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modifies existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Afonso Azaruja <afonso.azaruja@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit seeks to refactor some changes, such as unnecessary code movements, accidental comment deletions and change camel case to snake case. Fixes: zulip#24324.
This commit seeks to refactor some previous changes such as, unnecessary code movements, accidental comment deletions and change camel case to snake case. Fixes: zulip#24324.
Refactor the `other_elements_to_hide` constant for bot forms to use the .hideable class. This change replaces fragile lists of specific elements with a more maintainable and readable approach. Fixes part of zulip#24324.
Refactor the `other_elements_to_hide` constant for bot forms to use the .hideable class. This change replaces fragile lists of specific elements with a more maintainable and readable approach. Fixes part of zulip#24324.
This commit aims to simplify settings.css by using existing classes and implementing divs to separate buttons and make alignments easier. Fixes part of zulip#24324.
This commit adds translations for the following strings across all supported languages: - "New organization icon" - "New organization logo" - "New profile picture" Fixes part of zulip#24324.
This commit makes it so the caller of both `build_widget` functions passes the cropper options directly, using an exported type. Fixes part of zulip#24324.
Rename clear button on edit_bot_form to something more relevant. Fixes part of zulip#24324.
This commit undos a validation that was being made to bypass a warning in the console. This is now removable because the warning does not appear anymore regardless of the validation. Fixes part of zulip#24324.
This commit implements a feature to allow the user to crop an image whenever he uploads a new image in Zulip using the uppy library. This feature also implements an option to allow the user to scale the image to fit when necessary. For example, if the user tries to upload a rectangle shaped image as his profile picture, this image will be adjusted to completely fit the squared shape form of a profile picture. This feature is implemented for: adding a new profile picture, adding a new organization logo and icon, creating a custom emoji, creating a new bot, editing an existing bot. This feature also creates and modifies existing end-to-end tests that reproduce behaviour associated with the feature. Co-authored-by: Afonso Azaruja <afonso.azaruja@tecnico.ulisboa.pt> Fixes zulip#24324.
This commit seeks to refactor some previous changes such as, unnecessary code movements, accidental comment deletions and change camel case to snake case. Fixes: zulip#24324.
Refactor the `other_elements_to_hide` constant for bot forms to use the .hideable class. This change replaces fragile lists of specific elements with a more maintainable and readable approach. Fixes part of zulip#24324.
This commit aims to simplify settings.css by using existing classes and implementing divs to separate buttons and make alignments easier. Fixes part of zulip#24324.
This commit adds translations for the following strings across all supported languages: - "New organization icon" - "New organization logo" - "New profile picture" Fixes part of zulip#24324.
This commit makes it so the caller of both `build_widget` functions passes the cropper options directly, using an exported type. Fixes part of zulip#24324.
Rename clear button on edit_bot_form to something more relevant. Fixes part of zulip#24324.
This commit undos a validation that was being made to bypass a warning in the console. This is now removable because the warning does not appear anymore regardless of the validation. Fixes part of zulip#24324.
This commit addresses problems in several translation files that were overlooked during conflict resolution in the rebase process. Ensures all translation files are correctly merged and functional. Fixes part of zulip#24324.
There are a few places in the settings where users can upload images, with specific requirements on the dimensions of the uploaded image (e.g., square) imposed by the Zulip app. To make this pleasant to manage, we should allow the user to select the desired image area to be used at upload time, using a draggable box with the correct dimensions to make the selection.
Notes:
Possible extensions:
CZO discussion
The text was updated successfully, but these errors were encountered: