Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Fixed wallet preference page refresh #7443

Merged
merged 2 commits into from
Mar 2, 2017

Conversation

NejcZdovc
Copy link
Contributor

@NejcZdovc NejcZdovc commented Mar 2, 2017

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Resolves #6770

Auditors:
@alexwykoff @bsclifton @mrose17

Test plan

  1. clear your session, open brave
  2. open preferences, create a wallet
  3. in a new tab, visit https://jsfiddle.net/LnwtLckc/5/, click on register
  4. switch tabs back to preferences, check add funds modal, 'transfer btc' button should now show

@NejcZdovc NejcZdovc added this to the 0.13.6 milestone Mar 2, 2017
@NejcZdovc NejcZdovc self-assigned this Mar 2, 2017
@NejcZdovc NejcZdovc requested review from mrose17 and bsclifton March 2, 2017 08:31
Copy link
Member

@mrose17 mrose17 left a comment

Choose a reason for hiding this comment

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

looks good to me... please commit when all reviews complete!

@bsclifton bsclifton modified the milestones: 0.13.5, 0.13.6 Mar 2, 2017
Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

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

Looks good! I ran the unit tests, fixed one that I had broke (whoops!). Great job- merging 😄

fn(ses, partition, module.exports.isPrivate(partition))
})
ses.on('register-navigator-handler', (e, protocol, location) => {
appActions.navigatorHandler(ses.partition, protocol, location, true)
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should try to keep the declarative naming conventions here so maybe navigatorHandlerRegistered and navigatorHandlerUnregistered?

Copy link
Member

Choose a reason for hiding this comment

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

Good call 👍 Since this is already merged, please feel free to do as a follow up, @NejcZdovc 😄

@@ -232,6 +232,11 @@ const doAction = (action) => {
setTimeout(networkConnected, 1 * msecs.second)
break

case appConstants.APP_NAVIGATOR_HANDLER_UPDATE:
Copy link
Collaborator

Choose a reason for hiding this comment

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

related to the above comment, the app constant name should match the action name

NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this pull request Mar 3, 2017
NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this pull request Mar 3, 2017
@NejcZdovc NejcZdovc mentioned this pull request Mar 3, 2017
bridiver added a commit that referenced this pull request Mar 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants