RED-8711 toaster setup

This commit is contained in:
Dan Percic 2024-03-07 15:58:01 +02:00
parent 7cd8d1d546
commit 0e171ee499
3 changed files with 10 additions and 8 deletions

View File

@ -15,6 +15,7 @@ import {
ViewMode,
ViewModes,
} from '@red/domain';
import { DefaultColorsService } from '@services/entity-services/default-colors.service';
import { DictionaryService } from '@services/entity-services/dictionary.service';
import { EarmarksService } from '@services/files/earmarks.service';
import { EntityLogService } from '@services/files/entity-log.service';
@ -29,7 +30,6 @@ import { firstValueFrom, Observable } from 'rxjs';
import { FilePreviewStateService } from './file-preview-state.service';
import { MultiSelectService } from './multi-select.service';
import { ViewModeService } from './view-mode.service';
import { DefaultColorsService } from '@services/entity-services/default-colors.service';
const DELTA_VIEW_TIME = 10 * 60 * 1000; // 10 minutes;
@ -201,13 +201,8 @@ export class FileDataService extends EntitiesService<AnnotationWrapper, Annotati
`[ENTITY_LOG] Entity ${entry.value} (${entry.entryType}, ${entry.state}) cannot be mapped to a super type!`,
entry,
);
this.#toaster.info(`Skipping entity ${entry.value} (${entry.entryType}, ${entry.state}). Check console for details.`, {
timeOut: 10000,
easing: 'ease-in-out',
easeTime: 500,
useRaw: true,
});
}
this.#toaster.devInfo(`Skipping entity ${entry.value} (${entry.entryType}, ${entry.state}). Check console for details.`);
continue;
}

View File

@ -0,0 +1,7 @@
body.light {
/*Override the default light theme here*/
}
body.dark {
/*Override the default dark theme here*/
}

@ -1 +1 @@
Subproject commit 3ea4e45b87b94868370492c475864390d984f65d
Subproject commit 9b427b0cac2facb514cb49f20453f77a529a74e5