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

Put mobile UI profile actions into popup list with icon & text #13991

Open
kuba-orlik opened this issue Nov 13, 2023 · 7 comments
Open

Put mobile UI profile actions into popup list with icon & text #13991

kuba-orlik opened this issue Nov 13, 2023 · 7 comments
Labels
good first issue Narrow in scope (but not necessarily easy) no scala wanted Dead or alive. Backed by a regular contributor.

Comments

@kuba-orlik
Copy link

kuba-orlik commented Nov 13, 2023

When viewing someone's profile, especially on mobile, it's very hard to understand what do the buttons above the graph actually do.

Screenshot 2023-11-13 at 10-08-28 kuba-orlik (1500)

On Desktop, I can at least hover over a button and check what it does by reading the hover popup, but on mobile those buttons are both hard to tap and the user is left guessing what the buttons actually do.

Changing the buttons from just icon to icon+text would make them much more understandable and usable

@Siderite
Copy link

Mobile space is in short supply. If you add text it would either be very small, not useful or ugly.

I was thinking of a general solution for tooltips on mobile, like clicking a button or a finger gesture and then tapping something with a tooltip would just show that tooltip instead of activating the button. But it's unwieldy. I remember there was an app where you could just drag and drop a ? icon over the things you wanted explained.

I have no idea what the design guidelines say about this issue, but it feels like a general issue between mouse and touch interfaces.

@kuba-orlik
Copy link
Author

I took the liberty of drafting a modified version of the interface. I think that both desktop and mobile benefit from the labels just being visible without any prior interactions

Screenshot 2023-11-14 at 19-12-42 kuba-orlik (1500)500
Screenshot 2023-11-14 at 19-14-12 kuba-orlik (1500)500

@schlawg schlawg added good first issue Narrow in scope (but not necessarily easy) no scala wanted Dead or alive. Backed by a regular contributor. labels Nov 20, 2023
@schlawg
Copy link
Collaborator

schlawg commented Nov 20, 2023

Any takers? There is isTouchDevice() in ui/common/src/device.ts if a mobile only fix is desired...

@ornicar
Copy link
Collaborator

ornicar commented Nov 21, 2023

I like the idea, there's a real problem to solve. However it could be solved differently. In most web and mobile apps, such actions are in a menu. Here's a mastodon profile for example:

8o1PUMI

bDT89mP (1)

@M-DinhHoangViet
Copy link
Contributor

Ex: My profile on Chess.com
image

@schlawg schlawg changed the title Switch to text buttons instead of just icons for profile actions Put mobile UI profile actions into popup list with icon & text Nov 21, 2023
@awestm
Copy link
Contributor

awestm commented Dec 10, 2023

Hey all,

Have a prototype built locally, would love to get some feedback on it. Not the biggest expert in css so I'm sure it could be made far simpler. Also, "List" would not be my preferred name but there's currently no appropriate translation in the translations object so I made do with that one for the time being.

Would love to get another pair of eyes on it, have a gif below of what it would look like. Tried to copy the existing format used in the upper bar. Let me know!

NewList

@awestm
Copy link
Contributor

awestm commented Dec 10, 2023

Draft PR at: #14205

Changed up the look of it so that it feels more mobile friendly. Not sure if there should be a different look for mobile vs desktop.

NewListMobile
NewListDesktop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Narrow in scope (but not necessarily easy) no scala wanted Dead or alive. Backed by a regular contributor.
Projects
Status: No status
Development

No branches or pull requests

6 participants