Ends in:
4 DAYS
11 HRS
17 MIN
24 SEC
Ends in:
4 D
11 H
17 M
24 S

Activities of "maliming"

:)

hi

MyMainHeader.razor.cs

using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Volo.Abp.AspNetCore.Components.Web;
using Volo.Abp.LeptonTheme.Management;

namespace Cns.Modules.Docusign.Blazor.Server.Host.Pages;

public partial class MyMainHeader
{
    [Inject]
    private IAbpUtilsService UtilsService { get; set; }

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            Menu ??= await MainMenuProvider.GetMenuAsync();
            if (Menu.Placement == MenuPlacement.Top)
            {
                await UtilsService.AddClassToTagAsync("body", "lp-topmenu");
            }
            else
            {
                if (Menu.NavBarStatus == MenuStatus.OpenOnHover)
                {
                    await UtilsService.AddClassToTagAsync("body", "lp-closed");
                    await UtilsService.RemoveClassFromTagAsync("body", "lp-opened-sidebar");
                    await UtilsService.RemoveClassFromTagAsync("body", "lp-body-fixed");
                }
                else
                {
                    await UtilsService.RemoveClassFromTagAsync("body", "lp-closed");
                    await UtilsService.AddClassToTagAsync("body", "lp-opened-sidebar");
                    await UtilsService.AddClassToTagAsync("body", "lp-body-fixed");
                }
            }

            await InvokeAsync(StateHasChanged);
        }
    }

    async Task MyToggleNavbarStatusAsync()
    {
        Menu ??= await MainMenuProvider.GetMenuAsync();
        Menu.ToggleNavbarStatus();

        if (Menu.Placement == MenuPlacement.Top)
        {
            await UtilsService.AddClassToTagAsync("body", "lp-topmenu");
        }
        else
        {
            if (Menu.NavBarStatus == MenuStatus.OpenOnHover)
            {
                await UtilsService.AddClassToTagAsync("body", "lp-closed");
                await UtilsService.RemoveClassFromTagAsync("body", "lp-opened-sidebar");
                await UtilsService.RemoveClassFromTagAsync("body", "lp-body-fixed");
            }
            else
            {
                await UtilsService.RemoveClassFromTagAsync("body", "lp-closed");
                await UtilsService.AddClassToTagAsync("body", "lp-opened-sidebar");
                await UtilsService.AddClassToTagAsync("body", "lp-body-fixed");
            }
        }
    }

    protected virtual async Task OnNavBarMouseOverAsync()
    {
        //TODO: MOUSEOVER IS NOT PERFORMANT, WE SHOULD USE MOUSEENTER/MOUSELEAVE

        Menu ??= await MainMenuProvider.GetMenuAsync();
        if (Menu.NavBarStatus == MenuStatus.OpenOnHover)
        {
            if (await UtilsService.HasClassOnTagAsync("body", "lp-closed"))
            {
                await UtilsService.AddClassToTagAsync("body", "lp-extended");
            }
        }
    }

    protected virtual async Task OnNavbarMouseOutAsync()
    {
        Menu ??= await MainMenuProvider.GetMenuAsync();
        if (Menu.NavBarStatus == MenuStatus.OpenOnHover)
        {
            if (await UtilsService.HasClassOnTagAsync("body", "lp-closed"))
            {
                await UtilsService.RemoveClassFromTagAsync("body", "lp-extended");
            }
        }
    }
    protected virtual void ToggleToolbarNav()
    {
        IsToolbarNavShown = !IsToolbarNavShown;
    }

    protected virtual void ToggleSidebarNav()
    {
        IsSidebarNavShown = !IsSidebarNavShown;
    }
}

Good news.

hi

You can edit the localization texts online but can't add new language texts and permissions.

https://abp.io/docs/latest/modules/language-management#language-texts

Answer

hi

The issue I want to ask is "In Settings > Feature management, child feature is displayed on the same level as parent feature"

We will fix it in 8.3.3

Thanks.

hi portx-dev

Les discuss in https://abp.io/support/questions/8203/

Thanks.

hi

I think Blazorise used the wrong translation.

https://github.com/Megabit/Blazorise/blob/master/Source/Blazorise/Resources/Localization/DatePicker/tr.json#L39-L40

You can try to Custom languages texts

https://blazorise.com/docs/helpers/localization#toc_Custom-languages

It will be best you can change the right text in https://github.com/Megabit/Blazorise/

Thanks.

hi

What is your leptonx package version?

I have checked, this issue has been fixed in leptonx 3.x.x

Can you try to upgrade abp&volo&leptonx packages?

hi

Does the page work well if page has fully loaded?

Can you share more screenshots or gif?

Thanks.

hi

Our angular template project supports the OAuth2(OpenIddict).

You can use an oauth2 library in your vue app.

You only need to login authserver once.

Showing 221 to 230 of 8490 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 28, 2024, 07:27