Skip to content

Scheduled actions ILLDEV-412#11

Merged
skomorokh merged 9 commits into
mainfrom
scheduled-actions-illdev-412
Jun 9, 2026
Merged

Scheduled actions ILLDEV-412#11
skomorokh merged 9 commits into
mainfrom
scheduled-actions-illdev-412

Conversation

@skomorokh

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR implements a new “Scheduled actions” settings area for ui-rs, including list/detail views, create/edit forms, a small scheduling model (cron ↔︎ {days,times}), and the necessary i18n strings/dependencies.

Changes:

  • Replaces the previous placeholder Scheduled Actions settings page with a full CRUD UI backed by broker/batch_actions.
  • Adds a weekly-schedule conversion/formatting layer (scheduleExpression, model) and UI inputs for days + UTC times.
  • Introduces per-action parameter blocks via a small action registry, plus Jest coverage for the new model/UI pieces.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
translations/ui-rs/en.json Adds i18n strings for Scheduled Actions settings UI.
src/settings/ScheduledActionsSettings.js Removes the previous placeholder pane component.
src/settings/index.js Wires Scheduled Actions into Settings with localized section/page labels.
src/settings/scheduledActions/index.js Adds barrel export for the Scheduled Actions settings module.
src/settings/scheduledActions/ScheduledActions.js Implements list page + nested routes for new/view/edit.
src/settings/scheduledActions/ScheduledActions.test.js Adds list rendering test with human-readable schedule assertion.
src/settings/scheduledActions/ViewScheduledAction.js Implements detail view with edit/delete action menu and confirmation modal.
src/settings/scheduledActions/CreateScheduledAction.js Implements create flow via react-query mutation + okapiKy POST.
src/settings/scheduledActions/EditScheduledAction.js Implements edit flow via react-query mutation + okapiKy PUT.
src/settings/scheduledActions/ScheduledActionForm.js Adds shared form for create/edit: action selector, query, schedule, params.
src/settings/scheduledActions/ScheduledActionForm.test.js Adds tests for params inclusion/clearing and day selection behavior.
src/settings/scheduledActions/model.js Adds form-values ↔︎ API record mapping helpers.
src/settings/scheduledActions/model.test.js Adds unit tests for model mapping helpers.
src/settings/scheduledActions/actions/actionRegistry.js Defines mapping of actionName → params component.
src/settings/scheduledActions/actions/EmailPullslipsParams.js Adds params UI for email action (attachPdf).
src/settings/scheduledActions/actions/AgeRequestsParams.js Adds params UI for age-requests action (tier durations).
src/settings/scheduledActions/schedule/scheduleExpression.js Adds cron parsing/formatting + human-readable schedule summary.
src/settings/scheduledActions/schedule/scheduleExpression.test.js Adds unit tests for cron conversion and display formatting.
src/settings/scheduledActions/schedule/TimesField.js Adds repeatable UTC Timepicker field for selecting run times.
src/settings/scheduledActions/schedule/DaysOfWeek/DaysOfWeek.js Adds custom day-of-week toggle control integrated with final-form.
src/settings/scheduledActions/schedule/DaysOfWeek/DaysOfWeek.css Adds styling for day-of-week toggle control.
package.json Adds final-form array dependencies used by the schedule times UI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/settings/scheduledActions/schedule/scheduleExpression.js Outdated
Comment thread src/settings/scheduledActions/ViewScheduledAction.js Outdated
@skomorokh skomorokh marked this pull request as ready for review June 4, 2026 17:24
Comment thread src/settings/scheduledActions/schedule/scheduleExpression.js

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.

Comment thread src/settings/index.js Outdated
@skomorokh skomorokh merged commit d959c79 into main Jun 9, 2026
1 check passed
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.

3 participants