fix multiline alt texts for generic attachments (e.g. zip files) #446
No reviewers
Labels
No labels
a11y
Bug
Bug fix
cannot reproduce
CSS
Documentation
enhancement
Feature
Feature request
Held for next release cycle
Minor change
performance
priority: critical
priority: high
priority: low
priority: medium
priority: patch welcome
regression
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma-fe!446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Riedler/akkoma-fe:fix-attachalt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
yeah, i noticed this before too; thanks for tackling this!
I think it can be improved further though: If the description/alt text is very long this patch currently will not show all of it by default (good, we don't want it to take up the entire TL) cutting it off at ~2 paragraphs. But there’s also no way to read the rest of the description. Can you add a button to show the full text similar to image alt texts, or perhaps just a usable scrollbar? Simply changing
.Attachment .attachment-wrapper’soverflow: hiddentooverflow: scrollvia browser devtools doesn’t appear to workit should only be cut off in the tiny popover-on-hover in status previews - I think making the user open the post to read the full alt text is reasonable. does it not do that? I haven't had time to test it much unfortunately (todo, maybe tomorrow)
it’s cut off in the full post view on the main timeline.
I added 13 paragraphs of stub text to a text-file attachments as a text, only 2 are shown on the TL. (though Firefox’ click-and-drag render still contains all 13)
huh. I'll take a look at this (and the other thing where you pinged me) later, maybe tomorrow.
I've made it scrollable after some debugging
should just work, I've made sure this doesn't affect other attachments negatively
also I found another bug, brb…
should work now. tested on chromium and firefox.
really the whole gallery component and its children need to be rewritten from the ground up - there's so much jank in there I don't want to get into, it's insane… and it's making me go insane. I'm certainly not going to work on subcomponents of this in the future anymore :(
seems all good now, many thanks!