Commit Graph
3 Commits
Author SHA1 Message Date
Evie Gauthier 0816b0aa65 test: fix reply sanitizer regression test lint issues 2026-03-28 10:39:36 -04:00
Evie Gauthier 04fd0fd76e Fix reply HTML sanitization and add regression test 2026-03-28 10:29:35 -04:00
Evie Gauthier 3f26cd9515 fix: hide ThreadIndicator badge inside ThreadDrawer compose box
Inside the ThreadDrawer the user is already in thread context, so showing
the "Thread" badge in the reply chip is redundant and visually noisy.

The compose box always sets replyDraft.relation.rel_type = RelationType.Thread
when threadRootId is set (so the message goes to the right thread), but that
should not make the ThreadIndicator visible there.

Add !threadRootId guard to the ThreadIndicator render condition.

Adds 4 unit tests covering the four branches of the condition.
2026-03-17 17:56:24 -04:00