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

Nice error pages for Dapps & Signer #2033

Merged
merged 9 commits into from
Sep 5, 2016
Merged

Nice error pages for Dapps & Signer #2033

merged 9 commits into from
Sep 5, 2016

Conversation

tomusdrw
Copy link
Collaborator

@tomusdrw tomusdrw commented Sep 1, 2016

screenshot from 2016-09-01 11 38 43

Look and feel is aligned with upcoming @jacogr 's parity-js implementation.

Additional modifications:

  1. Error page returned when node is in sync
  2. 404 page returned instead of redirecting to Home in case invalid URL is supplied.

Related: #1176

@tomusdrw tomusdrw added the A0-pleasereview 🤓 Pull request needs code review. label Sep 1, 2016
Conflicts:
	Cargo.lock
	dapps/src/router/mod.rs
	signer/src/ws_server/session.rs
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 85.053% when pulling 31dbbf5 on dapps-sync into b4f3c4b on master.

StatusCode::BadGateway,
format!("<h1>Error starting dapp download.</h1><pre>{}</pre>", e),
"Unable To Start Dapp Download",
"Could not initialize download of the dapp. It might be a problem with remote server.",
Copy link
Contributor

Choose a reason for hiding this comment

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

"the remote server"

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 85.099% when pulling 9f8482e on dapps-sync into b4f3c4b on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 85.105% when pulling d0bc80e on dapps-sync into b4f3c4b on master.

Conflicts:
	dapps/src/handlers/fetch.rs
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 84.181% when pulling e2377dd on dapps-sync into 59f18ab on master.

@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Sep 5, 2016
@debris debris merged commit 9655920 into master Sep 5, 2016
@debris debris deleted the dapps-sync branch September 5, 2016 13:33
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.

4 participants