Migrate from Angular 7 to version 9
These changes bump all Angular and related dependencies and adjust code for compatibility where necessary. The QR Code dialog has been removed for now because the library (ngx-qrcode2) is not compatible with Angular's Ivy and unmaintained.
The following Angular dependencies have been directly upgraded via Angular's CLI:
- @angular/cdk
- @angular/cli
- @angular/core
- @angular/flex-layout
- @angular/material
Additionally, the following libraries were upgraded manually for compatibility:
- @ngx-translate/core
- @ngx-translate/http-loader
- chart.js
- ng2-charts
- ngx-markdown
The following libraries were removed manually:
- @biesbjerg/ngx-translate-extract (dev)
- ngx-qrcode2
Known issue:
-
The rubber band animation for the comment voting arrows does not play in some cases and an error is thrown:
Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for '
@rubberBand
': 'rubberBand'. Current value: ''.This might be a compatibility issue with Angular's Ivy. The issue does not seem to occur when Ivy is disabled.
Closes: #446 (closed)