appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.99k stars 3.67k forks source link

[Enhancement]: Datepicker done not need time picker control for the end user when set date format does not have timestamp #12617

Open somangshu opened 2 years ago

somangshu commented 2 years ago

Is there an existing issue for this?

Description

In the date-picker widget, the time control is shown by default even when the date format does not consist of the time stamp. We have a separate property time precision which hides / shows the time control on the date picker popup for the end user. This is ideally not required and things can be made easy if we hook it to the date format automatically, if the date format expects the timestamp, we should allow for the time control to be visible.

Based on some analytics we have observed that most people are not using the date format with timestamps, this helps us understand that we can reduce the clutter from the popup for the end user.

Screenshot 2022-04-05 at 11 44 09 PM

Requirements

Steps To Reproduce

  1. D&D date picker
  2. select date formate without a timestamp
  3. Observe that the date picker popup still has the time control for the end user

Public Sample App

No response

Version

cloud 1.6.17

somangshu commented 2 years ago

@dilippitchika can you look into prioritising using RICE?

dilippitchika commented 2 years ago

@somangshu converting this to enhancement as the functionality is working as expected. The dev can remove the time selection using the time precision field.