-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: add redo to streaming payment #3648
base: feat/streaming-payments-ui
Are you sure you want to change the base?
feat: add redo to streaming payment #3648
Conversation
df5c2bc
to
6e7f215
Compare
d764cee
to
c252cca
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.
Nice work on this! I tested every scenario with different start / end conditions I could think of and it is handling them all fine.
The only reason I'm rejecting, is because of this recent PR #3587 which re-enables the redo option from the activity table. Currently here it isn't possible to redo via the activity table. It would be great if the feat/streaming-payments-ui
feature branch could be rebased onto master and make sure the redo via activity table functionality is working here. Especially as there is some custom logic in getting the correct values to show.
const isStartImmediately = | ||
Math.abs(startTimeDate.getTime() - new Date(createdAt).getTime()) < 60000; | ||
|
||
// console.log({isStartImmediately, startTimeDate, createdAt}); |
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.
Left over console log
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.
Switching this to an approval and we can handle the redo via activity table as a separate issue after the branches have been rebased.
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.
Works nice and the solution is very simple 👍
Tried out a few cases, got 2 on video too 👀
redo-streaming-2024-11-22_15.26.57.mp4
@@ -42,6 +42,7 @@ const useActionFormBaseHook: UseActionFormBaseHook = ({ | |||
validationSchema, | |||
actionType, | |||
id, | |||
transform, |
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.
nice catch!
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.
Description
Testing
TODO
Resolves #3141