-
Notifications
You must be signed in to change notification settings - Fork 15
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/16220651 navigation streaming payments #4037
base: feat/streaming-payments-ui
Are you sure you want to change the base?
Feat/16220651 navigation streaming payments #4037
Conversation
e844e58
to
1b48d09
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.
Thanks for your work so far on this issue, it is looking good!
It seems like a couple of points have been missed from the original issue though. The URL should be changed to just /streaming
And the "Streaming" menu option should only appear when either the extension is installed, or if there have been streaming payments in the past (even once the extension is uninstalled).
// @TODO: uncomment when streaming payment is ready | ||
// { | ||
// title: formatText({ id: 'actions.streamingPayment' }), |
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.
Can remove this comment now :)
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.
@adam-strzelec Thank you for the PR, we still need to handle the rules based on the state of the extension.
Streaming payment page visibility
- Should be visible if the Streaming payment extension is installed or there has been any streams at all in the colony, even if the extension is no longer installed.
- In the case where there has been streams and the page is visible, but the extension is not installed, we need to show a banner that the extension is disabled and hide the “Create stream” button.
Description
Add streaming payments to navigation and to action items
Testing
Navigation:
Finances
in navigation barStreaming
Action item:
Make payment
in navigation barStreaming payment
actionDiffs
New stuff ✨
Resolves - #4020