MOBILE-3966 core: Reorder user handlers and calendar handler
parent
d46bc0601f
commit
5f757d240f
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ export class AddonCourseCompletionUserHandlerService implements CoreUserProfileH
|
|||
|
||||
name = 'AddonCourseCompletion:viewCompletion';
|
||||
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||
priority = 200;
|
||||
priority = 350;
|
||||
cacheEnabled = true;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue