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

bio options #232

Closed
hoodieak opened this Issue Nov 23, 2016 · 9 comments

Comments

Projects
None yet
5 participants
@hoodieak
Copy link

hoodieak commented Nov 23, 2016

a toot-length bio section, the current length is Just Not Enough, 500 characters will always be sufficient. a readmore might be necessary for the column view, and that's fine.

on this topic, if you truly want to allow and support people, i would highly suggest a pronouns section, optional, of course, to ease that social layer of difficulty with accepting people's genders and pronouns. thank you for listening.

@marrus-sh

This comment has been minimized.

Copy link
Contributor

marrus-sh commented Nov 24, 2016

A possible alternative to a dedicated pronoun section would be to have a (limited… 3–5?) number of user-configurable key-value pairs in addition to the dedicated bio, which would be displayed perhaps on their own line(s) under the bio. For example, Twitter has Location (which people sometimes use for pronouns), Birthday, etc. I don't see any reason to dictate ahead of time what kind of information people can or can't put on their profile in this manner, though. (It would also be a convenient place to list websites or other accounts!)

I feel like this is mostly an aesthetic thing and people will definitely put this kind of info in their main bio text if there's not a place for it elsewhere, but giving a privileged place to short, metric-esque information could really make it easier to learn important stuff about someone at-a-glance.

Here's a mock-up of what the Settings page might look like under this model:

image

…And this is how it might appear on a user page:

image

(these are really rough mockups but you get the idea)

@hoodieak

This comment has been minimized.

Copy link
Author

hoodieak commented Nov 24, 2016

that's really wonderful, and i think that's one of the best ways possible to do that!!
thank you for adding this

@Gargron

This comment has been minimized.

Copy link
Member

Gargron commented Nov 24, 2016

That's pretty elegant! Though perhaps the display of the data could be a vertical table beside the avatar/header, i feel like having two rows of columns of different width below each other looks a bit unorganized.

Did anybody check if Portable Contacts allows variable extra details besides the defined ones?

@hoodieak

This comment has been minimized.

Copy link
Author

hoodieak commented Nov 24, 2016

i don't quite understand the question, could you like. elaborate? i'll totally test things for you

@marrus-sh

This comment has been minimized.

Copy link
Contributor

marrus-sh commented Nov 24, 2016

@Gargron From what I can gather (cursory glance at the spec) the answer is no, as Portable Contacts is designed to be interchangeable with vCard. I couldn't see where extensions were expressly allowed or disallowed but it would probably at least go against the spirit of the spec. Probably the best way to include arbitrary data would be to encode it into note data somehow; this would also make it visible to other GNU Social, etc. instances, albeit in a somewhat different form. Like:

pronouns: she/her
website: http://marrus.xyz
%%
This is my bio. I can put whatever I want here.

where the data before the %% is key-value pairs, and the data after is freeform bio data. (I'm assuming you also use note for bio info but haven't checked.)

@swaldie swaldie added the enhancement label Dec 6, 2016

@hoodieak hoodieak referenced this issue Dec 15, 2016

Closed

Pinned toots #306

@hoodieak

This comment has been minimized.

Copy link
Author

hoodieak commented Dec 15, 2016

pinned toots are a part of bio options, in my opinion, and thus we can combine these two threads: https://github.com/Gargron/mastodon/issues/306#issuecomment-263876617 this post by @marrus-sh has some code ideas for the thing

@hoodieak

This comment has been minimized.

Copy link
Author

hoodieak commented Jan 19, 2017

image
conversation from discord to keep saved in the thread that the data matters for

@hoodieak

This comment has been minimized.

Copy link
Author

hoodieak commented Jan 22, 2017

other things i would suggest that i believe would greatly increase artist-use cases for mastodon is column options to view only image posts, and to hide replies to people, so that in general viewing a users profile is closer to how twitter works. ideally this would also work outside of column if not logged in

@marrus-sh

This comment has been minimized.

Copy link
Contributor

marrus-sh commented Mar 2, 2017

This is an old issue, but I just thought of something—is it not the case that user bios can contain HTML? In that case, additional user bio information could easily be added through data-* attributes; for example, my bio currently looks like this (I don't currently have any HTML in my bio):

Go Shoemake; aka Margaret, Kibigo, Kibi, et al.
22// boyish girl, ᴾᴋᴹɴ Ranger, easily excitable.
MHSAU Love Interest.
Actually v sweet ❤ in love w the world.

But it could easily look like this:

<span data-mastodon-user-info='{"website": "http://marrus.xyz"}'>
Go Shoemake; aka Margaret, Kibigo, Kibi, et al.
22// boyish girl, ᴾᴋᴹɴ Ranger, easily excitable.
MHSAU Love Interest.
Actually v sweet ❤ in love w the world.
</span>

…And then the frontend could easily access the information…

//  Assume `content` is a container element for the bio
elt = content.querySelector("[data-mastodon-user-info]");
if (elt) userInfo = JSON.parse(elt.getAttribute("data-mastodon-user-info"));

…while instances without support wouldn't notice a difference.

@hoodieak hoodieak closed this May 13, 2017

@ghost ghost referenced this issue Jul 12, 2017

Closed

Add pronoun field alongside bio #3211

1 of 2 tasks complete

yipdw added a commit to yipdw/mastodon that referenced this issue Nov 29, 2017

Merge pull request tootsuite#232 from glitch-soc/hotkeys-glitch
Implement status hotkeys + spoiler expanding

Gargron added a commit that referenced this issue Mar 5, 2018

Add bio fields
- Fix #3211
- Fix #232
- Fix #121

@Gargron Gargron referenced this issue Mar 5, 2018

Merged

Add bio fields #6645

4 of 4 tasks complete

Gargron added a commit that referenced this issue Apr 10, 2018

Add bio fields
- Fix #3211
- Fix #232
- Fix #121

Gargron added a commit that referenced this issue Apr 12, 2018

Add bio fields
- Fix #3211
- Fix #232
- Fix #121

Gargron added a commit that referenced this issue Apr 14, 2018

Add bio fields (#6645)
* Add bio fields

- Fix #3211
- Fix #232
- Fix #121

* Display bio fields in web UI

* Fix output of links and missing fields

* Federate bio fields over ActivityPub as PropertyValue

* Improve how the fields are stored, add to Edit profile form

* Add rel=me to links in fields

Fix #121

takayamaki added a commit to takayamaki/mastodon that referenced this issue Dec 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.