5 Commits

Author SHA1 Message Date
Alexander Brandon Coles c32f2f2e26 [#74950] Migrate Angular DI to inject()
Migrates Angular constructor-based dependency injection to the
`inject()` function. The initial pass used the Angular schematic;
manual follow-up handled abstract classes, inheritance-sensitive
constructors, and call sites that still instantiate services
directly.

Schematic command:

  cd frontend && npx ng generate @angular/core:inject-migration \
    --path ./ \
    --migrate-abstract-classes \
    --backwards-compatible-constructors=false \
    --non-nullable-optional=false

https://community.openproject.org/wp/74950
2026-05-18 10:23:52 +02:00
Jan Sandbrink cdab3a2a23 Adapt skeleton loader for wikis tab
Trying to get it slightly more aligned with expectable content:

* one large box with a blank slate
* two small boxes that are collapsed

This is essentially a default assumption. It might be wrong in
some setups, but it's better than the previous skeleton that didn't
match the eventual layout slightly.
2026-05-12 09:40:38 +02:00
Eric Schubert f02c1dde58 [chore] add tsconfig to wikis module
- needed to tell IDEs to lookup the lookup paths
- doesn't affect build, as the `tsconfig.json` in the module directory
  should be ignored by esbuild of the core app.
2026-03-30 14:30:08 +02:00
Jan Sandbrink 2bf7d90781 Only show wikis tab when there are wikis
Effectively we only want to allow disabling the internal wiki
for now, but we'll have to answer certain usability questions
on what happens when a provider is deleted/disabled anyways, so
we'll make it technically possible to disable any provider, even
if we might not offer it for all of them out of the box.

The most likely starting scenario to have no wikis tab is that
the internal wikis are disabled and no external wiki is configured.
2026-03-25 14:24:00 +01:00
Jan Sandbrink cb4bfa905c Add empty wikis tab to work package view
Adding the necessary glue code to render the wikis tab in all relevant views.
2026-03-24 13:41:46 +01:00