update nsfwCensorImage suggestion in config/description.exs #837
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#837
Loading…
Reference in a new issue
No description provided.
Delete branch "norm/akkoma:update-nsfwCensorImage"
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?
Turns out this is also used to set the default values in adminfe, so
update this to the correct URL for the NSFW banner so that it doesn't
break if you reset this value.
It seems like the hex id bit gets generated at frontend build time. Not sure what caused it to change, but it might be more future proof to leave suggestions empty just letting the frontend’s default fallback select the currently correct path
The base file in the frontend repo is
src/assets/nsfw.png
and it’s included asimport nsfwImage from '../../assets/nsfw.png'
insrc/components/attachment/attachment.js
for use as the default fallbackbe692e3a59
toe4332d06b5
Setting the default URL to a blank string instead so it will indeed use the fallback set in the FE
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.