refactor(ui): rebrand frontend surfaces to grimmory
- Frontend branding: - rename visible Booklore branding in the app shell, document title, page titles, manifest metadata, package metadata, and frontend README - update first-party documentation links to the Grimmory docs site - rename the Angular workspace project id to `grimmory` while keeping the current output path contract unchanged for now - Compatibility shims: - make Grimmory-first UI state and permission names coexist with the legacy Booklore API payload names - add explicit `TODO(grimmory-cleanup)` markers on the temporary language-storage, KOReader, permission, and reset-progress aliases - keep legacy endpoint and payload fallbacks in place where the backend still speaks Booklore - Reader and settings cleanup: - rename KOReader toggle state and bulk-reset permission handling in the UI to Grimmory-first identifiers - update progress labels and tooltips so the frontend no longer displays Booklore to end users
This commit is contained in:
@@ -356,7 +356,7 @@ export class BookMenuService {
|
||||
});
|
||||
}
|
||||
|
||||
if (permissions?.canBulkResetBookloreReadProgress) {
|
||||
if (permissions?.canBulkResetGrimmoryReadProgress ?? permissions?.canBulkResetBookloreReadProgress) {
|
||||
items.push({
|
||||
label: this.t.translate('book.menuService.menu.resetGrimmoryProgress'),
|
||||
icon: 'pi pi-undo',
|
||||
@@ -370,7 +370,7 @@ export class BookMenuService {
|
||||
accept: () => {
|
||||
const loader = this.loadingService.show(this.t.translate('book.menuService.loading.resettingGrimmoryProgress', {count}));
|
||||
|
||||
this.bookService.resetProgress(Array.from(selectedBooks), ResetProgressTypes.BOOKLORE)
|
||||
this.bookService.resetProgress(Array.from(selectedBooks), ResetProgressTypes.GRIMMORY)
|
||||
.pipe(finalize(() => this.loadingService.hide(loader)))
|
||||
.subscribe({
|
||||
next: () => {
|
||||
|
||||
Reference in New Issue
Block a user