zulip/zulip

Add an outbox to drafts overlay

Open

#32,999 建立於 2025年1月10日

在 GitHub 查看
 (21 留言) (0 反應) (1 負責人)Python (7,339 fork)batch import
area: compose (drafts/network/echo)help wantedin progressnew feature

倉庫指標

Star
 (19,672 star)
PR 合併指標
 (平均合併 36天 6小時) (30 天內合併 110 個 PR)

描述

When there are unsent messages in the outbox, we should allow viewing them in the drafts overlay. We can have two tabs:

  • Drafts ({draft count})
  • Outbox ({outbox count})

The tabs should be shown only if the outbox is not empty. Tabs should be styled as in the user profile modal.

New Outbox tab

We should show all the messages in the outbox, most recent on top. Each message should have the same resend and cancel action buttons as in the message feed:

Screenshot 2025-01-10 at 08 37 47@2x

We should also implement checkbox selection functionality, as for drafts:

  • Can select each message, or "Select all messages".
  • Rather than a "delete" button, we'll have the two resend/cancel buttons that can be applied to all selected messages.

When working on this feature, please post screenshots in #design for feedback.

Notes

  • We should think about what to do when a message hasn't been rejected, but also hasn't been received from the server after a long delay. See #3212.

CZO thread

貢獻者指南