Skip to content

QoL: Visualize Dateranges within the Datepicker #3683

Description

@Balenty
  • Nextcloud-Version: 33.0.5.1 (Docker)
  • Forms-Version: 5.4.0

Problem:
When answering a form containing a date picker with a start- and/or end-date range, it mostly has to be communicated in the question/description. This can sometimes be some hassle for the user, especially if the range cannot be displayed within the same month.

Suggestion:
I would suggest adding a client-side visualization adjustment of the datepicker, where the allowed and not allowed dates, if given, are colored accordingly.

Additional Thoughts:
Implementation should be without major changes, as the user already receives the start/end detail of the question by default when loading the form. Furthermore, with the new change that these ranges are saved as a Datestring instead of a Unix timestamp, this might further simplify this implementation (assuming older Forms, which are still using Unix timestamps, are not supposed to get this QoL improvement).

Two example mockup images of how it could look (the valid time range is, in this example, 18.08-22.08):

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions