NewCaw icon indicating copy to clipboard operation
NewCaw copied to clipboard

Avoid too long descriptions in `MediaDisplay`

Open CodedOre opened this issue 2 years ago • 6 comments

While Twitter only permits 280 characters in Tweets, for some reasons it allows up to 1000 for media descriptions.

This can lead to the issue that displaying all the text in MediaDisplay can obscure quite a lot of content, or even UI.

too-long

Even though it's an edge case, we might need to think about a solution for this a some point.

CodedOre avatar Apr 12 '22 13:04 CodedOre

I think it's because it's accessibility text, and so it needs to be long enough to describe the scene or approximately transcribe longer text.

Could we have it hidden by default and appear on hover (and not just general hover, in case it's maximised, but a specific hover over an area) or expanded from an item that is in the popover?

IBBoard avatar Apr 12 '22 19:04 IBBoard

Could we have it hidden by default and appear on hover (and not just general hover, in case it's maximised, but a specific hover over an area) or expanded from an item that is in the popover?

I have thought about the latter: If the text would become too long to display the first bit of text on a button (probably with the smaller inline-style we have), and on clicking that it would reveal the complete text.

Twitter does something similar on mobile.

CodedOre avatar Apr 12 '22 19:04 CodedOre

If I might be so bold, but this could be something you could do as a start into working on Cawbird 2.0?

CodedOre avatar Apr 12 '22 19:04 CodedOre

The main thing is going to be making sure that it's accessible on mobile/touch screen, since pop-overs are always a bit odd and unreliable on mobile 😕

And yeah, I can have a look and see what we can do.

IBBoard avatar Apr 12 '22 19:04 IBBoard

If you mean the overlay UI with "pop-overs", it's not really an pop-over, just normal Gtk.Box with some margin.

But otherwise we could also ask the Gnome Design Team (on #gnome-design:gnome.org) how they would attempt this.

Bit off-topic but you could join the Matrix-Room for This Week in Gnome at #thisweek:gnome.org. I'll try to give development updates for Cawbird on there as well and you could announce new updates as well, because it helps with making Cawbird more known.

CodedOre avatar Apr 12 '22 19:04 CodedOre

I follow the blog (or at least tend to read the posts as they come through on Twitter). I'll have to work out how to use this new-fangled Matrix thing 😉

IBBoard avatar Apr 12 '22 19:04 IBBoard