zulip/zulip

Improve how message move history is displayed

Aperta

#34.006 aperta il 14 mar 2025

 (45 commenti) (0 reazioni) (0 assegnatari)Python (7339 fork)batch import
area: message-editing (topics)help wanted

Metriche repository

Star
 (19.672 stelle)
Metriche merge PR
 (Merge medio 36g 6h) (110 PR mergiate in 30 g)

Descrizione

We should make the following improvements to how message moves are displayed in the move/edit history overlay:

  • For message moves, make the content of the message:

Moved from #channel > topic to #channel > topic.

This is regardless of whether the channel, topic, or both are changed.

  • For moves that are just resolving/unreslolving a topic, make it:
    • Header: "Topic {resolved/unresolved} by {user}"
    • Content:"#channel > topic was marked as {resolved/unsresolved}."

Notes:

  • For resolved topics, I'm not 100% whether we should show its new or old topic. The link to the new one is more useful, so I'd default to that.
  • The current UI had topic / channel name diffs, but those are just crossing out the entirety of the old content. We could try to fix it, but this direction seems better; it's more consistent with how users generally experience topic/channel names in the UI.

Context:

CZO thread

Guida contributor