twister-html icon indicating copy to clipboard operation
twister-html copied to clipboard

add more fields in the user profile

Open Erkan-Yilmaz opened this issue 10 years ago • 17 comments

RT @xmsurf @twister since we have #Tox and #Bitmessage in the user profile, can we also get a field for #GPG fingerprints⁇

Erkan-Yilmaz avatar May 12 '14 10:05 Erkan-Yilmaz

and a bitcoin field please :)

fredix avatar May 12 '14 10:05 fredix

IMHO this is a core issue (and the existing bitmessage and tox fields should also be part of that paradigm)

thedod avatar May 12 '14 10:05 thedod

No, @thedod this is not core issue, now you can add as much as you want new fields in profiles, core don't limited it. (yep it is bad)

IMHO, we should add only popular things, GPG fingerprints is not popular

iShift avatar May 12 '14 11:05 iShift

@Erkan-Yilmaz please send a patch (pull request)!

miguelfreitas avatar May 12 '14 19:05 miguelfreitas

@iShift because #Tox or #Bitmessage are ? I know much more people using GPG on a daily basis than the other two (or even twister)…

nitmir avatar May 13 '14 22:05 nitmir

@nitmir GPG/PGP fingerprint is certainly something i had in mind when I thought of the profile fields, it just happens that i didn't implemented it from the start. the same with background image, that's another pending field to implement...

miguelfreitas avatar May 14 '14 02:05 miguelfreitas

Maybe we can add diaspora link, too.

natir avatar May 30 '14 22:05 natir

@natir is diaspora link any different than a normal url?

miguelfreitas avatar May 31 '14 12:05 miguelfreitas

@miguelfreitas No just a classic url, just need add filed.

natir avatar Jun 01 '14 10:06 natir

but we do have a field for url already...

miguelfreitas avatar Jun 01 '14 12:06 miguelfreitas

+1 for RetroShare ID +1 for GPG/PGP (full!) fingerprint +1 for OTR keys (tricky! should also contain XMPP/IM address, I guess)

rysiekpl avatar Sep 22 '14 12:09 rysiekpl

can we have adding (and removing) of any field which we want in UI? as two lines 'field_name' and 'field_content' and one selector button 'add / remove'?

slr avatar Sep 22 '14 18:09 slr

@slr Yes, but note that DHT record size is limited to 8Kb, so we cannot have too many arbitrary fields.

dryabov avatar Sep 22 '14 19:09 dryabov

we can ask user what he want (PGP/retroshare/bitmessage/etc) and limit fields to 2/3 field

iShift avatar Sep 23 '14 04:09 iShift

@dryabov Is that record size shared between the profile and the avatar? And what would be the best way to calculate the record size within the saveProfile function (https://github.com/miguelfreitas/twister-html/blob/master/js/twister_user.js#L258)?

Tschaul avatar Mar 04 '15 18:03 Tschaul

@Tschaul Avatar is stored in separate DHT entry, but it is limited to 8Kb as well. I.e. there are 8Kb for avatar and 8Kb for other profile data.

dryabov avatar Mar 04 '15 19:03 dryabov

that plenty of space... I think we should add a UI for adding/removing custom fields together with a progress bar kind of record size indicator. Shouldn't be too hard. But how to display them in the profile modal?

Tschaul avatar Mar 04 '15 19:03 Tschaul