-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/update to angular 16 #1411
Conversation
- Replaces scrollbar lib; - Fixes scroll logic for left menu; - fixes ts errors for primeng; - Updates zone.js;
bb21c58
to
722c2f4
Compare
722c2f4
to
ad55259
Compare
@@ -75,13 +74,13 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { | |||
], | |||
imports: [ | |||
BrowserModule, | |||
LetModule, | |||
LetDirective, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecated
@@ -10,7 +10,7 @@ export interface BeforeUnloadComponent { | |||
} | |||
|
|||
@Injectable() | |||
export class BeforeUnloadGuard implements CanDeactivate<BeforeUnloadComponent> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has been removed by cli as it deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but so, have you checked if this guard still work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested
@@ -10,7 +10,7 @@ export interface BeforeUnloadComponent { | |||
} | |||
|
|||
@Injectable() | |||
export class BeforeUnloadGuard implements CanDeactivate<BeforeUnloadComponent> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but so, have you checked if this guard still work?
@@ -14,7 +14,7 @@ export interface PendingChangesComponent { | |||
@Injectable({ | |||
providedIn: 'root' | |||
}) | |||
export class PendingChangesGuard implements CanDeactivate<PendingChangesComponent>, OnDestroy { | |||
export class PendingChangesGuard implements OnDestroy { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested
@@ -114,7 +114,7 @@ export class LayoutService implements OnDestroy { | |||
@Injectable({ | |||
providedIn: 'root' | |||
}) | |||
export class DefaultLayoutInitService implements CanActivate { | |||
export class DefaultLayoutInitService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
considering is well tested 👍
Description
Fixes #1368
Notes (out of scope, known isues, hints for reviewing code, ...) (optional)
Branch for test
I've realised that after design the scroll to nav item feature has been brokne. So I've fixed it (seems need to improve it after all our changes)
For some reason the primeng has removed the next generic type https://github.com/primefaces/primeng/commit/d3b00fcd6f7cfe30d1261fa893211062d9fa26f6#diff-d92d38111264028992d6cb71[…]9510846b1d3c44187c32ff979f3R13
Fixed with custom interface
Replaced deprecated scrollbar lib https://www.npmjs.com/package/ngx-perfect-scrollbar with https://www.npmjs.com/package/ngx-scrollbar
Test cases