-
Couldn't load subscription status.
- Fork 4.4k
Add queue management dashboard #15202
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
fe85903
Fix worker health check using wrong Redis connection
FelixMalfait 9e88d6e
Add queue management dashboard with job viewing and retry capabilities
FelixMalfait 1befb50
Fix plural
FelixMalfait be00ad3
Fix casing
FelixMalfait f3812fb
Simplify requirements
FelixMalfait d921ff2
Align types with BullMQ
FelixMalfait db96998
Fix
FelixMalfait a364cc6
Merge main branch into fix-worker-health-redis-connection
FelixMalfait 5afec48
Lint
FelixMalfait 867753d
Merge branch 'main' into fix-worker-health-redis-connection
FelixMalfait 063c782
Add SettingsAdmin prefix to health status components
FelixMalfait fd46be1
Merge branch 'main' into fix-worker-health-redis-connection
FelixMalfait 8f04c8d
Rename DTO files
FelixMalfait c4a8137
Lint
FelixMalfait 6ea0996
Merge branch 'main' into fix-worker-health-redis-connection
FelixMalfait 8f74344
Fix test
FelixMalfait 77db6bb
Fix
FelixMalfait c7c639c
Fix ResolverArgsType to use RESOLVER_METHOD_NAMES as single source of…
FelixMalfait File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
379 changes: 317 additions & 62 deletions
379
packages/twenty-front/src/generated-metadata/graphql.ts
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
packages/twenty-front/src/modules/billing/graphql/fragments/billingPriceLicensedFragment.ts
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
packages/twenty-front/src/modules/billing/graphql/fragments/billingPriceMeteredFragment.ts
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
38 changes: 38 additions & 0 deletions
38
...ettings/admin-panel/health-status/components/SettingsAdminDeleteJobsConfirmationModal.tsx
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal'; | ||
| import { plural, t } from '@lingui/core/macro'; | ||
|
|
||
| type SettingsAdminDeleteJobsConfirmationModalProps = { | ||
| modalId: string; | ||
| jobCount: number; | ||
| onConfirm: () => void; | ||
| onClose?: () => void; | ||
| }; | ||
|
|
||
| export const SettingsAdminDeleteJobsConfirmationModal = ({ | ||
| modalId, | ||
| jobCount, | ||
| onConfirm, | ||
| onClose, | ||
| }: SettingsAdminDeleteJobsConfirmationModalProps) => { | ||
| const title = plural(jobCount, { | ||
| one: `Delete ${jobCount} Job`, | ||
| other: `Delete ${jobCount} Jobs`, | ||
| }); | ||
|
|
||
| const subtitle = plural(jobCount, { | ||
| one: `This will permanently remove it from the queue. This action cannot be undone.`, | ||
| other: `This will permanently remove them from the queue. This action cannot be undone.`, | ||
| }); | ||
|
|
||
| return ( | ||
| <ConfirmationModal | ||
| modalId={modalId} | ||
| title={title} | ||
| subtitle={subtitle} | ||
| onConfirmClick={onConfirm} | ||
| onClose={onClose} | ||
| confirmButtonText={t`Delete`} | ||
| confirmButtonAccent="danger" | ||
| /> | ||
| ); | ||
| }; | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.