nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.28k stars 1.77k forks source link

make user info clickable #639

Open AndyScherzinger opened 7 years ago

AndyScherzinger commented 7 years ago

585 implements the new user info screen. It displays things like email, address, phone, twitter, website.

All these info blocks should be clickable launching the corresponding action, like URL in browser, mail client, twitter/browser, phone-call.

mario commented 7 years ago

Also @tobiasKaminsky - please confirm and I'll mark it as approved.

tobiasKaminsky commented 7 years ago

Are you sure that someone wants to open his own twitter account or write him/herself an email, call himself? ;-) But as a normal user I would also expect that these entries are clickable/copyable. So go for it ;-) (or ask @jancborchardt @eppfel)

mario commented 7 years ago

Maybe not, but this might be used for showing info for other users. As for copy ... maybe long click on the field?

tobiasKaminsky commented 7 years ago

You mean like "hey wanna see my twitter account, I just open my nc app and click on my twitter info"? ;-) I still not really see the use case of it... ;-)

mario commented 7 years ago

No, I mean ... eventually I might be able to see your profile inside the app :P

tobiasKaminsky commented 7 years ago

If/when this should be possible then we should enhance the user info view in the way @AndyScherzinger proposed, but for now...?

AndyScherzinger commented 7 years ago

I am fine with leaving it as is for now and enhance when the corresponding service is available.

tobiasKaminsky commented 7 years ago

Why is this approved @eppfel when @AndyScherzinger and me vote to add this only if other profiles are visible? Or do you refer to "clickable" as "copyable"?

eppfel commented 7 years ago

Ah, sorry. I guess I misinterpreted approved then. I thought approved does not have a time/release implication, but just means will be added at some point....

tobiasKaminsky commented 7 years ago

@eppfel yes, this is what approved means. But do we already have a conclusion? Andy proposed that clicking leads to the function, e.g. call. I proposed that a click leads to copy. Andys last comment was to leave it the way it is. And you approved it...but what is approved? ;-)

I would add a copy on long-press. This way the user can at least use the text. And, in a new issue, if it is possible to see other profiles (which is not possible on server-side) then we can enhance it to open the corresponding function, e.g. call.

jancborchardt commented 7 years ago

In the future, you will of course also be able to see the profiles of other people on click of their name/avatar. To have a consistency and learnability of functionality here, we should make tap do the action, and long-press copy the content. On your own profile as well as other people’s.

Ok?

tobiasKaminsky commented 7 years ago

Fine for me 👍

SanjaySargam commented 2 years ago

Can I contribute?

provokateurin commented 2 years ago

Yes!

SanjaySargam commented 2 years ago

Plz assign me?

provokateurin commented 2 years ago

done

sam2002jain commented 1 year ago

Hello!! please assign to me I can make it more optimize and clean