Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace React Date & Time Picker with the device's default date and Time picker. #11099

Open
nihal467 opened this issue Mar 7, 2025 · 6 comments · May be fixed by #11126
Open

Replace React Date & Time Picker with the device's default date and Time picker. #11099

nihal467 opened this issue Mar 7, 2025 · 6 comments · May be fixed by #11126
Assignees
Labels
needs-triage P2 question Further information is requested

Comments

@nihal467
Copy link
Member

nihal467 commented Mar 7, 2025

Describe the bug

When using the React Date & Time Picker on the platform, the UX is not as good as allowing users to use their device’s default date & Time picker. (Specifically on mobile devices)

Expected behavior

Replace all usages of the React Date & Time Picker in the platform with the device’s default date & Time picker.


🚨 DO NOT EDIT BELOW THIS LINE 🚨

Instructions for Requesting Assignment:

To request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:

Describe your solution clearly:
Provide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.

Expected Timeline:

  • End date: [Expected submission date of a completed Pull Request]

Additional Context:
Include any other relevant context, links, screenshots, or resources that support your proposed solution.

🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.

@AdityaJ2305
Copy link
Contributor

Hey @nihal467 , I would like to work on this issue
ETA: EOD

@yadavshubham01
Copy link

Hey @nihal467 ,
I would like to work on this issue so , I propose replacing all instances of the React Date Picker with the device’s default date picker to enhance the UX, particularly on mobile devices. My approach will involve:

Identifying all occurrences of the React Date Picker across the platform.
Replacing it with the native , which triggers the default date picker on mobile devices.
Ensuring proper styling and compatibility across different browsers and devices.
Testing the implementation to confirm it improves the UX without breaking any existing functionality.

End date: EOD

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 7, 2025
@nihal467 nihal467 added the P2 label Mar 7, 2025
@nihal467 nihal467 changed the title Replace React Date Picker with the device's default date picker. Replace React Date & Time Picker with the device's default date and Time picker. Mar 7, 2025
@nihal467 nihal467 removed question Further information is requested needs-triage labels Mar 7, 2025
@AdityaJ2305
Copy link
Contributor

@nihal467 , Could you share ss for this issue ?/

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 7, 2025
@AdityaJ2305
Copy link
Contributor

AdityaJ2305 commented Mar 7, 2025

import { DateTimePicker } from "@/components/ui/date-time-picker";
import { DatePicker } from "@/components/ui/date-picker";

@nihal467 , Could you confirm if you are referring to above ?

@nihal467
Copy link
Member Author

nihal467 commented Mar 7, 2025

Image

  • For example, in the date range selection, users cannot directly choose a specific month or year; they can only navigate using the previous month button, which results in a poor UX. Defaulting the date and time component to the device or browser's native picker would make selection easier and more intuitive for users.

@nihal467 nihal467 removed question Further information is requested needs-triage labels Mar 7, 2025
@AdityaJ2305
Copy link
Contributor

@nihal467, don’t you think the issues created after this one will automatically be resolved once this issue is completed? 🤔

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage P2 question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants