Skip to content

Add copy button for planned maintenance tasks#1813

Merged
Simrayz merged 2 commits intomainfrom
feat/1613-copy-pm-task
Mar 2, 2026
Merged

Add copy button for planned maintenance tasks#1813
Simrayz merged 2 commits intomainfrom
feat/1613-copy-pm-task

Conversation

@Simrayz
Copy link
Copy Markdown
Contributor

@Simrayz Simrayz commented Feb 25, 2026

Scope and purpose

Fixes #1613.

Add a "Create copy" action for planned maintenance tasks. This opens the create form pre-populated with the source task's description and filters, making it easy to create similar tasks without re-selecting filters manually.

This pull request

  • Adds copy_from query parameter support to the create view
  • Adds a dropdown menu with secondary actions (Create copy, End now, Delete) in the list view
  • Adds a "Create copy" button to the detail/edit form
  • Loads FontAwesome regular icons in the base template

Screenshots

image image

Contributor Checklist

  • Added a changelog fragment for towncrier
  • Added/amended tests for new/changed code
  • Added/changed documentation, including updates to the user manual if feature flow or UI is considerably changed
  • Linted/formatted the code with ruff and djLint, easiest by using pre-commit
  • The first line of the commit message continues the sentence "If applied, this commit will ...", starts with a capital letter, does not end with punctuation and is 50 characters or less long. See our how-to
  • If applicable: Created new issues if this PR does not fix the issue completely/there is further work to be done
  • If this results in changes in the UI: Added screenshots of the before and after

@Simrayz Simrayz self-assigned this Feb 25, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 25, 2026

Test results

    6 files    894 suites   1m 51s ⏱️
  706 tests   705 ✅ 1 💤 0 ❌
4 236 runs  4 230 ✅ 6 💤 0 ❌

Results for commit a3782df.

♻️ This comment has been updated with latest results.

@Simrayz Simrayz force-pushed the feat/1613-copy-pm-task branch 3 times, most recently from c963ff6 to 45eb106 Compare February 25, 2026 13:36
@Simrayz Simrayz requested a review from a team February 26, 2026 11:05
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.71%. Comparing base (17288c0) to head (a3782df).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1813      +/-   ##
==========================================
+ Coverage   82.63%   82.71%   +0.08%     
==========================================
  Files         139      139              
  Lines        6599     6607       +8     
==========================================
+ Hits         5453     5465      +12     
+ Misses       1146     1142       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Simrayz Simrayz force-pushed the feat/1613-copy-pm-task branch from 2d84114 to a3782df Compare February 26, 2026 11:31
@sonarqubecloud
Copy link
Copy Markdown

@Simrayz Simrayz marked this pull request as ready for review February 26, 2026 12:53
Copy link
Copy Markdown
Contributor

@johannaengland johannaengland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works beautifully! 10/10 no notes

@Simrayz Simrayz merged commit de0a689 into main Mar 2, 2026
18 checks passed
@Simrayz Simrayz deleted the feat/1613-copy-pm-task branch March 2, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add button to planned maintenance details page to copy an existing PM task

2 participants