twister-html
twister-html copied to clipboard
add more fields in the user profile
RT @xmsurf @twister since we have #Tox and #Bitmessage in the user profile, can we also get a field for #GPG fingerprints⁇
and a bitcoin field please :)
IMHO this is a core issue (and the existing bitmessage and tox fields should also be part of that paradigm)
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
@Erkan-Yilmaz please send a patch (pull request)!
@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 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...
Maybe we can add diaspora link, too.
@natir is diaspora link any different than a normal url?
@miguelfreitas No just a classic url, just need add filed.
but we do have a field for url already...
+1 for RetroShare ID +1 for GPG/PGP (full!) fingerprint +1 for OTR keys (tricky! should also contain XMPP/IM address, I guess)
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 Yes, but note that DHT record size is limited to 8Kb, so we cannot have too many arbitrary fields.
we can ask user what he want (PGP/retroshare/bitmessage/etc) and limit fields to 2/3 field
@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 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.
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?