822 comments found.
Please add Abdullah0991 to the github repo thanks
invitation sent! please check https://github.com/mh-rafi/egret-angular/invitations
Hi,
If you want my code base for invisible menu text issue on initialize I will need your email or do you want me to put on google share?
Hi ,
I have a question :- Do we have to install “node-sass” module/package globally ? Because its not there in package.json .
Hi, I think you don’t need to install node-sass globally. Have faced any issue without installing node-sass explicitly?
1) I haven’t seent any entry of “node-sass” in package.json . Getting error -
ERROR in ./src/assets/styles/app.scss (./node_modules/raw-loader./node_modules/sass-loader/lib/loader.js??ref—15-3!./src/assets/styles/app.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Cannot find module ‘node-sass’ at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.sassLoader (/ui/server/node_modules/sass-loader/lib/loader.js:46:72)
2) Which version of node-sass should we install ?
Try latest version of node-sass. also delete package-lock.json and node_modules folder then run “npm install”.
But it should be there in package.json , right ?
We don’t need to include “node-sass” in package.json, probably you are facing this issue. https://github.com/angular/angular-cli/issues/12746#issuecomment-433337619
Please try the solutions from there.
Buenos dias para solicitar la creacion de un nuevo componente ejemplo ng generate component views/formulario la cual no me permite adicionarlos a la ruta de app.routing.ts
First you need to create a module with routing inside views folder “ng g m views/newModule—routing”. Then you need to create new component under newModule “ng g c views/new-module/newComponent”.
Please take a look to an existing module in views folder. Also learn about angular lazy loading.
thanks
hi changing the changeDetectionStrategy didn’t work and I console errors for
e {headers: t, status: 404, statusText: “Not Found”, url: “https://poolui.azurewebsites.net/assets/i18n/en.json”, ok: false, …}
the text of the
Hi,
I am having problems with the menu css. In dev there is no issue but after I deploy to azuze building ng build—prod and copying to azure the text on
Please try changing the changeDetectionStrategy. right now it’s OnPush, change it to changeDetection: ChangeDetectionStrategy.Default in shared/components/layouts/admin-layout/admin-layout.component.ts
I did this and the text on the menu is not visible. The other thing I just noticed is when you resize and the alternate view is loaded everything is fine. Seems it is the first load that misses the text.
constructor (private cdr: ChangeDetectorRef) {}
ngOnInit() {
this.menuItemsSub =
this.navService.menuItems$.subscribe(menuItem => {
this.menuItems = menuItem;
this.cdr.markForCheck(); // detect change
...........
Here you go,
@Component({ selector: “app-sidebar-side”, templateUrl: ”./sidebar-side.component.html” }) export class SidebarSideComponent implements OnInit, OnDestroy, AfterViewInit { public menuItems: any[]; public hasIconTypeMenuItem: boolean; public iconTypeMenuTitle: string; private menuItemsSub: Subscription; public layoutConf: ILayoutConf; }
constructor(
private navService: NavigationService,
public themeService: ThemeService,
private layout: LayoutService
) {}
ngOnInit() {
this.iconTypeMenuTitle = this.navService.iconTypeMenuTitle;
this.menuItemsSub = this.navService.menuItems$.subscribe(menuItem => {
this.menuItems = menuItem;
//Checks item list has any icon type.
this.hasIconTypeMenuItem = !!this.menuItems.filter(
item => item.type === "icon"
).length;
});
this.layoutConf = this.layout.layoutConf;
}
ngAfterViewInit() {}
ngOnDestroy() {
if (this.menuItemsSub) {
this.menuItemsSub.unsubscribe();
}
}
toggleCollapse() {
if (
this.layoutConf.sidebarCompactToggle
) {
this.layout.publishLayoutChange({
sidebarCompactToggle: false
});
} else {
this.layout.publishLayoutChange({
// sidebarStyle: "compact",
sidebarCompactToggle: true
});
}
}
I wanted to take a look in your codebase, is it possible.
Please try “this.cdr.markForCheck(); // detect change” as i mentioned in previous comment.
I put it in a few places just to see
translation file is not loading from azure server, open browser console, you will see this error “GET https://poolui.azurewebsites.net/assets/i18n/en.json 404 (Not Found)”
The file is missing. Are you saying this is what is causing the issue of invisible menu text on init?
looks great! Are you from Bangladesh? Please add me to the repo. My username is “chkamran”
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
thanks for the invite? For a lazy loaded module, how is the css loaded? TIA
Most of the css are bundled and loaded only once. You will find all css inside assets folder. Thanks
could you please add me to the repo: bradcoyner
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Hi, can you send me invitation to the github project? Github user name: Nickeysoft
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Hi, can you send me invitation to the github project? Github user name: kyryus
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Hi, could you send me the invite please, Github account: StrCode. Thank you
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Hi, could you send me the invite please, Github account: javascriptDC
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Please give me instruction to update this theme.but this time i’m working with last version of this theme.
If you have not changed anything inside “layout.service.ts” and “admin-layout.template.html” then you can update your project.
In last update I added color changing options. Please provide your github username. I’ll add you to repository and you will see the changes from git commits.
Thanks
GitHub Account : Kushanpabasara
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Hello, i would like to request you two things.
1) Can you please update the “seed” project too? I can see you update the full project, but everytime we have to use the seed project is outdated and start a project will the full project is time consuming.
2) In my project all the titles get a ”|Egret” in the title. For example, i have “Home” and it becomes “Home | Egret”. How can i delete that Egret from the title? Is confusing for the client.
Thanks in advance.
1. Seed project is updated. Please download the latest files.
2. Open “app.component.ts” file and change the “appTitle” variable’s value.
Thanks
Hi, please please can you send me an invitation on github username: sergeMaster. Thank you
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Hi, I am thinking of getting this them but it seems quite slow to me specially when navigating. Why is that
We used lazy loaded router. When you navigate to a page for first time, angular loads it’s js. That’s why it’s takes 1/2 sec time to load each page for the first time.
Thanks
Hi! I just extended the support periode for another 6 month, but I still can only download the out-dated angular 4 version ot your theme??? Can you help?
Regards, Andreas
right now it’s angular version 7. Have you checked the package.json file? also please provide your github username. I’ll add you to the repository.
Thanks
Hi, can you send me the invite pls, Github account: smahesaniya
invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Please provide access to github project.
My github: https://github.com/infloop
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations
Please provide access to github project. User name: m-rauch
Invitation sent! https://github.com/mh-rafi/egret-angular/invitations