Activities of "rafael.gonzales"

It does the trick, I will add a cookie implementation to save a state where the user can change the layout based on that value.

Please, let me ask you another question related. Based on this feature, the idea is to add another button to the configuration panel in the Main Toolbar but it seems that there is no contributor or CSharp way to add another option to this place

I checked that there are two possible ways to add some buttons in that place. One of them it's to use JQuery to add it dynamically on the fly and the other one it's to modify the Lepton X, template to include this option. Is that correct or probably there is another way to add it that I am not seeing?

I think it should stay. We can find bugs in the release version

Related to this, if you group the select2 initialization methods in the javascript in a single "publicApi.onOpen", it will increase the performance of the site.

When you create an entity with many properties and 1to1 relationships and use typeahead as dropdown style. When you render those in the Create or Edit modal, it won't display because by default ABP Suite generates a wrong dropdown parent for the select2 initialization properties.

Now it looks like this.

but it should look like this with the ".modal-content" added for create and edit

Let's say, for example, you have an entity that you need to add two 1 to 1 relationships with the same external Entity.

For example, for the entity "Exchange" you need to map two "Money" entities as 1 on 1

Actually, in ABP Suite, there is no way to customize the property name of the navigation classes for Domain or Application.Contracts. Even if you try to customize the "Entity Name" or "Dto Name" in the advanced tap, if you change, for example, "Entity Name", your class will be named "BlueMoney" and the property name also as "BlueMoney" but the correct should be, class "Money" and property name "BlueMoney".

That's for the case when you need to repeat the 1-1 relationship with the same entity.

Hello, Could you please finally fix the localization in the excel methods of the AppService in a generate suite entity? I am tired of fixing myself everytime

for example, this is a generated excel method

        public virtual async Task<IRemoteStreamContent> GetListAsExcelFileAsync(DemoEntityExcelDownloadDto input)
        {
            var downloadToken = await _downloadTokenCache.GetAsync(input.DownloadToken);
            if (downloadToken == null || input.DownloadToken != downloadToken.Token)
            {
                throw new AbpAuthorizationException("Invalid download token: " + input.DownloadToken);
            }

            var clientes = await _clienteRepository.GetListWithNavigationPropertiesAsync(input.FilterText, input.Name1, input.Name2, input.Name3);
            var items = clientes.Select(item => new
            {
                Name1 = item.DemoEntity.Name1,
                Name2 = item.DemoEntity.Name2,
                Name3 = item.DemoEntity.Name3
            });

            var memoryStream = new MemoryStream();
            await memoryStream.SaveAsAsync(items);
            memoryStream.Seek(0, SeekOrigin.Begin);

            return new RemoteStreamContent(memoryStream, "DemoEntities.xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
        }

First, the file name is not localized, if I changed language, it will be downloaded always like "DemoEntities.xlsx". Also, if you are using an entity with navigationproperties or not, the columns are not localized either, you need to add a configuration for that.

For example

var config = new OpenXmlConfiguration
{
      DynamicColumns = null
      //[ new DynamicExcelColumn("XYZ") { Name = L["XYZ"]} ]
};

I have to recreate the column every time and it's kind of frustrating since ABP Suite template system doesn't provide a way to iterate or use the properties to do this kind of complex scenario, please fix it.

In Blazor WebApp, if you click on "Actions" and then click on "Edit", it will also trigger the delete checkbox. If you try to edit more than one row, it will check both of them, that does not seem like the expected behavior.

DateOnly new type is not displaying any control or component to change it's data in Blazor WebApp new template

is ABP commercial using Blazorise Free tier? it's showing a message to purchase commercial version

You can't create an entity with ABP Suite + ABP Cli 8.2.0-rc.3

Showing 11 to 20 of 125 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13