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, SearchResultsComponent,
SearchSidebarComponent, SearchSidebarComponent,
SearchSettingsComponent, SearchSettingsComponent,
// ItemSearchResultListElementComponent,
// CollectionSearchResultListElementComponent,
// CommunitySearchResultListElementComponent,
ItemSearchResultGridElementComponent, ItemSearchResultGridElementComponent,
CollectionSearchResultGridElementComponent, CollectionSearchResultGridElementComponent,
CommunitySearchResultGridElementComponent, CommunitySearchResultGridElementComponent,
@@ -68,9 +65,9 @@ const effects = [
SearchConfigurationService SearchConfigurationService
], ],
entryComponents: [ entryComponents: [
// ItemSearchResultListElementComponent, ItemSearchResultListElementComponent,
// CollectionSearchResultListElementComponent, CollectionSearchResultListElementComponent,
// CommunitySearchResultListElementComponent, CommunitySearchResultListElementComponent,
ItemSearchResultGridElementComponent, ItemSearchResultGridElementComponent,
CollectionSearchResultGridElementComponent, CollectionSearchResultGridElementComponent,
CommunitySearchResultGridElementComponent, CommunitySearchResultGridElementComponent,

View File

@@ -14,6 +14,11 @@ import {
SelectorActionType SelectorActionType
} from '../dso-selector-modal-wrapper.component'; } 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({ @Component({
selector: 'ds-create-collection-parent-selector', selector: 'ds-create-collection-parent-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html', templateUrl: '../dso-selector-modal-wrapper.component.html',

View File

@@ -13,6 +13,13 @@ import {
SelectorActionType SelectorActionType
} from '../dso-selector-modal-wrapper.component'; } 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({ @Component({
selector: 'ds-create-community-parent-selector', selector: 'ds-create-community-parent-selector',
styleUrls: ['./create-community-parent-selector.component.scss'], styleUrls: ['./create-community-parent-selector.component.scss'],

View File

@@ -14,6 +14,11 @@ import {
SelectorActionType SelectorActionType
} from '../dso-selector-modal-wrapper.component'; } 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({ @Component({
selector: 'ds-create-item-parent-selector', selector: 'ds-create-item-parent-selector',
// styleUrls: ['./create-item-parent-selector.component.scss'], // styleUrls: ['./create-item-parent-selector.component.scss'],

View File

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

View File

@@ -9,6 +9,11 @@ import {
SelectorActionType SelectorActionType
} from '../dso-selector-modal-wrapper.component'; } 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({ @Component({
selector: 'ds-edit-collection-selector', selector: 'ds-edit-collection-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html', templateUrl: '../dso-selector-modal-wrapper.component.html',

View File

@@ -9,6 +9,11 @@ import {
SelectorActionType SelectorActionType
} from '../dso-selector-modal-wrapper.component'; } 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({ @Component({
selector: 'ds-edit-community-selector', selector: 'ds-edit-community-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html', templateUrl: '../dso-selector-modal-wrapper.component.html',

View File

@@ -15,6 +15,11 @@ import {
SelectorActionType SelectorActionType
} from '../dso-selector-modal-wrapper.component'; } 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({ @Component({
selector: 'ds-edit-item-selector', selector: 'ds-edit-item-selector',
templateUrl: '../dso-selector-modal-wrapper.component.html', templateUrl: '../dso-selector-modal-wrapper.component.html',