zulip/zulip-mobile

Make it possible to insert local time

Open

#5,079 opened on Oct 26, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (673 forks)github user discovery
a-compose/sendhelp wantedwebapp parity

Repository metrics

Stars
 (1,348 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide