Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
When you submit a flag we don't refresh the page, and so when you flag again the flag modal doesn't "know" about your previous flag yet. After a refresh, you'll get the "you've previously flagged ...
Answer
#1: Initial revision
When you submit a flag we don't refresh the page, and so when you flag again the flag modal doesn't "know" about your previous flag yet. After a refresh, you'll get the "you've previously flagged this as..." notice. While duplicate flags are a little noisy, this can only happen if you flag twice before reloading the page, so it's pretty rare. I don't think we want to force a refresh after flagging, and it _can_ be legitimate to flag the same thing twice (for example to also flag something about the user), so I'm inclined to leave this as-is unless it becomes a problem. Yes there's an abuse vector, but for that case, rate-limiting might be a better solution.