tkettani的活动

hello any development on this question please ? is it feasible at all / difficult / or downright impossible with the current code base? thank you very much

https://drive.google.com/file/d/1_R3InHRny_ya_QMvWLdt6F0XF7ojwOEz/view?usp=sharing

I cleared the log in between activating and deactivating that feature so the two files can be compared. I didn't see any errors... thanks

i think i fixed the problem although not in a sustainable way. at least it gives us an idea of where the problem is:

public class ChatToolbarContributor : IToolbarContributor
{
    public async Task ConfigureToolbarAsync(IToolbarConfigurationContext context)
    {
        //var featureChecker = context.ServiceProvider.GetRequiredService<IFeatureChecker>();       
        if (context.Toolbar.Name == StandardToolbars.Main) // && await featureChecker.IsEnabledAsync(ChatFeatures.Enable)
        {
            //var permissionChecker = context.ServiceProvider.GetRequiredService<IPermissionChecker>();
            //if (await permissionChecker.IsGrantedAsync(ChatPermissions.Messaging))
            //{
                context.Toolbar.Items.Add( new ToolbarItem(typeof(BlazorServerMessagesToolbarItem)) );
            //}
        }
    }
}

when i disable the feature checker and permission checker everything is normal the dark theme is applied and the right bundles are loaded. if i use any of those two features (or both) we lose the theme. i didn't read the entire codebase enough to understand the mechanisms behind the scene but at least it gives us a starting point to investigate. please note that i am using the blazor ui template app with both the chat module and leptonx from code (both modules still mostly unmodified from their original code)

显示 3 个条目中的 1 到 3 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11