discourse/app
Régis Hanol 9bdd97db42
FIX: editing post while replying ()
BEFORE: if you click the "reply" button on a post and then decided that you want to "edit" the same post, clicking the "edit" button would do nothing. Clicking "edit" on another post works, but editing the same post would appear broken.

AFTER: if you click the "edit" button, it will properly load the content of the post you're trying to edit. No matter which one it is.

This was somewhat tricky to track down as the system specs seemed to contradict the qunit tests until I realized that the qunit tests were only testing the edit on the 1st post and the system specs were testing on replies.

I improved the qunit tests to test both editing OP and a reply and (hopefully) made the system specs a little bit clearer.

This is a follow up to bbe62d88d2.
2024-12-02 16:06:36 +01:00
..
assets FIX: editing post while replying () 2024-12-02 16:06:36 +01:00
controllers DEV: Include controller namespace in X-Discourse-Route () 2024-11-29 17:11:17 +11:00
helpers
jobs DEV: Drop DISCOURSE_LIVE_SLOTS_SIDEKIQ_LIMIT () 2024-11-26 07:21:14 +11:00
mailers
models DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
serializers FIX: topic post counts for webhook post_destroyed event () 2024-11-27 11:36:51 -08:00
services FEATURE: Add bulk destroy to admin users list () 2024-11-25 11:13:35 +03:00
views