Skip to content
Snippets Groups Projects
Commit f1686f3d authored by lotte's avatar lotte
Browse files

applied feedback

parent 0a1138fb
Branches
Tags
No related merge requests found
Showing
with 39 additions and 6 deletions
......@@ -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,
......
......@@ -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',
......
......@@ -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'],
......
......@@ -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'],
......
......@@ -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 {
/**
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment