-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/angular 20 update and migration #454
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
base: master
Are you sure you want to change the base?
Conversation
…x-store unit tests
… because of functional reasons (not related to the upgrade)
…e scripts in package.json
@@ -1,4 +1,4 @@ | |||
MIT License | |||
lcMIT License |
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.
I think this is a typo?
styleUrls: ['./error.component.scss'], | ||
standalone: true, | ||
imports: [CommonModule], | ||
imports: [], |
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.
I would delete this, since it's empty.
|
||
@Component({ | ||
imports: [CommonModule], | ||
imports: [], |
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.
idem
selector: '[ngxHasFeature]', | ||
}) | ||
export class NgxHasFeatureDirective<FeatureType extends string> implements OnDestroy { | ||
templateRef = inject<TemplateRef<any>>(TemplateRef); |
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.
Missing access modifier.
private readonly cdRef: ChangeDetectorRef | ||
) { | ||
constructor() { | ||
const templateRef = inject<TemplateRef<any>>(TemplateRef); |
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.
Shouldn't this be outside of the constructor?
private viewContainer: ViewContainerRef | ||
) { | ||
constructor() { | ||
const templateRef = inject<TemplateRef<any>>(TemplateRef); |
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.
idem
|
||
service = runInInjectionContext(child, () => inject(NgxWindowService)); | ||
|
||
// service = runInInjectionContext(parent, () => inject(NgxWindowService)); |
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.
If it's not needed, delete it.
providedIn: 'root', | ||
}) | ||
export class NgxWindowService { | ||
document = inject<Document>(DOCUMENT); |
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.
Missing access modifier
private readonly dropList = inject(CdkDropList); | ||
private readonly dropContainer = inject(NgxAccessibleDragAndDropContainerDirective); | ||
private readonly dropHost = inject(NgxAccessibleDragAndDropHostDirective); | ||
readonly elementRef: ElementRef<HTMLElement>; |
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.
Missing access modifier.
standalone: true, | ||
}) | ||
export class NgxTourItemDirective implements AfterViewInit, OnDestroy { | ||
readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef); |
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.
missing access modifier
Description
This PR contains all changes for the Angular 20 migration (including version bumps for all packages).
Requirements