From e66387972b9f2e5b5d6d12c71b887430a7022614 Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 30 Jul 2025 23:23:20 -0500 Subject: [PATCH] add randomized posting form placeholders --- .../post_status_form/post_status_form.js | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index d40d2290..f9765aef 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -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',