-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
F/692 pause resume jobs at once #868
Merged
felixmosh
merged 5 commits into
felixmosh:master
from
ahnwarez:f/692-pause-resume-jobs-at-once
Jan 19, 2025
Merged
F/692 pause resume jobs at once #868
felixmosh
merged 5 commits into
felixmosh:master
from
ahnwarez:f/692-pause-resume-jobs-at-once
Jan 19, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…esume functionality; update OverviewPage layout and styles - Introduced a new `OverviewActions` component that provides pause and resume actions for queues. - Updated `OverviewPage` to include the new `OverviewActions` component in the header. - Enhanced CSS for the header layout to improve UI alignment and spacing. - Added new translation keys for pause and resume actions in the localization files.
…ewActions component - Updated the OverviewActions component to accept actions as props, enabling pause and resume functionality for queues. - Implemented pauseAll and resumeAll actions in the useQueues hook. - Modified OverviewPage to pass the actions prop to OverviewActions, enhancing the user interface for queue management.
- Introduced `pauseAllHandler` and `resumeAllHandler` to handle pausing and resuming all queues. - Updated `appRoutes` to include new API endpoints for pausing and resuming queues. - Enhanced `useQueues` hook to integrate API calls for pausing and resuming queues with user confirmation. - Added corresponding methods in the `Api` service for making requests to the new endpoints.
OverviewActions is renamed to OverviewDropDownActions
I didn't forgot about this PR, I'm a bit busy, I'll review it ASAP |
Thank you for this PR. |
alexandresoro
pushed a commit
to alexandresoro/ouca
that referenced
this pull request
Jan 19, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@bull-board/api](https://github.com/felixmosh/bull-board) ([source](https://github.com/felixmosh/bull-board/tree/HEAD/packages/api)) | dependencies | minor | [`6.6.2` -> `6.7.0`](https://renovatebot.com/diffs/npm/@bull-board%2fapi/6.6.2/6.7.0) | | [@bull-board/fastify](https://github.com/felixmosh/bull-board) ([source](https://github.com/felixmosh/bull-board/tree/HEAD/packages/fastify)) | dependencies | minor | [`6.6.2` -> `6.7.0`](https://renovatebot.com/diffs/npm/@bull-board%2ffastify/6.6.2/6.7.0) | --- ### Release Notes <details> <summary>felixmosh/bull-board (@​bull-board/api)</summary> ### [`v6.7.0`](https://github.com/felixmosh/bull-board/blob/HEAD/CHANGELOG.md#v670) [Compare Source](felixmosh/bull-board@v6.6.2...v6.7.0) - F/692 pause resume jobs at once [`#868`](felixmosh/bull-board#868) - fix: show only relevant option in overview dropdown [`98aaa5d`](felixmosh/bull-board@98aaa5d) - fix: apply settings default tab on failed status as well. [`11cf428`](felixmosh/bull-board@11cf428) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMTYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjExNi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Reviewed-on: https://git.tristess.app/alexandresoro/ouca-backend/pulls/483 Reviewed-by: Alexandre Soro <[email protected]> Co-authored-by: renovate <[email protected]> Co-committed-by: renovate <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses a requested feature in issue #692 so that users can pause or resume all queues at once with a single click. I'm one of the users who is keen to have this feature as it makes easier to control all queues.
A new component is added to the
OverviewPage.tsx
that displays a drop-down list.The frontend component calls an api to the backend to loop over every queue to pause or resume.
/api/queues/pause
/api/queue/resume