-
Notifications
You must be signed in to change notification settings - Fork 7
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
Roles payments remove duration #2258
Roles payments remove duration #2258
Conversation
✅ Deploy Preview for decent-interface-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…o/fractal-interface into roles-payments-remove-duration
6b17d2e
to
0ebf33e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise looks good
Have couple of questions and minor suggestions
src/hooks/DAO/loaders/useHatsTree.ts
Outdated
endDate: secondsTimestampToDate(lockupLinearStream.endTime), | ||
cliffDate: lockupLinearStream.cliff | ||
? secondsTimestampToDate(lockupLinearStream.cliffTime) | ||
: undefined, | ||
// @todo - factor in cliff date. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can be removed after latest discussions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What removed?
src/hooks/DAO/loaders/useHatsTree.ts
Outdated
endDate: secondsTimestampToDate(lockupLinearStream.endTime), | ||
cliffDate: lockupLinearStream.cliff | ||
? secondsTimestampToDate(lockupLinearStream.cliffTime) | ||
: undefined, | ||
// @todo - factor in cliff date. | ||
// @todo - handle cancelled streams |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
This PR removes
duration
and all the UI and UX around it.PaymentDetails
component (no longer needed)Bug
There is some jankyness around the date selector.