From 3a3aa77da67c939bd2ec40133832a3a0da116ab5 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 e8b3cc0a..6be05e7d 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -146,6 +146,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 || '' @@ -227,6 +248,7 @@ const PostStatusForm = { posting: false, highlighted: 0, newStatus: statusParams, + placeholder: buildPostPlaceholder, caret: 0, pollFormVisible: false, showDropIcon: 'hide',