-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cleanup): remove unused files and code
- Loading branch information
Showing
21 changed files
with
19 additions
and
201 deletions.
There are no files selected for viewing
Empty file.
22 changes: 0 additions & 22 deletions
22
...pp/common/results-list-item/results-card-favorite/results-card-favorite.component.spec.ts
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...src/app/common/results-list-item/results-card-favorite/results-card-favorite.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import { Component } from '@angular/core' | ||
import { ChangeDetectionStrategy, Component } from '@angular/core' | ||
import { ResultsListItemComponent } from '../results-list-item.component' | ||
|
||
@Component({ | ||
selector: 'mel-datahub-results-card-favorite', | ||
templateUrl: './results-card-favorite.component.html', | ||
styleUrl: './results-card-favorite.component.css', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ResultsCardFavoriteComponent extends ResultsListItemComponent {} |
Empty file.
22 changes: 0 additions & 22 deletions
22
...n/results-list-item/results-card-last-created/results-card-last-created.component.spec.ts
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...common/results-list-item/results-card-last-created/results-card-last-created.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import { Component } from '@angular/core' | ||
import { ChangeDetectionStrategy, Component } from '@angular/core' | ||
import { ResultsListItemComponent } from '../results-list-item.component' | ||
|
||
@Component({ | ||
selector: 'mel-datahub-results-card-last-created', | ||
templateUrl: './results-card-last-created.component.html', | ||
styleUrl: './results-card-last-created.component.css', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ResultsCardLastCreatedComponent extends ResultsListItemComponent {} |
Empty file.
22 changes: 0 additions & 22 deletions
22
...rc/app/common/results-list-item/results-card-search/results-card-search.component.spec.ts
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...hub/src/app/common/results-list-item/results-card-search/results-card-search.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import { Component } from '@angular/core' | ||
import { ChangeDetectionStrategy, Component } from '@angular/core' | ||
import { ResultsListItemComponent } from '../results-list-item.component' | ||
|
||
@Component({ | ||
selector: 'mel-datahub-results-card-search', | ||
templateUrl: './results-card-search.component.html', | ||
styleUrl: './results-card-search.component.css', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ResultsCardSearchComponent extends ResultsListItemComponent {} |
21 changes: 0 additions & 21 deletions
21
apps/datahub/src/app/common/results-list-item/results-list-item.component.html
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
apps/datahub/src/app/common/results-list-item/results-list-item.component.spec.ts
This file was deleted.
Oops, something went wrong.
Empty file.
22 changes: 0 additions & 22 deletions
22
...src/app/common/results-list/results-list-carousel/results-list-carousel.component.spec.ts
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...ahub/src/app/common/results-list/results-list-carousel/results-list-carousel.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import { Component } from '@angular/core' | ||
import { ChangeDetectionStrategy, Component } from '@angular/core' | ||
import { ResultsListComponent } from '../results-list.component' | ||
|
||
@Component({ | ||
selector: 'mel-datahub-results-list-carousel', | ||
templateUrl: './results-list-carousel.component.html', | ||
styleUrl: './results-list-carousel.component.css', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ResultsListCarouselComponent extends ResultsListComponent {} |
Empty file.
22 changes: 0 additions & 22 deletions
22
...datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.spec.ts
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import { Component } from '@angular/core' | ||
import { ChangeDetectionStrategy, Component } from '@angular/core' | ||
import { ResultsListComponent } from '../results-list.component' | ||
|
||
@Component({ | ||
selector: 'mel-datahub-results-list-grid', | ||
templateUrl: './results-list-grid.component.html', | ||
styleUrl: './results-list-grid.component.css', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ResultsListGridComponent extends ResultsListComponent {} |
22 changes: 0 additions & 22 deletions
22
apps/datahub/src/app/common/results-list/results-list.component.spec.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
apps/datahub/src/app/search/search-page/search-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 2 additions & 14 deletions
16
apps/datahub/src/app/search/search-results/search-results.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core' | ||
import { RouterFacade, SearchFacade } from 'geonetwork-ui' | ||
import { CatalogRecord } from 'geonetwork-ui/libs/common/domain/src/lib/model/record' | ||
import { ChangeDetectionStrategy, Component } from '@angular/core' | ||
|
||
@Component({ | ||
selector: 'mel-datahub-search-results', | ||
templateUrl: './search-results.component.html', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class SearchResultsComponent implements OnInit { | ||
isQualitySortable = true | ||
|
||
constructor( | ||
private searchRouter: RouterFacade, | ||
private searchFacade: SearchFacade | ||
) {} | ||
ngOnInit() { | ||
this.searchFacade.setResultsLayout('CARD') | ||
} | ||
} | ||
export class SearchResultsComponent {} |