applied feedback

This commit is contained in:
lotte
2019-03-11 12:40:29 +01:00
parent 0a1138fbbd
commit f1686f3de1
8 changed files with 39 additions and 6 deletions

View File

@@ -45,9 +45,6 @@ const effects = [
SearchResultsComponent,
SearchSidebarComponent,
SearchSettingsComponent,
// ItemSearchResultListElementComponent,
// CollectionSearchResultListElementComponent,
// CommunitySearchResultListElementComponent,
ItemSearchResultGridElementComponent,
CollectionSearchResultGridElementComponent,
CommunitySearchResultGridElementComponent,
@@ -68,9 +65,9 @@ const effects = [
SearchConfigurationService
],
entryComponents: [
// ItemSearchResultListElementComponent,
// CollectionSearchResultListElementComponent,
// CommunitySearchResultListElementComponent,
ItemSearchResultListElementComponent,
CollectionSearchResultListElementComponent,
CommunitySearchResultListElementComponent,
ItemSearchResultGridElementComponent,
CollectionSearchResultGridElementComponent,
CommunitySearchResultGridElementComponent,

View File

@@ -14,6 +14,11 @@ import {
SelectorActionType
} from '../dso-selector-modal-wrapper.component';
/**
* Component to wrap a list of existing communities inside a modal
* Used to choose a community from to create a new collection in
*/
@Component({
selector: 'ds-create-collection-parent-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html',

View File

@@ -13,6 +13,13 @@ import {
SelectorActionType
} from '../dso-selector-modal-wrapper.component';
/**
* Component to wrap a button - for top communities -
* and a list of parent communities - for sub communities
* inside a modal
* Used to create a new community
*/
@Component({
selector: 'ds-create-community-parent-selector',
styleUrls: ['./create-community-parent-selector.component.scss'],

View File

@@ -14,6 +14,11 @@ import {
SelectorActionType
} from '../dso-selector-modal-wrapper.component';
/**
* Component to wrap a list of existing collections inside a modal
* Used to choose a collection from to create a new item in
*/
@Component({
selector: 'ds-create-item-parent-selector',
// styleUrls: ['./create-item-parent-selector.component.scss'],

View File

@@ -12,6 +12,10 @@ export enum SelectorActionType {
EDIT = 'edit'
}
/**
* Abstract base class that represents a wrapper for modal content used to select a DSpace Object
*/
@Injectable()
export abstract class DSOSelectorModalWrapperComponent implements OnInit {
/**

View File

@@ -9,6 +9,11 @@ import {
SelectorActionType
} from '../dso-selector-modal-wrapper.component';
/**
* Component to wrap a list of existing collections inside a modal
* Used to choose a collection from to edit
*/
@Component({
selector: 'ds-edit-collection-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html',

View File

@@ -9,6 +9,11 @@ import {
SelectorActionType
} from '../dso-selector-modal-wrapper.component';
/**
* Component to wrap a list of existing communities inside a modal
* Used to choose a community from to edit
*/
@Component({
selector: 'ds-edit-community-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html',

View File

@@ -15,6 +15,11 @@ import {
SelectorActionType
} from '../dso-selector-modal-wrapper.component';
/**
* Component to wrap a list of existing items inside a modal
* Used to choose an item from to edit
*/
@Component({
selector: 'ds-edit-item-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html',