zulip/zulip-mobile

Make it possible to insert local time

Open

#5,079 建立於 2021年10月26日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (673 fork)github user discovery
a-compose/sendhelp wantedwebapp parity

倉庫指標

Star
 (1,348 star)
PR 合併指標
 (PR 指標待抓取)

描述

The local times widget is very useful, but can be difficult to discover. On mobile, it is very difficult to insert a new local time, as it requires manually typing the appropriate syntax, which is not designed to be easy to enter by hand.

To address these challenges, we should add a compose box button to insert a local time.

  • Icon: https://fontawesome.com/v4.7/icon/clock-o
  • Location: As the rightmost icon in the "plus" compose box menu.
  • Action: Open a calendar widget for inserting a timezone-sensitive time, and generate the appropriate local time syntax into the message based on the selection.

The time should be inserted in the position of the cursor.

Typing <time directly into the compose box should also pop up a calendar widget to select a local time. This is the current way to access the time widget in the web app.

Corresponding web app issue: https://github.com/zulip/zulip/issues/20045

Discussion thread on CZO

貢獻者指南