149 Commits

Author SHA1 Message Date
OpenProject Actions CI feea0e8d1b update locales from crowdin [ci skip] 2026-06-13 04:39:28 +00:00
Klaus Zanders 16d9c86f77 Implement scope to get all ResourceAllocation objects for a given project 2026-06-12 12:46:21 +02:00
OpenProject Actions CI 4d59009e7c update locales from crowdin [ci skip] 2026-06-12 04:33:41 +00:00
Klaus Zanders 24a5b24bcd Merge pull request #23661 from opf/wire-up-edit-work-package
[Resource Management] Allow editing Work on the WP from the Resource Planner
2026-06-11 16:19:17 +02:00
Klaus Zanders 3494a6df83 Merge pull request #23628 from opf/finish-work-package-table
[Resource Management] Finish work package table
2026-06-11 16:17:42 +02:00
Klaus Zanders 7649d2c9a5 Fixes Rubocop 2026-06-11 12:01:48 +02:00
Klaus Zanders b2a2c09717 Remove divider on the footer 2026-06-11 11:34:05 +02:00
Klaus Zanders dd987c51c1 Proper layout for the table. Middle align, fixed widths 2026-06-11 11:30:20 +02:00
Klaus Zanders 85ebce3f76 Proper styling of the allocated members table 2026-06-11 10:58:46 +02:00
Klaus Zanders 9065a2d85b put a max cap on allocated_time so we do not run into an integer range error 2026-06-11 10:11:57 +02:00
Klaus Zanders 6b276f2f33 Only assign turbo frame reload logic, when we actually have a view 2026-06-11 09:38:50 +02:00
Klaus Zanders efef9597f4 Ensure we have no div/0 errors for the progress bar 2026-06-11 09:38:14 +02:00
OpenProject Actions CI bd78382cab update locales from crowdin [ci skip] 2026-06-11 04:34:09 +00:00
Klaus Zanders c730866e12 Ensure that everything is nicely reloaded when creating/updating/deleting a resource allocation 2026-06-10 17:00:39 +02:00
Klaus Zanders 500d7ca79f Add specs for resource planner progress editing 2026-06-10 15:50:13 +02:00
Klaus Zanders 7a47b0b25e Edit total work from the resource planner list via the progress modal 2026-06-10 15:42:53 +02:00
Klaus Zanders 11315f1933 Run the overbooking confirmation step on allocation updates 2026-06-10 14:52:59 +02:00
Klaus Zanders e8795b9152 Compact allocation row menu and left-align the allocate footer action 2026-06-10 14:47:28 +02:00
Klaus Zanders 188c0cbfd6 Build the work package list content on the resource planner show page 2026-06-10 14:44:03 +02:00
Klaus Zanders 50c1277d97 Allow editing and deleting allocations from the dialog row menu 2026-06-10 14:40:11 +02:00
Klaus Zanders 8100f22c6f Flag overbooked allocations with a warning icon in the dialog 2026-06-10 14:32:15 +02:00
Klaus Zanders b78e7329e0 Wrap dialog allocation list in a BorderBox via streamable ListComponent 2026-06-10 14:23:44 +02:00
Klaus Zanders 563f2b0d58 Use person-add icon for unassigned allocations and the allocate link 2026-06-10 14:21:45 +02:00
Klaus Zanders c43ced6250 Render dialog allocation times as duration pills 2026-06-10 14:20:37 +02:00
Klaus Zanders 95f7883023 Move AllocationProgressComponent to shared ResourceAllocations namespace 2026-06-10 14:19:05 +02:00
Klaus Zanders 74a113800c Use large portrait dialog for the dialog 2026-06-10 13:55:33 +02:00
Klaus Zanders 9455bdc831 Resource Allocation info dialog 2026-06-10 13:55:31 +02:00
Klaus Zanders 5c1f221513 Only show visible users 2026-06-10 13:55:30 +02:00
Klaus Zanders 34609d6b9f Implement Allocated Users column 2026-06-10 13:55:28 +02:00
Klaus Zanders c9d4cf2938 Add ProgressBar for Allocation Column 2026-06-10 13:55:26 +02:00
Klaus Zanders 35a20584b5 Only refresh the banner instead of the entire form 2026-06-10 13:03:56 +02:00
Klaus Zanders caefdd0ab0 When the allocation spans over multiple schedules, also show this in the warning 2026-06-10 12:44:09 +02:00
Klaus Zanders c2b3ec89cc Show availability factor in the overbooking warning 2026-06-10 12:19:10 +02:00
Klaus Zanders eccaf94237 Show warning for scheduling outside of work package hours in the dialog itself 2026-06-10 11:59:37 +02:00
Klaus Zanders 372c295422 Add gray background for the box 2026-06-10 11:59:18 +02:00
Klaus Zanders 4f425b03fb Display the correct working schedule 2026-06-10 11:59:17 +02:00
Klaus Zanders 660806aeeb Show overbooking warning for a user 2026-06-10 11:59:12 +02:00
Klaus Zanders d828f28c85 Resource Allocation calculation 2026-06-10 11:57:02 +02:00
Klaus Zanders 34c262c489 Add more scopes for working time related models 2026-06-10 11:57:00 +02:00
Klaus Zanders bda6278fd6 Merge pull request #23512 from opf/resource-allocation-modals
Resource allocation modals
2026-06-10 11:50:11 +02:00
Klaus Zanders 879d4e8abe Allow to schedule resource allocations on just one day 2026-06-10 09:40:08 +02:00
Klaus Zanders d3b86ed049 Fix specs 2026-06-09 16:48:40 +02:00
Klaus Zanders 2b3ca6fbf3 Only load principals that are members of the project 2026-06-09 16:33:38 +02:00
Klaus Zanders ae42d25894 Add specs denying the create action for an allocation 2026-06-09 16:25:13 +02:00
Klaus Zanders 121fe536d8 Guard the Allocate action behind the allocate_user_resources permission 2026-06-09 16:22:28 +02:00
Klaus Zanders 4020444b64 Get rid of custom CSS for the footer 2026-06-09 16:20:24 +02:00
OpenProject Actions CI 16707c0224 update locales from crowdin [ci skip] 2026-06-09 12:39:31 +00:00
Klaus Zanders c0ecc6af5d Fix rubocop issue in Controller 2026-06-09 11:50:28 +02:00
Klaus Zanders 69f15b7fab Sort file 2026-06-09 11:34:30 +02:00
Klaus Zanders de875258a4 Get rid of some additional comments 2026-06-09 11:29:14 +02:00