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

Web view with web3.site support #4313

Merged
merged 28 commits into from
Feb 4, 2017
Merged

Web view with web3.site support #4313

merged 28 commits into from
Feb 4, 2017

Conversation

jacogr
Copy link
Contributor

@jacogr jacogr commented Jan 26, 2017

  1. Rust code required to support web3.site and new web-encoding.
  2. Split logic from views/Web into re-usable store
  3. Split DappUrlInput component from views/Web, allowing the re-usable entry of a web URL
  4. Add util/dapplink to encode <token+url>.web.web3.site URLs

@jacogr jacogr added A0-pleasereview 🤓 Pull request needs code review. M7-ui labels Jan 26, 2017
This was referenced Jan 26, 2017
jacogr added a commit that referenced this pull request Jan 26, 2017
@jacogr jacogr added A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 26, 2017
@jacogr jacogr added A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. A0-pleasereview 🤓 Pull request needs code review. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Jan 26, 2017
@gavofyork
Copy link
Contributor

is ethlink a PR?

@jacogr
Copy link
Contributor Author

jacogr commented Jan 26, 2017

@gavofyork Not yet. First need https://github.com/ethcore/parity/pull/4302 in, then @tomusdrw will probably PR that one

(Myself and him have been testing the branch extensively, actually my current running Parity version, but it still needs a tweak or two)

@jacogr jacogr changed the title Create store for Web view Web view with web3.site support Jan 31, 2017
@tomusdrw tomusdrw added M4-core ⛓ Core client code / Rust. and removed A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. labels Jan 31, 2017
Copy link
Contributor

@ngotchac ngotchac 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 from a UI/JS POV

onChange={ this.onChangeUrl }
onGoto={ this.onGotoUrl }
onRestore={ this.onRestoreUrl }
url={ nextUrl }
/>
<Button
disabled={ isPristine }
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if that's the wanted behavior, but the Button is disabled if the URL isPristine, but pressing <enter> still calls onGotoUrl

Copy link
Collaborator

Choose a reason for hiding this comment

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

It's the same as in standard browser, no?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have any Go button on Chrome, so not sure. I think it's more used as: if the URL is pristine, then have the reload button ; if not, have the go button

Copy link
Contributor

Choose a reason for hiding this comment

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

(Any way I just wanted to point out this behavior, which is totally fine with me, just in case it wasn't expected)

@derhuerst
Copy link
Contributor

JS LGTM.

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 4, 2017
@gavofyork gavofyork merged commit b4c24d5 into master Feb 4, 2017
@gavofyork gavofyork deleted the jg-web-view branch February 4, 2017 08:52
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. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants