Skip to content

Use varying symbols for user status. #817

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

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

neiljp
Copy link
Collaborator

@neiljp neiljp commented Oct 30, 2020

This moves from having a single small bullet to a style similar to the
webapp, with circles of varying degrees of fullness:

  • filled (active)
  • bottom-filled (idle)
  • empty (offline)
  • small (inactive)

Tests updated.

NOTE: I'll move the unicode to symbols.py before this is merged.

This moves from having a single small bullet to a style similar to the
webapp, with circles of varying degrees of fullness:
* filled (active)
* bottom-filled (idle)
* empty (offline)
* small (inactive)

These are listed most clearly in symbols.py.

Tests updated.
@neiljp neiljp force-pushed the 2020-10-29-user-styling branch from f283003 to 803a483 Compare November 3, 2020 00:42
@zulipbot zulipbot added the size: M [Automatic label added by zulipbot] label Nov 3, 2020
@neiljp
Copy link
Collaborator Author

neiljp commented Nov 3, 2020

Just pushed an updated version with the unicode in symbols.py.

The change is broadly as follows (this is with a search on czo, to show all the statuses):
user_icons_old - OLD

user_icons_new - NEW

users_btn_list = list()
for user in users:
status = user['status']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seem to have done a small refactor here, but I guess it is small enough to integrate with the other change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed small, and within a function it should be safe enough 👍

@sumanthvrao
Copy link
Member

These symbol changes look nice! 👍

@neiljp neiljp added this to the Next Release milestone Nov 3, 2020
@neiljp
Copy link
Collaborator Author

neiljp commented Nov 3, 2020

Thanks for the feedback! 👍 Let's get this merged :)

@neiljp neiljp merged commit 35ad81b into zulip:master Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: M [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants