Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

feat: Relates to #311. Switch to Blockscout. Update tx link#314

Merged
amaury1093 merged 13 commits intomasterfrom
luke-311-link-blockscout
Jan 2, 2019
Merged

feat: Relates to #311. Switch to Blockscout. Update tx link#314
amaury1093 merged 13 commits intomasterfrom
luke-311-link-blockscout

Conversation

@ltfschoen
Copy link
Contributor

@ltfschoen ltfschoen commented Dec 20, 2018

  • Add Blockscout SVG icon to each token card and link it to relevant Blockscout page depending on whether it is for Ethereum or a different token was sent
  • Update the transaction confirmation page to link to the relevent Blockscout page with the transactions depending on whether Ethereum or a different token was sent
  • ** Important Note: I have not obtained permission yet to use the POA Network logo**

Screenshots below:

Token list page
screen shot 2018-12-20 at 3 50 02 am

Send Ether page
screen shot 2018-12-20 at 3 50 15 am

Send THIBCoin page
screen shot 2018-12-20 at 3 50 28 am

…e TokenBalance component

* Opens link to the Etherscan account page when the user clicks the TokenBalance component on the "Send Ether" page

* Opens link to directly to the specific token page of the Etherscan account when the user clicks the TokenBalance component on the "Send THIBCoin" (or other non-Ether token) page
Copy link
Collaborator

@Tbaut Tbaut left a comment

Choose a reason for hiding this comment

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

To fix #311 we just need to change Etherscan for Blockscout. This icon adds noise to the screen and I don't believe it fits well here.

Reminder: Fether is very much appreciated for its simplicity and slick design. Let's keep things as simple and minimalist as possible. Anything added to the screen should be thought 7x about.

@ltfschoen ltfschoen changed the title feat: Relates to #311. Switch to Blockscout. Add logo link on token cards. Update tx link feat: Relates to #311. Switch to Blockscout. Update tx link Dec 20, 2018
@ltfschoen
Copy link
Contributor Author

Ok, I thought this would be convenient for users based on this feedback from @amaurymartiny #310 (comment).
I'll remove the logo links and just stick with updating the tx link

@ltfschoen
Copy link
Contributor Author

@Tbaut I've pushed a commit that only makes the switch from using Etherscan to BlockScout on the transaction confirmation page.

We could refer to the code that I've removed to help close-out #98 (but just providing a 'View transactions' link without using any icon)

Copy link
Collaborator

@Tbaut Tbaut left a comment

Choose a reason for hiding this comment

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

Small nits, otherwise works well 👍 thanks!
As usual, I'd wait for those who know better for a proper code review 😎

@ltfschoen
Copy link
Contributor Author

@Tbaut I've pushed further commits addressing your latest comments

@Tbaut
Copy link
Collaborator

Tbaut commented Dec 20, 2018

👍 lgtm functionnality-wise

Copy link
Collaborator

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

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

Works well! Tiny comments

// SPDX-License-Identifier: BSD-3-Clause

const baseUrl = chainName => {
let baseUrl;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you pick a different variable name?

baseUrl is also the name of the function, when you do baseUrl = ... the reader is not 100% sure... It seems to work though.

@amaury1093
Copy link
Collaborator

@ltfschoen Can you address the above nit (should take 5min), so that we can merge this one?

@ltfschoen
Copy link
Contributor Author

@amaurymartiny yes making the changes

@amaury1093 amaury1093 merged commit 739e948 into master Jan 2, 2019
@amaury1093 amaury1093 deleted the luke-311-link-blockscout branch January 2, 2019 09:23
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.

3 participants