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

Make bot avatar upload work like other image uploads #29766

Open
3 tasks
alya opened this issue Apr 17, 2024 · 1 comment
Open
3 tasks

Make bot avatar upload work like other image uploads #29766

alya opened this issue Apr 17, 2024 · 1 comment
Labels
area: bots area: popovers Popovers, including general message actions. area: settings UI

Comments

@alya
Copy link
Contributor

alya commented Apr 17, 2024

Currently, the bot avatar management UI works differently from all other avatar/profile image upload UIs. For consistency of experience and ease of maintenance, we should make bot avatar management work like other profile image uploads, including:

  • The profile image preview acts as an upload button.
  • On-hover text explaining how to upload, and x to delete the image. If the avatar ends up being too small, we can show the upload info in a tooltip instead.
  • Changes are saved right away, without needing to click the "Save changes" button.

The avatar can be sized up and shown alongside the editable fields in the "Manage bot" modal. We should discuss and finalize the plan for any changes in the avatar placement before doing any work on this part of the issue. Note that we may redesign the "Profile" tab to have the avatar on the left.

Follow-ups

  • We'll probably want to add the same avatar display and management UI to the "Manage user" panel for non-bot users.

Related issues

Screenshots

CleanShot 2024-04-17 at 11 17 42

CleanShot 2024-04-17 at 11 25 25
CleanShot 2024-04-17 at 11 21 37

CZO thread

@alya alya added area: bots area: settings UI area: popovers Popovers, including general message actions. labels Apr 17, 2024
@zulipbot
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bots area: popovers Popovers, including general message actions. area: settings UI
Projects
None yet
Development

No branches or pull requests

2 participants