أنشطة "rafael.gonzales"

إجابة

Can you give us more flexibility in abp suite - template system? Like, give us more detail to be used in our customization for example. If we are rendering the create or edit modal, give us the data types associated or if it's nullable or not so we can create or adapt third-party library or more logic.

إجابة

When generating a demo entity with Byte as a type, the demo test includes this in the EntityApplicationTests.cs file trying to match a byte with a method that requires an integer

This is just a demo project. My real project has the requirement to have dropdowns at the beginning

Hi Liangshiwei,

It still happens if you have, for example, a dropdown as a first control. I made a loom video for that. How can you handle that situation? https://www.loom.com/share/6bcadeb599ac4a519e7f14b68c5098b0?sid=e1486af3-9d5d-4585-b93e-80f449cd5c45

But this is not the expected behavior. The data is not being bonded to the control and the style and functionality are not the same as using the <abp-date-picker> tag. It should be an option in the same abp-date-picker tag to activate or deactivate the automatic opening of the datepicker. Using the <abp-input> as a workaround forces me not to use what abp can offer me from its core and makes me handle the bootstrap datetimepicker activation by my self and the data binding which is not what we are looking for.

إجابة

Typeahead not rendering in the correct position when It's within a long modal content

I found a fix for this, following the different recommendations from this post https://stackoverflow.com/questions/18487056/select2-doesnt-work-when-embedded-in-a-bootstrap-modal/19574076#19574076 and select2 documentation https://select2.org/troubleshooting/common-problems#:~:text=Select2%20does%20not%20function%20properly,%22outside%20of%20the%20modal%22.

The working solution for ABP Suite generated code it's to add " .modal-content" in the dropdownParent generated by ABP Suite.

Should look like this

        publicApi.onOpen(function () {
            $('#Demo_RelatedId').select2({
                dropdownParent: $('#DemoCreateModal .modal-content'),
                ajax: {
                    url: abp.appPath + 'api/app/demos/related-lookup',
                    type: 'GET',
                    data: function (params) {
                        return { filter: params.term, maxResultCount: 10 }
                    },
                    processResults: function (data) {
                        var mappedItems = _.map(data.items, function (item) {
                            return { id: item.id, text: item.displayName };
                        });

                        return { results: mappedItems };
                    }
                }
            });
        });

Hope you can add it to the next RC.

Thanks!

إجابة

Typeahead not rendering in the correct position when It's within a long modal content

Add comments or explanations to the implemented fix Example https://commercial.abp.io/releases/pr/16778

It would be nice to have a couple of lines of description on what was done for each commit https://commercial.abp.io/releases/tag/8.1.0-rc.2

Agree with that. I also want a better description even if It takes more time to release new versions but It would be great to get to know what are we facing in every update. Until now, I only see those kinds of descriptions and the title doesn't help too much either.

Configuring the suite's project name independently from the project name would be awesome. So we can have a demo project with a solution and project name exactly like our main project but without the issue to figure out in Suites which one we are creating our entities.

إجابة

Why do Create and Edit Pages in MVC inherit from ModulePageModel but Index Page inherit from AbpPageModel?

ModulePageModel already inherits from AbpPageModule but helps as a base class in a module to customize.

In Summary,

Suppose you create a module named MyModule. The entities generated there will have Create, Edit, and Index pages.

Create and Edit -> Inherit from MyModulePageModel Index -> Inherit from AbpPageModule.

Expected behavior,

Credit, Edit and Index should inherit from MyModulePageModel

The same issue happened with the AppService project. If you are in a Module, all the AppService generated are still using ApplicationAppService instead of MyModuleAppService

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