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

Use React Area datepicker #5662

Open
07tAnYa opened this issue Jan 19, 2024 · 11 comments
Open

Use React Area datepicker #5662

07tAnYa opened this issue Jan 19, 2024 · 11 comments

Comments

@07tAnYa
Copy link

07tAnYa commented Jan 19, 2024

When I go to select a date for my event, I have to keep on right/left swiping to select the appropriate date.

When I hover on the year, it should show the years in a scroll-down-like structure, so that users can select easily.

Here is the screen recording of the above-discussed issue:

Add.Event.-.Google.Chrome.2024-01-19.15-43-39.mp4
@stevepiercy
Copy link
Collaborator

@07tAnYa we use the datetime picker as shown in https://6.docs.plone.org/storybook/?path=/story/edit-widgets-datetime--datetime.

However, there may be better datetime pickers available. I brought this up for discussion in a PLIP at plone/Products.CMFPlone#4115. I agree that clicking through it, with limited keyboard shortcuts, is bad UX and accessibility. If you have an idea for a better off-the-shelf widget, please add your comment to that issue. Thank you!

@vikashsprem

This comment has been minimized.

@davisagli

This comment has been minimized.

@vikashsprem

This comment has been minimized.

@stevepiercy

This comment has been minimized.

@07tAnYa

This comment has been minimized.

@vikashsprem

This comment has been minimized.

@stevepiercy
Copy link
Collaborator

stevepiercy commented Jul 1, 2024

@vikashsprem @07tAnYa we plan to implement the React Aria DatePicker.

Demo

@07tAnYa
Copy link
Author

07tAnYa commented Jul 9, 2024

@Manas-Kenge
Copy link

@stevepiercy I am now solving the issue as per https://codesandbox.io/p/sandbox/affectionate-rosalind-tdm323?file=%2Fsrc%2FCalendar.js. The problem I am facing is with react-aria package. Is it ok to install it or am I supposed to import the components from somewhere else?

@stevepiercy
Copy link
Collaborator

@Manas-Kenge sorry, I don't know. I do know that there is a plan to use React Aria many of the components, and away from Semantic UI. I think this issue depends on the work being done in #4352. Hopefully someone else can provide direction about implementation details. We have another meeting in a couple of weeks to review priorities for Plone 7, and I would like to see this one prioritized. Until then, I wouldn't start work on it.

@davisagli davisagli marked this as a duplicate of #3783 Jan 29, 2025
This was referenced Jan 29, 2025
@plone plone deleted a comment from PriyanshuG24 Feb 9, 2025
@stevepiercy stevepiercy changed the title Scroll down option for selecting months and years Use React Area datepicker Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
5 participants