Skip to content

Commit

Permalink
chore(cleanup): remove unused files and code
Browse files Browse the repository at this point in the history
  • Loading branch information
tkohr committed Jan 18, 2024
1 parent 2e5e630 commit 40465a9
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 201 deletions.
Empty file.

This file was deleted.

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.

This file was deleted.

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.

This file was deleted.

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 {}

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

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.

This file was deleted.

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 {}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Component, Input, OnInit } from '@angular/core'
import { Store } from '@ngrx/store'
import {
FIELDS_BRIEF,
FavoritesService,
RouterFacade,
SearchFacade,
SearchState,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { ChangeDetectionStrategy, Component } from '@angular/core'

@Component({
selector: 'mel-datahub-search-page',
providers: [],
templateUrl: './search-page.component.html',
styles: ``,
changeDetection: ChangeDetectionStrategy.OnPush,
Expand Down
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 {}

0 comments on commit 40465a9

Please sign in to comment.