The default maximum number of characters for direct messages via the flag button seems to be 500 characters. I’d like to increase that a bit but can’t find the setting for it… Where should I look? If if doesn’t exist, please treat this as a “feature” request.
The 500 appears to be set here:
It does not look like it is designed to be configurable.
Has there been any movement on this? I keep running into the 500 character max length when using the flag button to plink users about their behavior.
The workaround is to click on the avatar to open up the user card, and click Message from there.
Or if you want to message to be linked to the post (“You messaged this user” or whatever it says), you can also:
- compose the meddsge in full length
- then copy it to the clipboard and
- delete all but the first paragraph or so (less than 500 characters)
- submit the message
- immediately navigate to the message in your messages
- Edit it within the grace editing period by pasting in the full length message.
Thanks for the workarounds, folks. It’s great that they exist, but the mere fact of their existence would seem to suggest that it would be welcome if this setting was configurable, perhaps separately for users and admins.
We generally rate by number and intensity of requests, and this one is currently at… background radiation levels.
Maybe its PR welcome? If I were a first time contributor looking to get a first PR together i’d be salivating at an easy win like this.
It’s a bit of a can of worms cause next you want preview as well…
This is a “turn my car into a truck” type of request. It shouldn’t be honored, and if it was, that would indicate the project was mismanaged and therefore doomed.
I don’t get this analogy at all. Could you explain? How does modifying the max number of characters in flag messages turn discourse into something else?
That’s a bit unfair. Nobody said anything about preview.
The longer the message your are typing the more likely it is that you want preview, and a full composer and so on. It’s just the way it works.
Honestly, I am far more enthused by a “switch to full composer” button vs fiddling with the limits … and I am not pr-welcome on that quite yet.
I think that would indeed be a very good solution. So if such a button would be easy to implement, does that mean that the only reason why there is a special flag-button-message-editor is to be able to limit the number of characters?
Okay, then I’d say: this feature request is definitely the electric windows, not the truck.
See above ↑ ↑ ↑
The whole point of the form is to keep it simple and use a short, succinct summary … not write War and Peace that nobody’s gonna read.
Plus if you want to write War and Peace to someone, exactly nobody is stopping you from doing so – you can initiate a personal message in about 5 different other ways.
I wrote a plugin that does this, as it’s bugged me before too:
https://github.com/gdpelican/customize_flag_length
To be clear, I don’t really care all that much about this—the lack of the setting and the reliance on the workarounds simply feel at odds with nearly everything else I’ve experienced with Discourse, which is otherwise delightfully customizable.
Plus, having one message composer be constrained with a hard-coded limit and another unconstrained feels less efficient than having a single abstracted composer. Not that I know anything about how the code works under the hood, of course, and code that’s written is always more efficient than code that’s not written.
That would also address the issue, and in a more discoverable way than a setting.