Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ico updates #35

Open
wants to merge 315 commits into
base: master
Choose a base branch
from
Open

Ico updates #35

wants to merge 315 commits into from

Conversation

herbepau
Copy link

@herbepau herbepau commented Aug 6, 2018

dev0tion and others added 30 commits September 28, 2017 00:30
Require creation date on recovery, build latest styling
Remove old datepicker module, wait for both daemons to be loaded
Disabled strict password requirements
Remove to/from from transaction details
bokobza and others added 27 commits December 4, 2017 19:44
…pdate

updated StratisBitcoinFullNode submodule
…pdate

updated StratisBitcoinFullNode submodule
<label style="font-size:10px">Working...</label>
</div>
</div>
<div class="alert alert-danger" role="alert" *ngIf="errored">
<label>{{erroredText}}</label>
<div *ngIf="errored">

Choose a reason for hiding this comment

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

Is ngSwitch more appropriate here as we are showing divs based on state? https://angular.io/api/common/NgSwitch. Also would be good to get rid of inline styles and combine into common class

/>
<app-feedback *ngIf="!generateAddressesLoadingState.success" style="margin-left:5px; width:115px" [loading]="generateAddressesLoadingState.loading"
[errored]="generateAddressesLoadingState.errored" [erroredText]="'Failed'"></app-feedback>
<app-feedback style="margin-left:5px; width:115px" [loading]="generateAddressesLoadingState.loading" [success]="showAddressesTick"

Choose a reason for hiding this comment

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

Is there any way to move this to a css class instead of inline styles?

@fenix2222
Copy link

There are also conflicts

@@ -12,14 +12,16 @@ import { LoadingState } from './loadingState';
styleUrls: ['./advanced.component.css']
})
export class AdvancedComponent implements OnInit, OnDestroy {
private addressCount: string;
private addressCount = "";

Choose a reason for hiding this comment

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

Single quotes for consistency

<button *ngIf="addressCountControl.invalid || !addressCount" style="color: gray; outline:none" class="btn btn-default" type="button">Go</button>
</div>
</span>
<div style="display: flex; flex-direction: row; margin-top:30px">

Choose a reason for hiding this comment

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

inline styles, move to css class

if (response.json().transactionsHistory.length > 0) {
historyResponse = response.json().transactionsHistory;
const json = response.json();
if (json.transactionsHistory) {

Choose a reason for hiding this comment

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

What happens if response doesn't have transactionsHistory? Should we log it or report it to user?

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.

7 participants