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

Feat/16220651 navigation streaming payments #4037

Open
wants to merge 2 commits into
base: feat/streaming-payments-ui
Choose a base branch
from

Conversation

adam-strzelec
Copy link
Contributor

@adam-strzelec adam-strzelec commented Jan 7, 2025

Description

Add streaming payments to navigation and to action items

Testing

Navigation:

  • click Finances in navigation bar
  • click Streaming

Action item:

  • click Make payment in navigation bar
  • click Streaming payment action

Diffs

New stuff
Screenshot 2025-01-09 at 09 40 31

Screenshot 2025-01-07 at 11 38 13

Resolves - #4020

@adam-strzelec adam-strzelec requested a review from a team as a code owner January 7, 2025 11:05
@CLAassistant
Copy link

CLAassistant commented Jan 7, 2025

CLA assistant check
All committers have signed the CLA.

@adam-strzelec adam-strzelec changed the base branch from master to feat/streaming-payments-ui January 7, 2025 11:05
@adam-strzelec adam-strzelec marked this pull request as draft January 7, 2025 11:06
@adam-strzelec adam-strzelec self-assigned this Jan 7, 2025
@adam-strzelec adam-strzelec force-pushed the feat/16220651-navigation-streaming-payments branch from e844e58 to 1b48d09 Compare January 7, 2025 11:12
@adam-strzelec adam-strzelec marked this pull request as ready for review January 7, 2025 11:12
Copy link
Contributor

@iamsamgibbs iamsamgibbs left a 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!

Screenshot 2025-01-07 at 16 35 22

Screenshot 2025-01-07 at 16 35 34

It seems like a couple of points have been missed from the original issue though. The URL should be changed to just /streaming

Screenshot 2025-01-07 at 16 36 55

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).

Comment on lines 53 to 55
// @TODO: uncomment when streaming payment is ready
// {
// title: formatText({ id: 'actions.streamingPayment' }),
Copy link
Contributor

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 :)

@AdrianDudko AdrianDudko linked an issue Jan 9, 2025 that may be closed by this pull request
Copy link
Member

@arrenv arrenv left a 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.

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.

Streaming payment navigation and action item
4 participants