Skip to content

Conversation

@chippison
Copy link
Contributor

@chippison chippison commented Dec 23, 2025

Description

UX-352

We want to be able to add a new section that shows the 'selected reports' and be able to re-order them.
We would want the reports to be created/displayed in the order they where put in.

fixes #17662

Acceptance Criteria:

  • Selected reports reorder-able
  • Reports should be displayed in the same order that was chosen above
  • Notification shows when we add/update a scheduled report

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

Review

… testing the order persistence of selected reports
…cheduled reports as well as updated reports. Old reports should retain the old order
…stence of selected reports, we are also testing creating and updating a scheduled report
… adding enforceOrder parameter to Integration tests
…fault or if it is not passed as part of the parameter when adding or updating the scheduled report.
…ame function as the rest of the report parameters
@chippison chippison force-pushed the add-drag-and-drop-for-selected-reports branch from bd05c89 to 51bc2ee Compare December 29, 2025 08:50
@chippison chippison marked this pull request as ready for review December 29, 2025 20:05
@chippison chippison requested a review from a team December 29, 2025 22:46
nathangavin
nathangavin previously approved these changes Jan 5, 2026
Copy link
Contributor

@nathangavin nathangavin left a comment

Choose a reason for hiding this comment

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

Looks good to me, only minor issue is perhaps some leftover code? see comment.

@chippison chippison added this to the 5.7.0 milestone Jan 7, 2026
@chippison chippison merged commit 268af76 into 5.x-dev Jan 12, 2026
66 of 71 checks passed
@chippison chippison deleted the add-drag-and-drop-for-selected-reports branch January 12, 2026 05:14
const $list = jq('.selectedReportsList');
// Get sortable instance and call stop handler manually,
// so that we simulate the emitted reorder event
const stopHandler = $list.sortable('option', 'stop');
Copy link
Member

Choose a reason for hiding this comment

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

We should avoid using jQuery UI where possible. The short / mid term plan is to fully remove it, not to add more usage of it. See #16033

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the info on this @sgiehl.
I'll not add in new jquery code in the future

Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting info.
It's noted on my side too! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Sort Reports in Email Reports in a useful way

5 participants