siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
198 stars 67 forks source link

Request to add an extra option to show days with the Time picker #853

Closed ashutoshKashyap97 closed 8 months ago

ashutoshKashyap97 commented 1 year ago

Suggestion / feature request

image

Hello Team, We wanted to add a days option along with the time picker as shown in the screenshot. As per IX documentation we could only implement the time picker for 24hrs. Can you please add an option or enhancement for this use case. Please suggest us any work around if there is one.

nuke-ellington commented 11 months ago

Hi @ashutoshKashyap97, can you please tell us more about the use case behind this issue? We would like to understand the requirements better before we make a descision on this topic. Thank you

suraj-k-siemens commented 9 months ago

Hi @nuke-ellington

We have a requirement to chose a Time Duration from the UI, for instance

  1. 8 hours (A typical Shift Duration in an Assembly line)
  2. Two Days
  3. 36 Hours
  4. 120 Minutes

while designing our UX; a close-fit to this requirement was to utilize the already available time picker, So we had thought it would be nice to configure / extend the existing time picker from IX to make it look like the image below time picker But the time picker only allows us to chose a duration lesser than 24 hrs

What we need is to chose a duration ranging from Minutes to Few Days. Seconds are not relevant to us, so it would also be helpful if we could disable the Seconds part or set it always to 00

nuke-ellington commented 8 months ago

Settings days is out of scope for a time picker component since it is limited to 24 hours. If you really want to utilize it regardless please consider the date time picker instead.