Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Only fetch App when necessary #4023

Merged
merged 2 commits into from Jan 4, 2017
Merged

Only fetch App when necessary #4023

merged 2 commits into from Jan 4, 2017

Conversation

ngotchac
Copy link
Contributor

@ngotchac ngotchac commented Jan 3, 2017

Closes #3914

When opening a dapp, only load this one instead of loading all available dapps.
Adds a message if the dapp could not be found.

@ngotchac ngotchac added A0-pleasereview 🤓 Pull request needs code review. M7-ui labels Jan 3, 2017
return (
<div className={ styles.full }>
<div className={ styles.text }>
The dapp <code title={ id }>{ id }</code> can't be reached
Copy link
Contributor

Choose a reason for hiding this comment

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

Would have preferred this (and the Loading above) to be FormattedMessages since we are adding new and don't have to come back to it later.

]);
}

loadApps () {
Copy link
Contributor

@jacogr jacogr Jan 4, 2017

Choose a reason for hiding this comment

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

Probably makes a bit more sense naming this loadAllApps to be more specific (and since we have loadLocalApps (if changed only external call is from views/dapps)

@jacogr jacogr added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 4, 2017
@jacogr jacogr merged commit 71e7a42 into master Jan 4, 2017
@jacogr jacogr deleted the ng-improv-dapp-fetch branch January 4, 2017 14:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants