Edit icon not activating after edits

AI-generated summary

The issue of the edit icon not appearing after post edits was initially suspected to be a bug by Kat_F, who reported it in a testing thread with default settings. Johani suggested testing in safe-mode, which showed no change. Further investigation revealed that the revision numbers visible were actually post numbers from the theme, not edit indicators Johani. Kat_F shared a public link to the affected post, and Johani asked whether edits matched the timestamps and whether the editing_grace_period setting (default: 5 minutes) might be suppressing revisions. After checking, Kat_F confirmed the grace period was at default, but other misconfigured settings were the true cause. Resetting those resolved the issue — no bug was found, just user error. Kat_F thanked Johani and noted the usefulness of safe-mode for future troubleshooting.

I believe this is a bug. Settings are default. In a testing thread for Mods in training who were being briefed on the checking of user edits to posts we ran into an odd situation. The icon that generally shows when a topic is edited did not appear in certain posts even when the threads were edited. The thread is unlisted, and neither user is a mod yet.

Does the issue still occur if you enter safe-mode and visit those topics?

1 Like

No change. There’s still no pencil / edit icon on the post, although they were edited. Other posts on this same thread show their edits as normal. Could the similar wording of the edit be doing this? Or perhaps becaue they were close together?

I can see what looks like a revision number in your screenshots - though the positioning is a bit off from the defaults.

This probably means that the edits are there and you’re just missing the icon.

Can you post a link to a public topic on your site that has the issue?

1 Like

https://www.wattpadwriters.com/t/testing/181598/3

2 Likes

Thanks for that @Kat_F

It turns out that the number I saw here

has nothing to do with issue you mentioned. It’s just the post-number that’s added in your theme.

Moving on, do the edits to this post

https://www.wattpadwriters.com/t/testing/181598/3

match the text?

Edited 1min
…
Edited 15min
…
Edited 1 hour

If so, then we can investigate a bit more.

If not, then are you aware of the editing_grace_period site setting?

It defaults to 5 minutes, which means that edits made within 5 minutes of posting won’t trigger a revision - an increase in post edit history.

In other words, if you edit a post within 5 minutes of posting it - by default - then a post revision - edit - won’t be created.

That’s the default in Discourse unless you change that setting on your site - which I understand might not be the case since you mentioned that

but can you check just in case?

`

2 Likes

Yes, I will. Be right back with you.

@Johani
The grace period was set to default. However, we found that some other settings were not. By fiddling and resetting a bit, we now have it working properly. So, it was people messing about where they shouldn’t and not a bug at all.

I will remember safe mode, it will be helpful, so it was not a complete loss.

Many thanks for your time.

3 Likes