zulip/zulip-flutter

compose: Insert a <time> element ("global times")

Open

#1,215 opened on Dec 27, 2024

View on GitHub
 (6 comments) (0 reactions) (1 assignee)Dart (456 forks)github user discovery
a-composebeta feedbackhelp wanted

Repository metrics

Stars
 (454 stars)
PR merge metrics
 (PR metrics pending)

Description

From beta feedback:

There doesn't seem to be a way to enter dates/times in the new beta app. I would love to have an option in the toolbar to insert a date, and have that bring up a date picker.

This issue is for offering the "global times" feature as part of the message-composing UI.

We already parse and render these elements in messages (that was #354; we still have #922 open for an uncommon edge case). We should offer a date-picker UI that helps the user insert the Markdown for one of these in the compose box.

This will be another button in the row beneath the content input; see Figma:

The icon should come from the Figma icons page.

Implementation

Probably should start by trying out showDatePicker.

Contributor guide