أنشطة "muhlisatac@gmail.com"

إجابة

Version: 8.0.2 (MVC) I have create a method named "CreateOrUpdateAsync" in XAppService.Extended.cs. But when I look at swagger it shows "/api/app/x/or-update/{id}"

AppService:

    public class XAppService : XAppServiceBase, IXAppService
    {
        //<suite-custom-code-autogenerated>
        ...
        //</suite-custom-code-autogenerated>

        [Authorize]
        public virtual async Task<XDto> CreateOrUpdateAsync(Guid? id, XCreateDto input)
        {
            ...
        }
    }

Interface:

    public partial interface IXAppService
    {
        Task<XDto> CreateOrUpdateAsync(Guid? id, XCreateDto input);
    }

Swagger:

/api/app/x/or-update/{id}

Should be:

/api/app/x/create-or-update/{id}
إجابة

It would be great if pages also had "Excel Import" feature like Excel export.

إجابة

Will abp suite support child's child entity? If not while creating a child entity, child entities shouldn't be selectable at master entity selection dropdown.

Currently, we are not considering supporting it.

But i can be able to select a child entity as a master of another entity. So suite cannot be able to handle it. In this case while creating a child entity, child entities shouldn't be selectable at master entity selection dropdown.

إجابة

Version: 8.0.2 (MVC Leptonx) I have changed the logo like below. But if I refresh the app, first shows the default lepton logo then changes it to my logo.

[Dependency(ReplaceServices = true)]
public class XBrandingProvider : DefaultBrandingProvider
{
    public override string AppName => "X";

    public override string LogoUrl => "/images/logo/logo_light.png";

    public override string? LogoReverseUrl => "/images/logo/logo_dark.png";
}
إجابة

With version 8.0.2 (MVC) Abp suite creates a function like below for master-child data. When I click the details button on datatable it shows an error. Because childB in data.childB.id is null at first.

    function initDataGrids(data) {  
        initChildAGrid(data)  
        $("#ChildBs-tab-" + data.childB.id).one("click", function (e) {  
            initChildBGrid(data);  
        });  
    }  

But i think it should be like below

    function initDataGrids(data) {  
        initChildAGrid(data)  
        initChildBGrid(data);  
    }  

After these changes there were a datatable column width issue on selecting the non visible tab. Making below changes resolved this issue.

    function initDataGrids(data) {  
        initChildAGrid(data)  
        initChildBGrid(data);  
        document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((el) => {  
            el.addEventListener('shown.bs.tab', () => {  
                DataTable.tables({ visible: true, api: true }).columns.adjust();  
            });  
        });  
    }  

Initializing the child data grids once should be enough actually, but I'll check this one.

I initialized them only one time already. Just wanted to show the final result of the function.

إجابة

What about this issue?

إجابة

Will abp suite support child's child entity? If not while creating a child entity, child entities shouldn't be selectable at master entity selection dropdown.

إجابة

At master-child creation I would like to set add and update migrations instead of suite tries to do it immediately.

إجابة

With version 8.0.2 (MVC) Abp suite creates a function like below for master-child data. When I click the details button on datatable it shows an error. Because childB in data.childB.id is null at first.

    function initDataGrids(data) {
        initChildAGrid(data)
        $("#ChildBs-tab-" + data.childB.id).one("click", function (e) {
            initChildBGrid(data);
        });
    }

But i think it should be like below

    function initDataGrids(data) {
        initChildAGrid(data)
        initChildBGrid(data);
    }

After these changes there were a datatable column width issue on selecting the non visible tab. Making below changes resolved this issue.

    function initDataGrids(data) {
        initChildAGrid(data)
        initChildBGrid(data);
        document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((el) => {
            el.addEventListener('shown.bs.tab', () => {
                DataTable.tables({ visible: true, api: true }).columns.adjust();
            });
        });
    }
إجابة

Hi some input validations are not localized.

[Required]
[StringLength(AdConsts.AdUrlMaxLength)]
public string AdUrl { get; set; } = null!;
public decimal Budget { get; set; }

<abp-input asp-for="AdUrl" /> <abp-input asp-for="Budget" />

عرض 1 الي 10 من 10 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11