Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Adds Add Funds button to the notification #482

Merged
merged 1 commit into from
Jun 5, 2019
Merged

Conversation

NejcZdovc
Copy link
Contributor

Needed in brave/brave-core#2512

Changes

Test plan

Link / storybook path to visual changes

Integration

  • Does this contain changes to src/components or src/

    • Will you publish to npm immediately after this PR, or wait until sometime in the future?
    • Incompatible API change to something existing (major version increase)
    • Adding new backwards-compatible functionality? (minor version increase)
    • Fixing a bug backwards-compatibly? (patch version increase)
  • Does this contain changes to src/features for brave-core?

    • Are there non backwards-compatible changes required for brave-core? Do not merge until brave-core PR is approvable. Link to brave-core PR:
    • Will you create brave-core PR to update to this commit after it is merged?
    • Wants uplift to brave-core feature branch?
      • When uplift-approved, merge to brave-core-0.VV.x feature branch
      • Create additional brave-core PRs for each feature branch to update commit

@@ -170,7 +170,7 @@ export default class Profile extends React.PureComponent<Props, {}> {
{
this.getUnverifiedInfo()
}
<StyledVerifiedCheckLink onClick={onRefreshPublisher}>
<StyledVerifiedCheckLink onClick={onRefreshPublisher} data-test-id={'unverified-check-button'}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you going to need this across the other instances or just the "clickable"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's just so that I can trigger a click

'tipsProcessed' |
'error' |
'pendingContribution' |
''
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this is just alignment mod but do we need the ''. The default case already handles

Copy link
Contributor Author

Choose a reason for hiding this comment

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

isn't default case right for this use case, when you have empty string as type can't be null

@NejcZdovc NejcZdovc force-pushed the unverified-retries branch 7 times, most recently from b443c06 to 8e50405 Compare June 4, 2019 14:48
Copy link
Collaborator

@emerick emerick left a comment

Choose a reason for hiding this comment

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

LGTM

@NejcZdovc NejcZdovc merged commit 7f88568 into master Jun 5, 2019
@NejcZdovc NejcZdovc deleted the unverified-retries branch June 5, 2019 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants