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

Improve Date Picker #258

Open
3 tasks done
leonieherma1 opened this issue May 5, 2022 · 0 comments
Open
3 tasks done

Improve Date Picker #258

leonieherma1 opened this issue May 5, 2022 · 0 comments
Assignees
Labels

Comments

@leonieherma1
Copy link

leonieherma1 commented May 5, 2022

Summary
As a DHO user I would like to be able to pick any start date and any end date and not having to use the "period cards" anymore.

https://dho.hypha.earth/hypha/proposals/create

AC

  • Check if we can remove the cards for "date picker" here
  • check if we can use any start date
  • check fi we can use any end date

Tech Notes

I looked into it and picking arbitrary start and end dates should be doable.

Example: Period starts at 1st, ends at 8th

User picks start date 2, end date 5

=> We treat the days of the period before the start date and past the end date as 0% commitment

We already have code that figures out the payouts when users dynamically adjust commitment

So we can pretend they have selected the containing period, and set to 0% commitment before start, and after end date.

Does this sound reasonable @Gerard097 ?

Period Card displays

We can remove the cards from the date picker, or leave them there.

But I think there's other areas in the UX where we show cards. On those, we need to show cards containing the start and end date (could be the same card - ie, in the above example, just the 1st - 8th card).

Cards should be able to indicate when a user has only part of the period - although this can be implemented at a later date.
The UX could have a visual indication that it's a partial period.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants