From 6674991d8e9d328accfadfe76cc9c5a651af5285 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sat, 17 Mar 2018 20:30:29 -0600 Subject: [PATCH] web-ui: Rename TransactionFinder to Finder --- web-ui/src/app/app.module.ts | 4 ++-- .../finder.component.css} | 0 .../finder.component.html} | 0 .../finder.component.spec.ts} | 10 +++++----- .../finder.component.ts} | 8 ++++---- web-ui/src/app/components/home/home.component.html | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) rename web-ui/src/app/components/{transaction-finder/transaction-finder.component.css => finder/finder.component.css} (100%) rename web-ui/src/app/components/{transaction-finder/transaction-finder.component.html => finder/finder.component.html} (100%) rename web-ui/src/app/components/{transaction-finder/transaction-finder.component.spec.ts => finder/finder.component.spec.ts} (57%) rename web-ui/src/app/components/{transaction-finder/transaction-finder.component.ts => finder/finder.component.ts} (85%) diff --git a/web-ui/src/app/app.module.ts b/web-ui/src/app/app.module.ts index 4ff6a71..5f2e79d 100644 --- a/web-ui/src/app/app.module.ts +++ b/web-ui/src/app/app.module.ts @@ -25,7 +25,7 @@ import { HomeComponent } from './components/home/home.component'; import { FooterComponent } from './components/footer/footer.component'; import { NavbarComponent } from './components/navbar/navbar.component'; import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component'; -import { TransactionFinderComponent } from './components/transaction-finder/transaction-finder.component'; +import { FinderComponent } from './components/finder/finder.component'; import { AddressDetailsComponent } from './components/address-details/address-details.component'; import { BlockDetailsComponent } from './components/block-details/block-details.component'; @@ -36,7 +36,7 @@ import { BlockDetailsComponent } from './components/block-details/block-details. FooterComponent, NavbarComponent, TransactionDetailsComponent, - TransactionFinderComponent, + FinderComponent, AddressDetailsComponent, BlockDetailsComponent ], diff --git a/web-ui/src/app/components/transaction-finder/transaction-finder.component.css b/web-ui/src/app/components/finder/finder.component.css similarity index 100% rename from web-ui/src/app/components/transaction-finder/transaction-finder.component.css rename to web-ui/src/app/components/finder/finder.component.css diff --git a/web-ui/src/app/components/transaction-finder/transaction-finder.component.html b/web-ui/src/app/components/finder/finder.component.html similarity index 100% rename from web-ui/src/app/components/transaction-finder/transaction-finder.component.html rename to web-ui/src/app/components/finder/finder.component.html diff --git a/web-ui/src/app/components/transaction-finder/transaction-finder.component.spec.ts b/web-ui/src/app/components/finder/finder.component.spec.ts similarity index 57% rename from web-ui/src/app/components/transaction-finder/transaction-finder.component.spec.ts rename to web-ui/src/app/components/finder/finder.component.spec.ts index 8c67150..7ba4a1d 100644 --- a/web-ui/src/app/components/transaction-finder/transaction-finder.component.spec.ts +++ b/web-ui/src/app/components/finder/finder.component.spec.ts @@ -1,20 +1,20 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; -import { TransactionFinderComponent } from './transaction-finder.component'; +import { FinderComponent } from './finder.component'; describe('TransactionFinderComponent', () => { - let component: TransactionFinderComponent; - let fixture: ComponentFixture; + let component: FinderComponent; + let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ TransactionFinderComponent ] + declarations: [ FinderComponent ] }) .compileComponents(); })); beforeEach(() => { - fixture = TestBed.createComponent(TransactionFinderComponent); + fixture = TestBed.createComponent(FinderComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/web-ui/src/app/components/transaction-finder/transaction-finder.component.ts b/web-ui/src/app/components/finder/finder.component.ts similarity index 85% rename from web-ui/src/app/components/transaction-finder/transaction-finder.component.ts rename to web-ui/src/app/components/finder/finder.component.ts index bf5268a..dd3d0cf 100644 --- a/web-ui/src/app/components/transaction-finder/transaction-finder.component.ts +++ b/web-ui/src/app/components/finder/finder.component.ts @@ -7,11 +7,11 @@ import { NavigatorService } from '../../services/navigator.service'; import { TransactionsService } from '../../services/transactions.service'; @Component({ - selector: 'app-transaction-finder', - templateUrl: './transaction-finder.component.html', - styleUrls: ['./transaction-finder.component.css'] + selector: 'app-finder', + templateUrl: './finder.component.html', + styleUrls: ['./finder.component.css'] }) -export class TransactionFinderComponent implements OnInit { +export class FinderComponent implements OnInit { form: FormGroup; diff --git a/web-ui/src/app/components/home/home.component.html b/web-ui/src/app/components/home/home.component.html index 6f9509e..e063cc3 100644 --- a/web-ui/src/app/components/home/home.component.html +++ b/web-ui/src/app/components/home/home.component.html @@ -1,3 +1,3 @@
- +