Duration Data Type #536
Replies: 5 comments 14 replies
-
@ghislaineguerin Nice work on this! Just a couple of points: (1) I think we should support the same "range" grouping that we support for numbers for durations, since durations are fundamentally numbers. This should be in addition to the hour/minute/second grouping that you have. (2) You only have hours, minutes, and seconds as unit options for durations. Durations could also involve days, weeks, months, etc. (3) I think it would be better to replace "greater than" with "longer than" and "lesser than" with "shorter than" for durations. I know I didn't spec it out in the issue that way, I realized while looking at the prototype that it would be easier to read. |
Beta Was this translation helpful? Give feedback.
-
@ghislaineguerin This looks good to me. Kriti seems to have covered all the thoughts I had. |
Beta Was this translation helpful? Give feedback.
-
@kgodey @pavish
|
Beta Was this translation helpful? Give feedback.
-
(1) How would the UX for editing a duration cell on the table look, when there are years/months, along with unit labels are involved? (2) Would the API accept duration as per the display format, or would it only communicate in (3) We could potentially use a similar representation as the option I've specified for date/time in #530 (reply in thread), which I would prefer for duration as well. However, I'm not sure which offers a better UX between this option and the checkbox based prototype. Customization depends on how (1) and (2) would be handled. |
Beta Was this translation helpful? Give feedback.
-
@kgodey @pavish |
Beta Was this translation helpful? Give feedback.
-
The specs related to issue #241 are ready for review. Please take a look at the attached document and follow the review guidelines.
Document Link
https://wiki.mathesar.org/en/design/specs/data-type-duration
@mathemancer @kgodey @pavish, your feedback is required by Tuesday 17th. Please plan your review so that at least one round of changes can be made and reviewed if needed.
Beta Was this translation helpful? Give feedback.
All reactions