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

New component: Datepicker #79

Open
5 tasks
mrosvik opened this issue Jan 24, 2023 · 4 comments
Open
5 tasks

New component: Datepicker #79

mrosvik opened this issue Jan 24, 2023 · 4 comments
Labels
☂️ epic Issues ready 🧭 roadmap Used in roadmap

Comments

@mrosvik
Copy link
Member

mrosvik commented Jan 24, 2023

Existing datepickers in other design systems

Research:

Altinn 3 needs

  • Show max/min date possible to pick / Have a way to show that some dates are not possible to pick
  • Variants of the picker for example time or month-picker

Tasks

  1. 🎨 figma
  2. documentation/guidelines
  3. react
@mrosvik mrosvik added component 🎨 figma Everything related to changes in Figma ☂️ epic Issues ready labels Jan 24, 2023
@mrosvik mrosvik moved this to 📋 Backlog (Planning & Design) in Team Design System Jan 24, 2023
@mrosvik mrosvik moved this from 📋 Backlog (Design) to Epics in Team Design System Jun 8, 2023
@mrosvik mrosvik changed the title Specification for: Datepicker New component: Datepicker Jun 19, 2023
@mrosvik mrosvik removed the 🎨 figma Everything related to changes in Figma label Jul 5, 2023
@RonnyB71
Copy link

RonnyB71 commented Nov 9, 2023

Requirements asked for by application developers:

  • The ability to pass in an arbitrary list of available dates to select from e.g. 2-4 days within each week for 3 months
  • The ability select time as well as date.

@Barsnes
Copy link
Member

Barsnes commented Nov 13, 2023

Aksel and Shadcn uses react day picker for their date pickers.

@fredrikstorheil
Copy link

fredrikstorheil commented Nov 17, 2023

Summary of: What makes an accessible date picker? Is it even possible? - Inclusive Design 24

I recommend going through the presentation yourselves.
You'll need to navigate downwards on some pages, this is indicated with the four arrows in the bottom right corner.
I also recommend watching the YouTube video.

The presentation covers:

Start with asking these questions. Is a date picker the best solution:

  • For the problem you are trying to solve?
  • For your key audiences?

Date pickers can be suitable for some situations, such as choosing dates for a holiday. Date pickers can be less than ideal in other situations, such as a ‘Date of birth’ component.

The presenter uses these three date pickers as examples in the test:

All three datepickers have their strengths and weaknesses.

@mimarz mimarz removed the component label Feb 1, 2024
@mimarz mimarz added the 🧭 roadmap Used in roadmap label Apr 11, 2024
@mrosvik
Copy link
Member Author

mrosvik commented Aug 29, 2024

New design by Altinn Apps, 29. aug 2024:

Image

@mimarz mimarz moved this from ☂ Epics to 📋 Backlog in Team Design System Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☂️ epic Issues ready 🧭 roadmap Used in roadmap
Projects
Status: No status
Status: 📋 Backlog
Development

No branches or pull requests

5 participants