Tusky icon indicating copy to clipboard operation
Tusky copied to clipboard

Show server info somewhere

Open nikclayton opened this issue 2 years ago • 7 comments

Servers provide information about posting limits and other info at /api/v2/instance.

Some of that information could be useful to bundle up and display on a screen to the user somewhere. Maybe on the "About" screen (might be a bit non-discoverable), maybe as another tab on their profile screen (makes some sense, since the profile is tied to a specific server).

Maybe as account preferences? They're not user-settable preferences, but maybe that's the most discoverable place?

Useful information to highlight could be:

  • max_featured_tags
  • max_characters
  • max_media_attachments
  • supported_mime_types
  • image_size_limit
  • image_matrix_limit (rendered as useful maximum width/height)
  • video_size_limit
  • video_matrix_limit (ditto)
  • polls > max_options
  • polls > max_characters_per_option
  • polls > max_expiration
  • translation > enabled
  • contact info
  • server rules

  • Tusky Version: 23.0

  • [x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.

nikclayton avatar Aug 18 '23 21:08 nikclayton

I would like to work on this task!

sanao1006 avatar Sep 02 '23 04:09 sanao1006

Hi @sanao1006 - feel free to pick this up, and don't hesitate to connect with us on matrix if you need help / want feedback / etc.

Tak avatar Sep 04 '23 08:09 Tak

Hi! I have a question.

If I use the /api/v2/instance endpoint response instead of /api/v1/instance, do I need to add new functions to MastodonApi and create a serialization class (e.g. getServerInfo() function and Server serialization data class)

sanao1006 avatar Sep 08 '23 03:09 sanao1006

Yes, you'll need a new function in MastodonApi, and a new data type for the result (unless it's similar enough to the v1 result that it can just be expanded)

Tak avatar Sep 08 '23 05:09 Tak

@Tak Sorry, I'm having trouble finding time to work on this task, so I'll give up...

sanao1006 avatar Oct 01 '23 13:10 sanao1006

Completely understandable, thanks for your effort!

Tak avatar Oct 02 '23 07:10 Tak

I was also looking for this feature. An About Instance menu would be useful. I wanted to know the username of my instance admin and could not find it

strk avatar Dec 12 '23 11:12 strk