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
Avatar tweaks for bots #26301
Avatar tweaks for bots #26301
Conversation
Hey, @osamudiamenojo! Great job on your first contribution! 🎉 We appreciate your effort and look forward to seeing more of your contributions. As a first step, I recommend taking a look at the failed CI builds and figuring out how to resolve them. This documentation can be helpful in this case. Also, keep in mind that you have a good friend who is always ready to assist you - Contributing to Zulip. |
Hello @zulip/server-bots members, this pull request was labeled with the "area: bots" label, so you may want to check it out! |
Ready for Review @shameondev |
@zulipbot Ready for review |
Thanks for the update. You need to "Squash" all your commits and write a proper commit message as written in https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html#commit-summary-part-2. |
web/templates/user_profile_modal.hbs
Outdated
style="background-image: url('{{user_avatar}}');"> | ||
</div> | ||
</div> | ||
<div class="col-wrap col-right"> <div id="avatar" {{#if user_is_guest}} class="guest-avatar" {{/if}} style="background-image: url('{{user_avatar}}');" {{#if is_bot}} class="bot-avatar" {{/if}}></div></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be easier to read if the divs were in different lines and the class if
conditions were next to each other.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback.
This has been fixed.
bc724a0
to
8d685b3
Compare
3b2f21a
to
ec25baa
Compare
@shameondev @amanagr ready for review |
@osamudiamenojo please squash the commits into one as mentioned in the commit guidelines and update the commit message to follow the guidelines so that the PR can be reviewed. |
7c75055
to
2bb47fd
Compare
@sahil839 changes effected. Please review |
2bb47fd
to
c3d4b54
Compare
Ok, now I noticed that we have different width of outlines in different places, so adding the code to @freshpex I am not sure whether we need to decrease the outline width or not, so I have kept that change as a separate commit for now. I am assuming you intended to decrease the outline because it took much of the space in the avatar shown in message feed for the message sender. Because the outline thickness looks fine to me at other places. |
@sahil839 |
c3d4b54
to
aac1479
Compare
Ok, so I removed that commit. Thanks for all your work on this. @timabbott you can review this PR. |
7682dd0
to
aac1479
Compare
d35ad05
to
adc0056
Compare
@timabbott @sahil839 conflicts resolved. |
Heads up @osamudiamenojo, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
Adds a dark grey indicator to bot users avatar to differentiate between a bot and a guest user from other users. Fixes zulip#25969.
adc0056
to
8ba3285
Compare
Heads up @osamudiamenojo, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
Thanks for your work on this, @osamudiamenojo ! We have decided to move forward with a different design direction: #26831. |
This PR made changes to the avatars for bot users to make it have a dark indicator at the bottom right as shown in the screenshot below.
Fixes:
#25969
Screenshots and screen captures:
Self-review checklist
(variable names, code reuse, readability, etc.).
Communicate decisions, questions, and potential concerns.
Individual commits are ready for review (see commit discipline).
Completed manual review and testing of the following: