0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/lib/nested_replies
Mark VanLandingham 2a8b9ca99e
FIX: Restore nested post moderation affordances (#41475)
### What changed

Nested replies now restore the moderation affordances reported in the
bug
https://meta.discourse.org/t/nested-replies-flagging-and-staff-color-has-no-effect/406636?u=markvanlan:

- wires the OP flag action into `PostMenu`, so the OP / first post can
open the regular flag modal from nested view
- renders official post notices in nested OP and nested reply posts
- applies the existing staff-color/moderator post styling in nested OP
and nested reply posts
- includes staff notice creator data in nested post serialization,
matching flat topic serialization
- makes `PostNotice.shouldRender` ignore transient non-object notice
values while a notice save is in flight
2026-07-07 07:51:05 -05:00
..
ancestor_walker.rb
post_preloader.rb DEV: add ids method to NestedReplies::PostPreloader to resolve warning (#40010) 2026-05-13 16:40:37 -05:00
post_tree_serializer.rb FIX: Restore nested post moderation affordances (#41475) 2026-07-07 07:51:05 -05:00
sort.rb
tree_loader.rb REVERT: "FEATURE: Topic timeline for nested replies view (#40125)" (#40202) 2026-05-20 13:20:46 -05:00