7 Commits

Author SHA1 Message Date
Alexander Brandon Coles e419c22c95 [DREAM-707] Stabilize Angular track keys
Use stable scalar keys for Angular `@for` loops with rebuilt object
values across breadcrumbs and related list templates to avoid DOM
recreation warnings.

https://community.openproject.org/wp/DREAM-707
2026-06-08 08:17:19 +01:00
Alexander Brandon Coles 718b07cf19 Migrate templates to self-closing tags
Automated conversion with:

    ng generate @angular/core:self-closing-tag
2025-09-16 10:45:40 +01:00
Alexander Brandon Coles 8f5be89a59 [#67394] Migrate templates to Control Flow syntax
Automated conversion with:

    ng generate @angular/core:control-flow

Old structural directives `*ngIf`, `*ngFor`, and `[ngSwitch]` are now
deprecated and will be removed in v22.

See https://angular.dev/api/common/NgIf
See https://angular.dev/api/common/NgFor
See https://angular.dev/api/common/NgSwitch
2025-09-16 10:44:16 +01:00
Henriette Darge 9fbb74646c Use op-principal classes on the Github user to look like our principals. Further, the CSS was cleaned up 2024-03-25 13:02:07 +01:00
Oliver Günther 4c66fc1d18 Extract PR state into separate coponent 2023-04-18 16:09:09 +02:00
Oliver Günther 077112df43 Replace github state with store 2023-04-18 16:02:58 +02:00
Wieland Lindenthal e72d940b5b Feature/37108 improve design of GitHub tab (#9329)
* Rename Git button to 'Git snippets'

* Change font for Github tab header

* Improve design of pr status badges

* Reorganize the design of PR headers

* Improve design of PR checks

* Improve design of git snippets menu

* Remove WP description from commit message and command

* Fix frontend specs for github integration

* Adding dots to the end of phrases.

* Github Integration: reduce dom depth. remove last border under PR

* Add target blank to PR details link & other fixes

* Fix work_package_github_tab_spec.rb

* Remove fdescribe

* Improve layout of Github pull requests tab header

* Add title to Github check icon

* Refactor classnames for github pull requests

This introduces `op-pull-request` and `op-pr-check` as BEM blocks, both in their own sass files, but the files still scoped to the pull request component.

* Fix frontend spec. Added karma Chrome debug config.

* Fix frontend specs after refactoring styles

Co-authored-by: Benjamin Bädorf <b.baedorf@openproject.com>
2021-06-01 10:29:05 +02:00