MOBILE-4459 core: Rename login-sites component to login-sites-modal
parent
a9bae5937c
commit
2244864c07
|
@ -16,7 +16,7 @@ import { NgModule } from '@angular/core';
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { CoreLoginSiteOnboardingComponent } from './site-onboarding/site-onboarding';
|
import { CoreLoginSiteOnboardingComponent } from './site-onboarding/site-onboarding';
|
||||||
import { CoreLoginSiteHelpComponent } from './site-help/site-help';
|
import { CoreLoginSiteHelpComponent } from './site-help/site-help';
|
||||||
import { CoreLoginSitesComponent } from './sites/sites';
|
import { CoreLoginSitesModalComponent } from './sites-modal/sites-modal';
|
||||||
import { CoreLoginMethodsComponent } from './login-methods/login-methods';
|
import { CoreLoginMethodsComponent } from './login-methods/login-methods';
|
||||||
import { CoreLoginExceededAttemptsComponent } from '@features/login/components/exceeded-attempts/exceeded-attempts';
|
import { CoreLoginExceededAttemptsComponent } from '@features/login/components/exceeded-attempts/exceeded-attempts';
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ import { CoreLoginExceededAttemptsComponent } from '@features/login/components/e
|
||||||
CoreLoginExceededAttemptsComponent,
|
CoreLoginExceededAttemptsComponent,
|
||||||
CoreLoginSiteOnboardingComponent,
|
CoreLoginSiteOnboardingComponent,
|
||||||
CoreLoginSiteHelpComponent,
|
CoreLoginSiteHelpComponent,
|
||||||
CoreLoginSitesComponent,
|
CoreLoginSitesModalComponent,
|
||||||
CoreLoginMethodsComponent,
|
CoreLoginMethodsComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -35,7 +35,7 @@ import { CoreLoginExceededAttemptsComponent } from '@features/login/components/e
|
||||||
CoreLoginExceededAttemptsComponent,
|
CoreLoginExceededAttemptsComponent,
|
||||||
CoreLoginSiteOnboardingComponent,
|
CoreLoginSiteOnboardingComponent,
|
||||||
CoreLoginSiteHelpComponent,
|
CoreLoginSiteHelpComponent,
|
||||||
CoreLoginSitesComponent,
|
CoreLoginSitesModalComponent,
|
||||||
CoreLoginMethodsComponent,
|
CoreLoginMethodsComponent,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,14 +23,14 @@ import { CoreAnimations } from '@components/animations';
|
||||||
import { ModalController } from '@singletons';
|
import { ModalController } from '@singletons';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component that displays a "splash screen" while the app is being initialized.
|
* Modal that displays a list of sites to be able to enter or delete a site.
|
||||||
*/
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-login-sites',
|
selector: 'core-login-sites-modal',
|
||||||
templateUrl: 'sites.html',
|
templateUrl: 'sites-modal.html',
|
||||||
animations: [CoreAnimations.SLIDE_IN_OUT, CoreAnimations.SHOW_HIDE],
|
animations: [CoreAnimations.SLIDE_IN_OUT, CoreAnimations.SHOW_HIDE],
|
||||||
})
|
})
|
||||||
export class CoreLoginSitesComponent implements OnInit {
|
export class CoreLoginSitesModalComponent implements OnInit {
|
||||||
|
|
||||||
accountsList: CoreAccountsList = {
|
accountsList: CoreAccountsList = {
|
||||||
sameSite: [],
|
sameSite: [],
|
|
@ -16,7 +16,7 @@ import { CoreConstants } from '@/core/constants';
|
||||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||||
import { CoreSite, CoreSiteInfo } from '@classes/site';
|
import { CoreSite, CoreSiteInfo } from '@classes/site';
|
||||||
import { CoreFilter } from '@features/filter/services/filter';
|
import { CoreFilter } from '@features/filter/services/filter';
|
||||||
import { CoreLoginSitesComponent } from '@features/login/components/sites/sites';
|
import { CoreLoginSitesModalComponent } from '@features/login/components/sites-modal/sites-modal';
|
||||||
import { CoreLoginHelper } from '@features/login/services/login-helper';
|
import { CoreLoginHelper } from '@features/login/services/login-helper';
|
||||||
import { CoreUserAuthenticatedSupportConfig } from '@features/user/classes/support/authenticated-support-config';
|
import { CoreUserAuthenticatedSupportConfig } from '@features/user/classes/support/authenticated-support-config';
|
||||||
import { CoreUserSupport } from '@features/user/services/support';
|
import { CoreUserSupport } from '@features/user/services/support';
|
||||||
|
@ -239,7 +239,7 @@ export class CoreMainMenuUserMenuComponent implements OnInit, OnDestroy {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
const closeAll = await CoreDomUtils.openSideModal<boolean>({
|
const closeAll = await CoreDomUtils.openSideModal<boolean>({
|
||||||
component: CoreLoginSitesComponent,
|
component: CoreLoginSitesModalComponent,
|
||||||
cssClass: 'core-modal-lateral core-modal-lateral-sm',
|
cssClass: 'core-modal-lateral core-modal-lateral-sm',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,10 @@ For more information about upgrading, read the official documentation: https://m
|
||||||
- Starting with this release, this file will only document breaking changes for APIs exposed to site plugins. Internal changes will no longer be documented.
|
- Starting with this release, this file will only document breaking changes for APIs exposed to site plugins. Internal changes will no longer be documented.
|
||||||
- CoreCache has been deprecated, use plain object as in-memory stores instead.
|
- CoreCache has been deprecated, use plain object as in-memory stores instead.
|
||||||
|
|
||||||
|
=== 4.4.0 ===
|
||||||
|
|
||||||
|
- Renamed CoreLoginSitesComponent to CoreLoginSitesModalComponent to make it clear that it's a modal and to avoid confusing it with the new CoreSitesListComponent.
|
||||||
|
|
||||||
=== 4.3.0 ===
|
=== 4.3.0 ===
|
||||||
|
|
||||||
- CoreSiteBasicInfo fullName attribute has changed to fullname and avatar to userpictureurl to match user fields.
|
- CoreSiteBasicInfo fullName attribute has changed to fullname and avatar to userpictureurl to match user fields.
|
||||||
|
|
Loading…
Reference in New Issue