2
0
Fork 0

add randomized posting form placeholders

This commit is contained in:
Ruben 2025-07-30 23:23:20 -05:00
commit e66387972b
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583

View file

@ -151,6 +151,27 @@ const PostStatusForm = {
}
},
data () {
const allPlaceholders =
[
"Just arrived at Virgo Synthetics",
"Just landed in the Outer Rim",
"What Synth propaganda will you post today?",
"Beep!",
"beep beep beep",
"Merp!",
"merrrrrrrrrrp",
"BEEP BEEP BEEP BEEP BEEP BEEP BEEP BEEP BEEP BEEP BEEP BEEP",
"What do you want to say?",
"[insert Misskey reference here]",
"[insert Pleroma reference here]",
"[insert Iceshrimp reference here]",
"The",
"Just arrived at... wait, what?",
"What Flash game to post today?",
"brb recharging"
]
var buildPostPlaceholder = allPlaceholders[Math.floor(Math.random() * allPlaceholders.length)]
const preset = this.$route.query.message
let statusText = preset || ''
@ -232,6 +253,7 @@ const PostStatusForm = {
posting: false,
highlighted: 0,
newStatus: statusParams,
placeholder: buildPostPlaceholder,
caret: 0,
pollFormVisible: false,
showDropIcon: 'hide',