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

Roles payments remove duration #2258

Merged
merged 16 commits into from
Aug 17, 2024

Conversation

Da-Colon
Copy link
Contributor

@Da-Colon Da-Colon commented Aug 16, 2024

This PR removes duration and all the UI and UX around it.

  • This also fixed a bug with the payments conditional (past what yall saw in the huddle).
  • Deletes PaymentDetails component (no longer needed)

Bug

There is some jankyness around the date selector.

  • Have to double click for startDate then double click as well for endDate for the form to appy these values in form state
  • UX isn't smooth.

Copy link

netlify bot commented Aug 16, 2024

Deploy Preview for decent-interface-dev ready!

Name Link
🔨 Latest commit 8d0c5da
🔍 Latest deploy log https://app.netlify.com/sites/decent-interface-dev/deploys/66c0079985045700088a3876
😎 Deploy Preview https://deploy-preview-2258.app.dev.decentdao.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Da-Colon Da-Colon self-assigned this Aug 16, 2024
Base automatically changed from issue/2230-handoff-role-details to roles-0.2.0/streams August 16, 2024 20:22
@Da-Colon Da-Colon force-pushed the roles-payments-remove-duration branch from 6b17d2e to 0ebf33e Compare August 16, 2024 20:35
Copy link
Contributor

@mudrila mudrila left a 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/components/pages/Roles/RolePaymentDetails.tsx Outdated Show resolved Hide resolved
endDate: secondsTimestampToDate(lockupLinearStream.endTime),
cliffDate: lockupLinearStream.cliff
? secondsTimestampToDate(lockupLinearStream.cliffTime)
: undefined,
// @todo - factor in cliff date.
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What removed?

endDate: secondsTimestampToDate(lockupLinearStream.endTime),
cliffDate: lockupLinearStream.cliff
? secondsTimestampToDate(lockupLinearStream.cliffTime)
: undefined,
// @todo - factor in cliff date.
// @todo - handle cancelled streams
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@adamgall adamgall merged commit 0159386 into roles-0.2.0/streams Aug 17, 2024
7 checks passed
@adamgall adamgall deleted the roles-payments-remove-duration branch August 17, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants