[WEB 3132] chore: progress helper function and code refactor#6419
[WEB 3132] chore: progress helper function and code refactor#6419
Conversation
|
Pull Request Linked with Plane Issues Comment Automatically Generated by Plane |
2 similar comments
|
Pull Request Linked with Plane Issues Comment Automatically Generated by Plane |
|
Pull Request Linked with Plane Issues Comment Automatically Generated by Plane |
WalkthroughThis pull request introduces a new Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
web/ce/components/issues/issue-layouts/issue-stats.tsx(1 hunks)web/core/components/issues/issue-layouts/list/block.tsx(2 hunks)web/helpers/common.helper.ts(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Analyze (javascript)
- GitHub Check: Analyze (python)
🔇 Additional comments (2)
web/ce/components/issues/issue-layouts/issue-stats.tsx (1)
1-2: Verify if client-side directive is necessary.The component currently doesn't use any client-side features. Consider removing the "use client" directive unless you plan to add client-side functionality.
web/core/components/issues/issue-layouts/list/block.tsx (1)
25-25: LGTM! Clean integration of IssueStats component.The changes properly integrate the IssueStats component for epic issues:
- Import is well-organized with other component imports
- Component is conditionally rendered only for epic issues
- Required props are correctly passed
Also applies to: 280-280
Description
This PR includes following changes:
Type of Change
References
[WEB 3132]
Summary by CodeRabbit
New Features
IssueStatscomponent for displaying issue statisticsgetProgressutility function to calculate progress percentageImprovements
IssueBlockcomponent to conditionally render issue statistics for epic issues