Bulk Add to Collection (#674)
* Fixed the typeahead not having the same size input box as other inputs * Implemented the ability to add multiple series to a collection through bulk operations flow. Updated book parser to handle "@import url('...');" syntax as well as @import '...'; * Implemented the ability to create a new Collection tag via bulk operations flow.
This commit is contained in:
parent
908c872f5c
commit
52f8fbe3db
31 changed files with 309 additions and 16 deletions
|
@ -19,7 +19,8 @@ export enum Action {
|
|||
Download = 7,
|
||||
Bookmarks = 8,
|
||||
IncognitoRead = 9,
|
||||
AddToReadingList = 10
|
||||
AddToReadingList = 10,
|
||||
AddToCollection = 11
|
||||
}
|
||||
|
||||
export interface ActionItem<T> {
|
||||
|
@ -90,6 +91,13 @@ export class ActionFactoryService {
|
|||
requiresAdmin: true
|
||||
});
|
||||
|
||||
this.seriesActions.push({
|
||||
action: Action.AddToCollection,
|
||||
title: 'Add to Collection',
|
||||
callback: this.dummyCallback,
|
||||
requiresAdmin: true
|
||||
});
|
||||
|
||||
this.seriesActions.push({
|
||||
action: Action.Edit,
|
||||
title: 'Edit',
|
||||
|
@ -209,7 +217,7 @@ export class ActionFactoryService {
|
|||
title: 'Add to Reading List',
|
||||
callback: this.dummyCallback,
|
||||
requiresAdmin: false
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
this.volumeActions = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue