-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: added celery task feature - with task graphs and details #6840
base: main
Are you sure you want to change the base?
Conversation
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to 593d666 in 1 minute and 18 seconds
More details
- Looked at
1154
lines of code in22
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.tsx:57
- Draft comment:
Remove the console.log statement to clean up the code for production.
```
- Reason this comment was not posted:
Marked as duplicate.
2. frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.tsx:47
- Draft comment:
Avoid using inline styles for theCard
component. Use external stylesheets or styled components instead. - Reason this comment was not posted:
Marked as duplicate.
3. frontend/src/components/CeleryTask/CeleryTaskConfigOptions/CeleryTaskConfigOptions.tsx:66
- Draft comment:
Avoid using inline styles for theButton
component. Use external stylesheets or styled components instead. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_G1Qngh0GJjKTSYsC
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
onClose, | ||
}: CeleryTaskDetailProps): JSX.Element { | ||
const isDarkMode = useIsDarkMode(); | ||
console.log(task); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the console.log statement to clean up the code for production.
console.log(task); | |
``` |
}} | ||
className="celery-task-detail-drawer" | ||
destroyOnClose | ||
closeIcon={<X size={16} style={{ marginTop: Spacing.MARGIN_1 }} />} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using inline styles for the closeIcon
in the Drawer
component. Use external stylesheets or styled components instead.
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
1 similar comment
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
There was a problem hiding this 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! Incremental review on 69988a1 in 1 minute and 2 seconds
More details
- Looked at
184
lines of code in4
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. frontend/src/components/CeleryTask/CeleryTaskDetail/CeleryTaskDetail.tsx:28
- Draft comment:
Remove the console.log statement to clean up the code.
- Reason this comment was not posted:
Comment looked like it was already resolved.
2. frontend/src/components/CeleryTask/CeleryTaskDetail/CeleryTaskDetail.tsx:26
- Draft comment:
Avoid using inline styles. Consider using external stylesheets, CSS classes, or styled components instead. - Reason this comment was not posted:
Comment was not on a valid diff hunk.
3. frontend/src/components/CeleryTask/CeleryTaskGraph/CeleryTaskGraph.style.scss:64
- Draft comment:
Use design tokens or predefined color constants instead of hardcoding color values to maintain consistency in design and theming. This is also applicable to lines 51, 60, 75, 82, and 92. - Reason this comment was not posted:
Comment looked like it was already resolved.
Workflow ID: wflow_STQTbl1b8q63NvaN
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Summary
Related Issues / PR's
Screenshots
Screen.Recording.2025-01-17.at.8.48.48.AM.mov
Affected Areas and Manually Tested Areas
Important
Introduces a new feature for managing Celery tasks with detailed views and graphs, including routing, styling, and utility updates.
CeleryTask
component inCeleryTask.tsx
to display Celery task details and graphs.CeleryTaskConfigOptions
,CeleryTaskDetail
, andCeleryTaskGraphGrid
components for task configuration, detail view, and graph display.CeleryTaskConfigOptions.tsx
.CeleryTask
route inroutes.ts
andAppRoutes/pageComponents.ts
.ROUTES
inconstants/routes.ts
to includeMESSAGING_QUEUES_CELERY_TASK
.CeleryTask.styles.scss
,CeleryTaskConfigOptions.styles.scss
, andCeleryTaskGraph.style.scss
.CeleryUtils.ts
for query parameter management.routePermission
inutils/permission/index.ts
to includeMESSAGING_QUEUES_CELERY_TASK
.This description was created by for 69988a1. It will automatically update as commits are pushed.