Hello,
I have tested the proposed solution using SUPPRESS_UNSAVED_CHANGES_WARNING
, but unfortunately it does not resolve the initial issue.
From my perspective, the only two possible solutions would be either to avoid the page refresh when LeptonX switches to mobile view (which is the case with Lepton), or to completely disable the mobile view.
The autoreply from the bot isn't helping me.
Hello,
I'm experiencing an issue with the LeptonX (Angular) theme that still occurs on the latest ABP version (9.2).
This is problematic because end users can lose important work simply by moving the browser window between screens.
(This problem did not occur in the other Lepton theme)
Hello, I want to be able to customize the html code of the ConfirmationComponent, so this doesn't help.
Hello, is it possible to replace the ConfirmationComponent of “@abp/ng.theme.shared” using this method (https://abp.io/docs/latest/framework/ui/angular/component-replacement#how-to-replace-a-component)?
I cannot find the key to use in :
this.replaceableComponents.add({ component: YourNewRoleComponent, key: eIdentityComponents.Roles, });
Hello, thank you for your reply. However, I had to use the IServiceCollection.Replace
method instead of Dependency
attribute.
Here's my working code :
MyIdentitySessionDynamicClaimsPrincipalContributor.cs
public class MyIdentitySessionDynamicClaimsPrincipalContributor : IdentitySessionDynamicClaimsPrincipalContributor
{
public override Task ContributeAsync(AbpClaimsPrincipalContributorContext context)
{
...
}
}
MyModule.cs
public class MyModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
...
context.Services.Replace(
ServiceDescriptor.Transient<
IdentitySessionDynamicClaimsPrincipalContributor,
MyIdentitySessionDynamicClaimsPrincipalContributor
>());
}
}
Hello, can I replace IdentitySessionDynamicClaimsPrincipalContributor
with my own implementation? If so, how can I do it?