Content
View differences
Updated by Henriette Darge 7 months ago
Fix the following two warnings:
* `` Please replace `Turbo.setProgressBarDelay(delay)` with `Turbo.config.drive.progressBarDelay = delay`. The top-level function is deprecated and will be removed in a future version of Turbo.` ``
* This requries a change in [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/hotwired__turbo/index.d.ts) as it is outdated and does not provide the `config` object for Turbo
* `The configured tracking expression (tracked by identity)...`
* `DEPRECATED: DI is instantiating a token "" that inherits its @Injectable decorator but does not provide one itself.`
`This will become an error in a future version of Angular. Please add @Injectable() to the "" class.`
* This was started on in [https://github.com/opf/openproject/pull/20919/commits/d8b8479ee6b66e8a587812c81d6df7d90bfa95d4](https://github.com/opf/openproject/pull/20919/commits/d8b8479ee6b66e8a587812c81d6df7d90bfa95d4) but broke CI
identity)...`
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804550/content">
Although these are just warnings, they might be masking other issues.
Note to QA: this can be closed once reviewed/merged by a dev.
* `` Please replace `Turbo.setProgressBarDelay(delay)` with `Turbo.config.drive.progressBarDelay = delay`. The top-level function is deprecated and will be removed in a future version of Turbo.` ``
* This requries a change in [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/hotwired__turbo/index.d.ts) as it is outdated and does not provide the `config` object for Turbo
* `The configured tracking expression (tracked by identity)...`
* `DEPRECATED: DI is instantiating a token "" that inherits its @Injectable decorator but does not provide one itself.`
`This will become an error in a future version of Angular. Please add @Injectable() to the "" class.`
* This was started on in [https://github.com/opf/openproject/pull/20919/commits/d8b8479ee6b66e8a587812c81d6df7d90bfa95d4](https://github.com/opf/openproject/pull/20919/commits/d8b8479ee6b66e8a587812c81d6df7d90bfa95d4) but broke CI
Although these are just warnings, they might be masking other issues.
Note to QA: this can be closed once reviewed/merged by a dev.