GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
506 stars 55 forks source link

[Request]: Ability to create / edit / delete notes on someone else's Mastodon profile #917

Closed nekohayo closed 2 months ago

nekohayo commented 2 months ago

Describe the request

One thing that I've always wanted in social media in general, but that thankfully/surprisingly Mastodon supports (at least from what I can see in its web UI) is the ability to write private notes onto someone else's profile. Those notes are simply a text field whose contents get autosaved.

This is very useful to remember the context in which you have connected with someone else, why you might or might not be following a particular person, etc.

It could be handy to show those notes when hovering that person's name in timelines, too; presumably, that would be another reason for implementing #495 :)

Implementation Details

GeopJr commented 2 months ago

Sounds good to me overall! I'm unsure about the design however, so I'll stick to an entryrow as a start

Screenshot from 2024-04-21 18-20-49

nekohayo commented 2 months ago

That would seem like an appropriate widget to me!

I'm thinking it could benefit from some clearer visual distinction from the rest (for example a yellow-tinted background maybe?), to draw more attention to your own "Private note" compared to the other rows, but arguably even the Mastodon web UI doesn't do a good job at that ;)

GeopJr commented 2 months ago

The reason I don't think entryrow is super appropriate for it is that the limit is 2k characters and longer notes won't expand the row vertically :/

It will be somewhat different visually with #907 image

Not against a yellow tinted background and/or bottom margin!

nekohayo commented 2 months ago

Oh, I did not know there was such a length limitation!

As for the styling: another alternative to the yellow tinting (like what is done for the "validated website" green rows) could also be to use italics-styled text for the Private Note's contents, if you don't want to rely on color at all, but that might be worse for legibility, especially if your note is very long.

GeopJr commented 2 months ago

Should it be split into two? : 1) textview just to display it 2) an "edit note" button on the profile menu with a dialog for editing it