Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Aw 82#42

Merged
centrys-cristian-ilca merged 7 commits into
devfrom
AW-82
May 17, 2018
Merged

Aw 82#42
centrys-cristian-ilca merged 7 commits into
devfrom
AW-82

Conversation

@centrys-cristian-ilca
Copy link
Copy Markdown
Contributor

No description provided.

getBalanceTask,
evt -> updateNewBalance(currency, getBalanceTask.getValue()),
getErrorEvent(throwable -> {}, getBalanceTask),
getErrorEvent(throwable -> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

undo


private AionConstants() {}

public static final String AION_URL = "http://mainnet.aion.network";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe we should move this to the URL Manager?

int col = position.getColumn();
if (table.getColumns().get(col).getText().equals("Tx Hash")) {
Object cell = table.getColumns().get(col).getCellData(row);
URLManager.openURL(AionConstants.AION_URL + "/#/transaction/" + cell.toString());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think URLManager should have some convenience methods like opeDashboardURL, openTransactionURL, openAccountURL where we just provide the variable part of the link.

updateStyles(empty ? null : item);
}

private void updateStyles(String item) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is my doing, but the parameter can be final

@centrys-cristian-ilca centrys-cristian-ilca merged commit 08c3302 into dev May 17, 2018
theotniel pushed a commit that referenced this pull request May 22, 2018
* Added click listener for table

* Added link to aion dashboard for transactions

* Added URLManager

* start of column styling

* Added code to change the cell style - not done

* AW-82 - Set Link Style for TxHash column

* Fixes for URLManager
@theotniel theotniel deleted the AW-82 branch May 23, 2018 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants