Starts in:
1 DAY
0 HR
55 MIN
32 SEC
Starts in:
1 D
0 H
55 M
32 S

Activities of "muhammedaltug"

Hello,

Did you update your angular version to 14?

Can you send me the result of the following command?

> yarn why @abp/ng.schematics

Hello,

Can you send screenshots?

I checked in version ABP 6.0.0 version and Lepton 1.0.0 version

Hello,

We fixed the problem, the fix will be available in the next 5.3 version and the next 6.0 version.

You can avoid this problem by the following workaround

import { Component } from '@angular/core';
import { LookupTypeaheadMtmComponent } from '@volo/abp.commercial.ng.ui';

@Component({
  selector: 'app-root',
  template: `
    <abp-loader-bar></abp-loader-bar>
    <abp-dynamic-layout></abp-dynamic-layout>
  `,
})
export class AppComponent {}

LookupTypeaheadMtmComponent.prototype.ngOnInit = () => {};

Hello,

What is the apiName of generated MyService class? It should be equal to the key in the environment.ts

Example

import { Injectable } from '@angular/core';
@Injectable({
  providedIn: 'root',
})
export class MyService {
  apiName = 'MyApi';
}
apis: {
    default: {
      url: 'https://localhost:44360',
      rootNamespace: 'default.namespace',
    },
    MyApi: {
      url: 'http://myapi:1234',
      rootNamespace: 'MyProj.myapi',
    },
  },

Hello,

Please remove the following route configuration from your app-routing.module.ts. Because IdentityExtendedModule has this logic. And please remove theentity-action-contributors.ts placed in the app folder.

{
    path: 'identity',
    loadChildren: () => 
       import('@volo/abp.ng.identity').then(m => 
           m.IdentityModule.forLazy({
               entityActionContributors: identityEntityActionContributors
           })
       ))
}

You can follow the same steps for "Adding quick view button to actions"

  • Define a method named 'requestMyApi' in IdentityExtendedComponent and implement like following
requestMyApi(record: IdentityUserDto) {
    this.myService.myRequestMethod().subscribe(res => {
        console.log(res)
    });
}
  • In your action definition inject IdentityExtendedComponent and execute this method.
const printButtonAction = new EntityAction<IdentityUserDto>({
  text: 'PrintButton',
  action: data => {
    const component = data.getInjected(IdentityExtendedComponent);
    component.requestMyApi(data.record);
  },
});

Hello,

We have no document for this topic. But we have plans to write a blog post that explains our development experiment and the issues we faced.

In general, you basically need to be aware of the following if you want to create a new theme for ABP.

  • Abp packages don't have a dependency directly on theme packages (Theme basic, theme lepton, lepton-x), but bootstrap classes are used in packages. You may want to modify bootstrap
  • Layouts defined in theme packages (Application Layout, Account Layout, Empty Layout).
  • You can examine ThemeBasic's code.

Hello,

We got the problem fixed. For now, no new 5.3 bug-fix version is scheduled for release. However, the fix will be included in 6.0.0's next version.

With the following workaround, you can avoid the issue

//app.component.ts
import { LookupInputComponent } from '@volo/abp.commercial.ng.ui';

const afterViewInit = LookupInputComponent.prototype.ngAfterViewInit;

LookupInputComponent.prototype.ngAfterViewInit = function () {
  afterViewInit.call(this);
  this.cdRef.detectChanges();
};


Hello

I am able to reproduce the problem. I'll let you know about the fix.

Answer

Hello,

I think it is the same with this issue Can we close the issue?

Hello,

You can download the LeptonX source code with abp get-source Volo.Abp.LeptonXTheme.Pro --preview in 6.0.0-rc.5 version. You can replace existing style files by copy to the same path in your project.

Showing 111 to 120 of 254 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06