14 Commits

Author SHA1 Message Date
Henriette Darge 73a382323a Replace angular CE with new Primer CollapsibleSection 2025-04-15 09:19:03 +02:00
Oliver Günther e3d02dc504 Get rid of decorated select altogether 2025-01-07 09:35:48 +01:00
Oliver Günther 71af8f55ed Make decorate-select behave more like op-autocompleter 2025-01-07 09:35:48 +01:00
Oliver Günther ac39406347 Replace dynamic bootstrapped components with angular elements 2024-08-16 19:16:13 +02:00
Oliver Günther d5150bfc1e Revert "Revert "Update Primer to version 0.22.2""
This reverts commit d7784edc61.
2024-02-20 09:28:27 +01:00
Oliver Günther a2a121c3e8 Revert "Update Primer to version 0.22.2" 2024-02-18 20:55:02 +01:00
Henriette Darge 0ef47db888 Append the ngSelect dropdown to the dialog as it would otherwise be invisible behind the dialog 2024-02-09 14:08:06 +01:00
jjabari-op 1a9d031a77 Feature/49951 meetings tab on work package page (#13749)
* [#49951] Meetings tab on work package page

https://community.openproject.org/work_packages/49951

* added meetings tab for work package page as and add-on feature for #13725, specs missing

* cleanup and updated to-do comments

* cleanup left-overs of include child wps draft

* Use autocomplete select decoration for meeting selector

* Use proper prefix for turbo frame src and add content-loader example

* WIP: Adding specs for meetings tab, specs for adding agenda items through meetings tab missing

* re-enabled temporarly disabled specs

* cleanup redundant UI update

* implemented potentiallly reuseable async primer dialog, using turbo frame and a bit of stimulus

* cleanup

* finalized meeting tabs specs

* adjusted contracts towards usage in meetings tab

* Do not output meetings tab on new work packages

* Don't use through association to check for presence, use meeting itself

* Add TurboElement type to prevent any

* Rework into view

* Visit response in case frame is missing

If you're setting up the wrong frame response, you get "Content missing" by default. This is not very helpful for identifying the error.

We can listen to the turbo frame-missing event and promote it to a full visit instead

https://community.openproject.org/work_packages/50210

* Add nowrap to "Added by"

* Unify "added by" display

* Adapt create contract spec for visibility check

* Use contract to get assignable meetings

* Use explicit option to set decorated status, even if options empty

---------

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2023-09-28 14:48:07 +02:00
Oliver Günther 59d5c73b5d Omit key value 3.1 2022-06-20 10:44:05 +02:00
Henriette Darge 627fe9123a Move the project autocompleter for custom action to the autocomplete decoration component in order to keep the logic of adding hidden field values when chosing a different option. Otherwise the project selection would never be saved. Unfortunately, there is some mapping neede as the the project autocompleter and the decorator deal with different types. 2022-06-17 13:38:00 +02:00
Oliver Günther 9c581288ae [30809] Hide autocomplete decoration while loading
https://community.openproject.com/wp/30809
2019-08-22 14:18:19 +02:00
Oliver Günther 0541a32dfa Fix specs 2019-07-03 22:02:59 +02:00
Oliver Günther b4a80eb5ce Replace autocomplete-select-decoration 2019-02-28 13:39:53 +01:00
Oliver Günther 7d262955ed [29130] Documents: Remove angularjs collapsible section and fix group_by
AngularJS wasn't activated for the documents collapsible-section.
Instead, refactor it into a augmented component with a rails helper to render it.

https://community.openproject.com/wp/29130
2018-12-05 10:27:37 +01:00