Activities of "ageiter"

  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)

Steps to reproduce the issue:

Create a new Blazor Server project (with ABP Suite), set the TopMenu layout and start it. Log in and click on the dashboard. -> Breadcrumbs & title missing

Select refresh (or reload page with F5) -> Now it looks correct

Workaround for this problem:

  • You can either call a service method (e.g. await MyAppService.GetListAsync())
  • Or add the following:
    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        await base.OnAfterRenderAsync(firstRender);

        if (firstRender)
        {
            await InvokeAsync(StateHasChanged);
        }
    }

The problem has been known for a long time, but unfortunately it has never been fixed... #4551

Thanks for fixing it. Adrian

Answer

I have created a new project with the ABP Suite (version 8.0.2) and set the theme to TopMenu. Then I created two videos to show the problem.

  1. video shows the problem described above. As soon as the page is reloaded (refresh with F5), the selection in the menu remains, even if you select another menu item.

  2. video shows a problem that I already mentioned in other tickets a long time ago and unfortunately is still not fixed. Since this fits together, I'll mention it again here. When restarting the application, the menu does not work correctly until you refresh the page for the first time.

Please do not close until we have found the cause.

Answer

Hi,

I'm adding another bug in the TopMenu layout:

The display of the active page in the submenu does not work properly. If you select a page from a submenu, it remains active / selected until you reload the page (with F5).

To reproduce:

  1. select an item in the submenu
  2. check whether this page is displayed as active in the submenu
  3. select another item in the same submenu (or in a different one)
  4. check which page is now displayed as active

Behavior in LeptonX 3.0.2: Previous menu item is displayed as active, only after refreshing the page is it correct.

Expected result: The currently selected page is marked active

If I remember correctly, this bug has existed for a while...

What about this bug? Can you reproduce and fix it?

The option to open the edit popup in the grids by double-clicking on a row. I implement this myself, but of course it would be nice if it were already included when generating.

I would like to be able to add a prefix to the localized string resources for each entity (as with the "Menu:Dashboard" menu). For example like this: "Entity:Customer:Name".

On the one hand, it would be better sorted in the resource file and the even more important argument: you can set different strings for properties with the same name (e.g. name, description, ... occur frequently, in one place you might want to write "Desc.", in another place "Description").

Answer

Hi,

I'm adding another bug in the TopMenu layout:

The display of the active page in the submenu does not work properly. If you select a page from a submenu, it remains active / selected until you reload the page (with F5).

To reproduce:

  1. select an item in the submenu
  2. check whether this page is displayed as active in the submenu
  3. select another item in the same submenu (or in a different one)
  4. check which page is now displayed as active

Behavior in LeptonX 3.0.2: Previous menu item is displayed as active, only after refreshing the page is it correct.

Expected result: The currently selected page is marked active

If I remember correctly, this bug has existed for a while...

@enisn: I think because user5.abpio was also asking questions, you overlooked my questions and comments. Could you please answer them as well? Thanks!

Thanks for the code. Is it possible to download the different layouts somewhere? We want layout 3 and not layout 2 and we are not sure yet whether TopMenu / SideMenu (although this does not matter on the login page).

It seems that these layouts are not included in the module "Volo.Abp.LeptonXTheme.Pro", right?

In general, it would of course be cool if we could get the source code of the demo page https://x.leptontheme.com/ (also for other pages that are nicely designed).

In general, it would of course be cool if we could get the source code of the demo page https://x.leptontheme.com/ (also for other pages that are nicely designed).

Thanks for the code. Is it possible to download the different layouts somewhere? We want layout 3 and not layout 2 and we are not sure yet whether TopMenu / SideMenu (although this does not matter on the login page).

It seems that these layouts are not included in the module "Volo.Abp.LeptonXTheme.Pro", right?

Showing 111 to 120 of 243 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30