-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
message list: Show an actual star for starred messages #3593
Comments
Would you say the star should be tappable to toggle starred/unstarred, or is that too small of a target for people to interact with? Currently most message actions are done by long-pressing a message, which makes sense, but I think users generally expect a star on a message to be tappable, as in Gmail, for example. |
My instinct here is that associating an always-visible ☆ or ★ with every message will exacerbate issue #3632, although tapping a star just to remove it probably wouldn't be a bad idea. Unrelatedly, I wouldn't necessarily suggest trying to use the webapp's star code: it uses FontAwesome, and while we have that in the app already, I recall there being some annoying subtleties involved in making that font accessible to the WebView on iOS. |
Hmm, are you mostly concerned with adding unused vertical space? An always-visible ☆ or ★ wouldn't necessarily have to add vertical space; it could go on the left of the timestamp, as in the web app (as viewed from either mobile or desktop), right: As a side note for the web app (EDIT: filed as zulip/zulip#13642), it does appear that in the mobile view, those three buttons to the left of the timestamp are invisible until you tap that area for the first time on a message, but when you do tap that invisible area, the buttons respond the same as if they had been visible. For example, I could accidentally tap that empty area, not knowing those buttons were there, and star a message or open a menu by mistake. It's not a huge issue, but it seems slightly incomplete as a way to handle the lack of hover interactions on touch screens. It's also the case that someone using the web app on mobile might never tap that empty area and so not be aware of all the things they can do to a message (edit, quote, star, collapse, etc.). |
(From offline, for the record:) Not vertical specifically, but yes – and about stealing existing space from text, which would probably also not be great. Placing it to the left of the timestamp would be fine for leading messages, but immediately-subsequent messages by the same user don't have always-visible timestamps; you'd have to do something different for those. There are many possibilities, though; I'm sure something workable can be found. |
Yeah, I agree users will generally expect it to be tappable, and it'd be good to make it tappable. We should make the touch target big enough. A common pattern is to have a touch target that includes some padding around the icon that identifies it. I'd consult the Material Design guidelines for a value for how big the touch target should be. (Though also, as long as we also leave the long-press approach in place, it's OK if the star's touch target is smaller than spec.) |
From our chats in person, we concluded that it would be good to use FontAwesome to be consistent with the web app, but an easy way to do this is blocked by
|
Erratum: the actual blocker for the easy way to use FontAwesome is PR #3744, which augments the |
Following up on #2627 :
We actually already had code to try to show this, but the mechanics of updating the data to drive that were buggy. That's #2676 and was fixed.
Still, UX-wise the small and faint word "starred" leaves room for improvement. This issue is to replace it with an actual star.
Steps to do that will look like:
static/
in zulip/zulip. I'd start by inspecting a starred Zulip message in the Chrome DevTools (or another browser's equivalent) to see the final HTML and the relevant CSS rules.messageAsHtml.js
, and remove thestarred
bit frommessageTagsAsHtml
there.css.js
, and tocssNight.js
if relevant.The text was updated successfully, but these errors were encountered: