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 {
|
export class AddonBadgesUserHandlerService implements CoreUserProfileHandler {
|
||||||
|
|
||||||
name = 'AddonBadges:fakename'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
|
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;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,7 +31,7 @@ import { AddonBlog } from '../blog';
|
||||||
export class AddonBlogUserHandlerService implements CoreUserProfileHandler {
|
export class AddonBlogUserHandlerService implements CoreUserProfileHandler {
|
||||||
|
|
||||||
name = 'AddonBlog'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
|
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;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -26,7 +26,7 @@ export class AddonCalendarMainMenuHandlerService implements CoreMainMenuHandler
|
||||||
static readonly PAGE_NAME = 'calendar';
|
static readonly PAGE_NAME = 'calendar';
|
||||||
|
|
||||||
name = 'AddonCalendar';
|
name = 'AddonCalendar';
|
||||||
priority = 800;
|
priority = 550;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the handler is enabled on a site level.
|
* Check if the handler is enabled on a site level.
|
||||||
|
|
|
@ -35,7 +35,7 @@ import { AddonCompetency } from '../competency';
|
||||||
export class AddonCompetencyUserHandlerService implements CoreUserProfileHandler {
|
export class AddonCompetencyUserHandlerService implements CoreUserProfileHandler {
|
||||||
|
|
||||||
name = 'AddonCompetency'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
|
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;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
cacheEnabled = true;
|
cacheEnabled = true;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ export class AddonCourseCompletionUserHandlerService implements CoreUserProfileH
|
||||||
|
|
||||||
name = 'AddonCourseCompletion:viewCompletion';
|
name = 'AddonCourseCompletion:viewCompletion';
|
||||||
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
priority = 200;
|
priority = 350;
|
||||||
cacheEnabled = true;
|
cacheEnabled = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -32,7 +32,7 @@ import { AddonNotes } from '../notes';
|
||||||
export class AddonNotesUserHandlerService implements CoreUserProfileHandler {
|
export class AddonNotesUserHandlerService implements CoreUserProfileHandler {
|
||||||
|
|
||||||
name = 'AddonNotes:notes';
|
name = 'AddonNotes:notes';
|
||||||
priority = 100;
|
priority = 250;
|
||||||
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
cacheEnabled = true;
|
cacheEnabled = true;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ export class AddonPrivateFilesUserHandlerService implements CoreUserProfileHandl
|
||||||
static readonly PAGE_NAME = 'private';
|
static readonly PAGE_NAME = 'private';
|
||||||
|
|
||||||
name = 'AddonPrivateFiles';
|
name = 'AddonPrivateFiles';
|
||||||
priority = 300;
|
priority = 400;
|
||||||
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
cacheEnabled = true;
|
cacheEnabled = true;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ import { makeSingleton } from '@singletons';
|
||||||
export class CoreGradesUserHandlerService implements CoreUserProfileHandler {
|
export class CoreGradesUserHandlerService implements CoreUserProfileHandler {
|
||||||
|
|
||||||
name = 'CoreGrades'; // This name doesn't match any disabled feature, they'll be checked in isEnabledForContext.
|
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;
|
type = CoreUserDelegateService.TYPE_NEW_PAGE;
|
||||||
cacheEnabled = true;
|
cacheEnabled = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue