Release Shakeout Part 1 (#1440)
* Bumped docnet back up, as user issue was not related to the version. Reworked the logic flow for ConfirmEmailToken. Added new test cases for a bug reported around Docnet and weird characters. * Removed a duplicate remove from want to read list * Fixed an issue where series detail didn't appopriately handle remove from want to read. * Added pagination information to want to read, fixed remove from want to read not reloading page * When clearing a series of bookmarks, automatically refresh page. * Added a continue button on reading list page so user can continue where they left off (progress) or start at beginning * Added todo about design idea * Added a bug marker
This commit is contained in:
parent
a3a0b61fc0
commit
9d90652792
19 changed files with 57 additions and 42 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<div cdkDropList class="{{items.length > 0 ? 'example-list list-group-flush' : ''}}" (cdkDropListDropped)="drop($event)">
|
||||
<!-- BUG: https://github.com/angular/components/issues/14098 -->
|
||||
<div class="example-box" *ngFor="let item of items; index as i" cdkDrag [cdkDragData]="item" cdkDragBoundary=".example-list">
|
||||
<div class="d-flex list-container">
|
||||
<div class="me-3 align-middle">
|
||||
|
|
|
|||
|
|
@ -18,12 +18,18 @@
|
|||
<div class="row g-0 mb-3">
|
||||
<div class="col-auto me-2">
|
||||
<!-- Action row-->
|
||||
<button class="btn btn-primary" title="Read" (click)="read()">
|
||||
<button class="btn btn-primary" title="Read from beginning" (click)="read()">
|
||||
<span>
|
||||
<i class="fa fa-book-open" aria-hidden="true"></i>
|
||||
<i class="fa fa-book" aria-hidden="true"></i>
|
||||
<span class="read-btn--text"> Read</span>
|
||||
</span>
|
||||
</button>
|
||||
<button class="btn btn-primary ms-2" title="Continue from last reading position" (click)="continue()">
|
||||
<span>
|
||||
<i class="fa fa-book-open" aria-hidden="true"></i>
|
||||
<span class="read-btn--text"> Continue</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button class="btn btn-secondary" (click)="removeRead()" [disabled]="readingList.promoted && !this.isAdmin">
|
||||
|
|
@ -33,6 +39,7 @@
|
|||
<span class="read-btn--text"> Remove Read</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- TODO: Move this in companion bar's page actions -->
|
||||
<div class="col-auto ms-2 mt-2" *ngIf="!(readingList?.promoted && !this.isAdmin)">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" id="accessibilit-mode" [value]="accessibilityMode" (change)="accessibilityMode = !accessibilityMode">
|
||||
|
|
|
|||
|
|
@ -176,6 +176,12 @@ export class ReadingListDetailComponent implements OnInit {
|
|||
}
|
||||
|
||||
read() {
|
||||
if (!this.readingList) return;
|
||||
const firstItem = this.items[0];
|
||||
this.router.navigate(this.readerService.getNavigationArray(firstItem.libraryId, firstItem.seriesId, firstItem.chapterId, firstItem.seriesFormat), {queryParams: {readingListId: this.readingList.id}});
|
||||
}
|
||||
|
||||
continue() {
|
||||
// TODO: Can I do this in the backend?
|
||||
if (!this.readingList) return;
|
||||
let currentlyReadingChapter = this.items[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue