MOBILE-3966 core: Reorder user handlers and calendar handler

main
Dani Palou 2022-01-21 15:22:19 +01:00
parent d46bc0601f
commit 5f757d240f
8 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@ import { AddonBadges } from '../badges';
export class AddonBadgesUserHandlerService implements CoreUserProfileHandler {
name = 'AddonBadges:fakename'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
priority = 50;
priority = 300;
type = CoreUserDelegateService.TYPE_NEW_PAGE;
/**

View File

@ -31,7 +31,7 @@ import { AddonBlog } from '../blog';
export class AddonBlogUserHandlerService implements CoreUserProfileHandler {
name = 'AddonBlog'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
priority = 300;
priority = 200;
type = CoreUserDelegateService.TYPE_NEW_PAGE;
/**

View File

@ -26,7 +26,7 @@ export class AddonCalendarMainMenuHandlerService implements CoreMainMenuHandler
static readonly PAGE_NAME = 'calendar';
name = 'AddonCalendar';
priority = 800;
priority = 550;
/**
* Check if the handler is enabled on a site level.

View File

@ -35,7 +35,7 @@ import { AddonCompetency } from '../competency';
export class AddonCompetencyUserHandlerService implements CoreUserProfileHandler {
name = 'AddonCompetency'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
priority = 900;
priority = 100;
type = CoreUserDelegateService.TYPE_NEW_PAGE;
cacheEnabled = true;

View File

@ -32,7 +32,7 @@ export class AddonCourseCompletionUserHandlerService implements CoreUserProfileH
name = 'AddonCourseCompletion:viewCompletion';
type = CoreUserDelegateService.TYPE_NEW_PAGE;
priority = 200;
priority = 350;
cacheEnabled = true;
/**

View File

@ -32,7 +32,7 @@ import { AddonNotes } from '../notes';
export class AddonNotesUserHandlerService implements CoreUserProfileHandler {
name = 'AddonNotes:notes';
priority = 100;
priority = 250;
type = CoreUserDelegateService.TYPE_NEW_PAGE;
cacheEnabled = true;

View File

@ -35,7 +35,7 @@ export class AddonPrivateFilesUserHandlerService implements CoreUserProfileHandl
static readonly PAGE_NAME = 'private';
name = 'AddonPrivateFiles';
priority = 300;
priority = 400;
type = CoreUserDelegateService.TYPE_NEW_PAGE;
cacheEnabled = true;

View File

@ -37,7 +37,7 @@ import { makeSingleton } from '@singletons';
export class CoreGradesUserHandlerService implements CoreUserProfileHandler {
name = 'CoreGrades'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
priority = 400;
priority = 500;
type = CoreUserDelegateService.TYPE_NEW_PAGE;
cacheEnabled = true;