-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2732 from alexandrevryghem/added-recently-added-s…
…ection-to-community-page_contribute-main Added search facets to community & collection pages
- Loading branch information
Showing
33 changed files
with
283 additions
and
218 deletions.
There are no files selected for viewing
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
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
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
18 changes: 0 additions & 18 deletions
18
src/app/collection-page/sections/recently-added/collection-recently-added.component.html
This file was deleted.
Oops, something went wrong.
53 changes: 0 additions & 53 deletions
53
src/app/collection-page/sections/recently-added/collection-recently-added.component.spec.ts
This file was deleted.
Oops, something went wrong.
82 changes: 0 additions & 82 deletions
82
src/app/collection-page/sections/recently-added/collection-recently-added.component.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
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
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
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
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
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
7 changes: 7 additions & 0 deletions
7
src/app/shared/comcol/sections/comcol-search-section/comcol-search-section.component.html
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<ds-themed-search | ||
[configuration]="(comcol$ | async)?.type" | ||
[showSidebar]="showSidebar$ | async" | ||
[showScopeSelector]="false" | ||
[hideScopeInUrl]="true" | ||
[scope]="(comcol$ | async)?.id"> | ||
</ds-themed-search> |
File renamed without changes.
35 changes: 35 additions & 0 deletions
35
src/app/shared/comcol/sections/comcol-search-section/comcol-search-section.component.spec.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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { ComcolSearchSectionComponent } from './comcol-search-section.component'; | ||
import { ActivatedRoute } from '@angular/router'; | ||
import { ActivatedRouteStub } from '../../../testing/active-router.stub'; | ||
import { APP_CONFIG } from '../../../../../config/app-config.interface'; | ||
import { environment } from '../../../../../environments/environment.test'; | ||
|
||
describe('ComcolSearchSectionComponent', () => { | ||
let component: ComcolSearchSectionComponent; | ||
let fixture: ComponentFixture<ComcolSearchSectionComponent>; | ||
|
||
let route: ActivatedRouteStub; | ||
|
||
beforeEach(async () => { | ||
route = new ActivatedRouteStub(); | ||
|
||
await TestBed.configureTestingModule({ | ||
declarations: [ | ||
ComcolSearchSectionComponent, | ||
], | ||
providers: [ | ||
{ provide: APP_CONFIG, useValue: environment }, | ||
{ provide: ActivatedRoute, useValue: route }, | ||
], | ||
}).compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ComcolSearchSectionComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.