Fix sensitive by default option #443
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!443
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "norm/akkoma-fe:fix-sensitive"
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?
Fixes #442
@ -514,3 +514,3 @@this.newStatus.files.push(fileInfo)if (this.$store.getters.mergedConfig.sensitiveIfSubject && this.newStatus.spoilerText !== '') {if (this.$store.getters.mergedConfig.sensitiveIfSubject && this.newStatus.spoilerText !== '' || !!this.$store.getters.mergedConfig.sensitiveByDefault) {Considering the descriptions of the settings:
the existing behaviour is technically correct. Considering the lack of complaints of posts but not images being marked as default, this might actually be desired for (some) current users.
While it doesn’t align with the existing config description (or internal name), the most flexible solution would be to turn
sensitiveIfSubjecteffectively IntoattachmentSensitiveIfPost. It’s hard to imaginge anyone enabling both of these options and not expecting images to be marked sensitive by default, spoiler text or notShould these options be turned into a dropdown with three options like?
sensitiveByDefault)sensitiveIfSubject)Made an alternate PR with the three way option thing in #444
Ok from the now closed #444, this approach seems ot be the way to go for now.
What would be a better updated description for
sensitive_if_subject?Anything which makes it clear it refers to the whole post works. E.g. a minimal change of the current text:
"Automatically mark post as sensitive if a content warning is specified"
This doesn't explicitly mention attachments but neither does the other option. If you think it's better to be more explicit "post and attachments" (for both)
sensitiveIfSUbjectsetting description 166f80b67d166f80b67dto9ef8effeed