We would like to know whether this will be on your roadmap or not.
We want the navigation menu containing the page names to stay in the LEFT sidebar (side-menu behaviour), while the user/profile menu (toolbar: avatar, language, settings) is displayed horizontally in the TOP RIGHT corner, inside the topbar (as it is in the top-menu layout).
a) Is there a supported way to move the toolbar (the profile menu) into the topbar in the side-menu layout? Is there a provider, option or panel directive we have missed above? b) Is a hybrid arrangement of this kind (navigation on the left, toolbar on top) on your roadmap? Thanks in advance.
In ABP.io 9.0, the documentation shows registering entity cache with:
context.Services.AddEntityCache<TEntity, TKey>();
In a layered solution (Domain, Application, EntityFrameworkCore, Host), which module is the recommended place to register this?
Should it be in the EntityFrameworkCore module, Application module, or Host?
Also, if I consume the entity cache from the Domain layer, should the configuration be placed in the Domain module, or does this not matter?
Thank you for your help.
Hi, I will apply the temporary workaround, and I hope you will provide a permanent solution as well.
In our ABP.io v8 Angular UI application, we are experiencing the following error when some users log in:
Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Upon investigation, we found that in the getFromToken function, the access token payload is decoded using atob. When the payload length is not a multiple of 4 (due to missing Base64 padding =), atob throws this error. This happens especially when the preferred_username claim contains an email (e.g., abc@de.com).
Current Code:(in remember-me.service.ts)
const tokenBody = accessToken.split('.')[1].replace(/-/g, '+').replace(/_/g, '/');
const parsedToken = JSON.parse(atob(tokenBody));
Suggested Fix: Add missing padding before calling atob:
while (tokenBody.length % 4 !== 0) {
tokenBody += '=';
}
Alternatively, using the jwt-decode library in Angular would be a more reliable approach.
Hi,
I already tried this and it didn't work. The CLI tool should install successfully on Linux/Ubuntu environments, just like it does on Windows. Could you please check if Linux support is intended and ensure the package includes the necessary DotnetToolSettings.xml file?
dotnet nuget list source: Registered Sources:
Abp Version 9.3
Hello Sümeyye, Thanks. Then I hope you update the tutorial accordingly
Hi,
The app.module.ts file does not exist, it was not created by abp studio
Specified module 'app' does not exist. Looked in the following directories: /src/app/book /src/app/app /src/app /src
yarn ng generate module author --module app --routing --route authors (Tutorial)