Skip to content

Conversation

anmolsinghbhatia
Copy link
Collaborator

@anmolsinghbhatia anmolsinghbhatia commented Oct 13, 2025

Description

This PR includes the following changes:

  • Migration of the cycle and module icons.
  • Updated dashboard icon.

Type of Change

  • Improvement

Summary by CodeRabbit

  • Style
    • Updated cycle visuals across the app: replaced the previous cycle icon with a dedicated Cycle icon in filters, issue layouts (including “None” cycle), activity feed, read-only cycle views, and command palette actions.
    • Refreshed dashboard icon with a new design for improved visual clarity.
    • Consistent iconography applied in spreadsheets and property maps for cycles and modules, ensuring uniform appearance across interfaces.

@anmolsinghbhatia anmolsinghbhatia self-assigned this Oct 13, 2025
@Copilot Copilot AI review requested due to automatic review settings October 13, 2025 19:48
Copy link

makeplane bot commented Oct 13, 2025

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

Copy link
Contributor

@Copilot Copilot AI left a comment

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 migrates cycle and module icons throughout the codebase and updates the dashboard icon design. The changes replace usage of ContrastIcon from Lucide React with a custom CycleIcon component and update the dashboard icon's SVG path.

  • Replaces ContrastIcon with CycleIcon across multiple components
  • Updates dashboard icon with new SVG path design
  • Removes unused ContrastIcon import from cycle group component

Reviewed Changes

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

Show a summary per file
File Description
packages/propel/src/icons/dashboard-icon.tsx Updates dashboard icon SVG path with new design
packages/propel/src/icons/cycle/cycle-group-icon.tsx Replaces ContrastIcon with CycleIcon and removes unused import
apps/web/core/components/readonly/cycle.tsx Updates cycle component to use CycleIcon instead of ContrastIcon
apps/web/core/components/issues/issue-layouts/utils.tsx Replaces ContrastIcon with CycleIcon in issue layout utilities
apps/web/core/components/core/activity.tsx Updates activity component to use CycleIcon with proper props
apps/web/core/components/command-palette/actions/project-actions.tsx Replaces ContrastIcon with CycleIcon in command palette
apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx Updates filter configuration to use CycleIcon and ModuleIcon
apps/web/ce/components/issues/issue-layouts/utils.tsx Updates spreadsheet property icon mapping to use CycleIcon
apps/space/core/components/issues/issue-layouts/utils.tsx Replaces ContrastIcon with CycleIcon in space component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

coderabbitai bot commented Oct 13, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Replaces cycle-related icons from ContrastIcon to CycleIcon across multiple UI components and mappings, adjusts module icons in a filter config, updates propel cycle group icon mapping, and changes the DashboardIcon SVG path. No function/type signatures or control flow are modified.

Changes

Cohort / File(s) Summary of changes
Cycle icon swap in issue layouts and mappings
apps/space/core/components/issues/issue-layouts/utils.tsx, apps/web/core/components/issues/issue-layouts/utils.tsx, apps/web/ce/components/issues/issue-layouts/utils.tsx
Replaced ContrastIcon with CycleIcon for cycle-related UI (including “None” column); updated imports and mapping entries.
Filters config icon updates
apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx
Swapped cycle filter icon to CycleIcon; replaced module filter icon and option rendering to ModuleIcon; imports adjusted.
Command palette cycle action icon
apps/web/core/components/command-palette/actions/project-actions.tsx
Changed “Create new cycle” item icon from ContrastIcon to CycleIcon; imports updated.
Activity and readonly cycle components
apps/web/core/components/core/activity.tsx, apps/web/core/components/readonly/cycle.tsx
Replaced cycle-related icon rendering from ContrastIcon to CycleIcon; imports updated.
Propel cycle group icon mapping
packages/propel/src/icons/cycle/cycle-group-icon.tsx
Updated iconComponents and fallback to use CycleIcon instead of ContrastIcon; added CycleIcon import.
Dashboard icon SVG update
packages/propel/src/icons/dashboard-icon.tsx
Replaced SVG path data for DashboardIcon; component API unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I swapped a wheel where contrast stood,
A cycle spins as icons should.
The dashboard’s face now gleams anew,
Modules shine in sleeker hue.
With tiny hops, the changes land—
A rabbit’s tweak, light-footed, grand. 🐇✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The PR description provides the Description and Type of Change sections but omits the required Screenshots and Media, Test Scenarios, and References sections specified in the repository template. Including these sections is important for visual verification, clear test documentation, and linking back to the related issue. Without them the description does not fully meet the template requirements. Please update the PR description to include the Screenshots and Media section if applicable, a Test Scenarios section describing how the icon changes were verified, and a References section linking to the related issue or ticket. Adding these sections will ensure that reviewers can see the visual updates, understand the test coverage, and easily navigate back to the original task.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The title succinctly indicates that this PR is a chore focused on revamping icons and aligns with the changes to cycle, module, and dashboard icons. It is concise, specific to the main update, and includes the ticket reference without extraneous details. This phrasing allows teammates to quickly understand the core purpose of the PR.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore-cycle-and-module-icons-revamp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

♻️ Duplicate comments (1)
apps/web/core/components/core/activity.tsx (1)

473-473: LGTM! Icon props are correctly used.

The CycleIcon implementation accepts height and width props (as defined in packages/propel/src/icons/cycle-icon.tsx), not a size prop. The current usage with height={12} width={12} is correct for this icon's API.

Note: The previous Copilot comment suggesting size={12} was incorrect, as CycleIcon does not support the size prop.

🧹 Nitpick comments (1)
apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx (1)

198-199: LGTM! Module filter icon correctly updated.

The migration to ModuleIcon for both the filter and option icons is correct.

Minor observation: Module option icons use h-3 w-3 (Line 199) while cycle option icons use h-3.5 w-3.5 (Line 186). If this sizing difference is unintentional, consider aligning them for visual consistency.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9f41e92 and 5d0bd4b.

📒 Files selected for processing (9)
  • apps/space/core/components/issues/issue-layouts/utils.tsx (2 hunks)
  • apps/web/ce/components/issues/issue-layouts/utils.tsx (2 hunks)
  • apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx (3 hunks)
  • apps/web/core/components/command-palette/actions/project-actions.tsx (2 hunks)
  • apps/web/core/components/core/activity.tsx (2 hunks)
  • apps/web/core/components/issues/issue-layouts/utils.tsx (2 hunks)
  • apps/web/core/components/readonly/cycle.tsx (2 hunks)
  • packages/propel/src/icons/cycle/cycle-group-icon.tsx (2 hunks)
  • packages/propel/src/icons/dashboard-icon.tsx (1 hunks)
🧰 Additional context used
🧬 Code graph analysis (8)
apps/space/core/components/issues/issue-layouts/utils.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx (2)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
packages/propel/src/icons/module-icon.tsx (1)
  • ModuleIcon (5-42)
apps/web/core/components/readonly/cycle.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
packages/propel/src/icons/cycle/cycle-group-icon.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
apps/web/core/components/command-palette/actions/project-actions.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
apps/web/core/components/core/activity.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
apps/web/core/components/issues/issue-layouts/utils.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
apps/web/ce/components/issues/issue-layouts/utils.tsx (1)
packages/propel/src/icons/cycle-icon.tsx (1)
  • CycleIcon (5-37)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Build and lint web apps
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (9)
apps/space/core/components/issues/issue-layouts/utils.tsx (1)

6-6: LGTM! Clean icon replacement.

The import and usage of CycleIcon for the "None" cycle option is correct and aligns with the PR's icon migration objective.

Also applies to: 78-78

packages/propel/src/icons/dashboard-icon.tsx (1)

22-22: LGTM! Dashboard icon path updated.

The SVG path data has been updated as part of the icon revamp. The component structure and props remain unchanged.

packages/propel/src/icons/cycle/cycle-group-icon.tsx (1)

4-4: LGTM! Icon mapping updated correctly.

The CycleIcon now serves as both the "current" cycle status icon and the fallback icon, replacing ContrastIcon throughout the component. The changes are consistent and correct.

Also applies to: 9-9, 22-22

apps/web/core/components/readonly/cycle.tsx (1)

7-7: LGTM! Icon replacement is correct.

The CycleIcon import and usage in the ReadonlyCycle component properly replaces the previous ContrastIcon.

Also applies to: 36-36

apps/web/core/components/issues/issue-layouts/utils.tsx (1)

9-9: LGTM! Consistent icon migration.

The CycleIcon usage for the "None" cycle option matches the pattern used in other similar files across the codebase.

Also applies to: 174-174

apps/web/core/components/command-palette/actions/project-actions.tsx (1)

11-11: LGTM! Icon replacement is correct.

The CycleIcon import and usage in the "Create new cycle" command palette item properly replaces ContrastIcon.

Also applies to: 38-38

apps/web/ce/components/issues/issue-layouts/utils.tsx (1)

74-74: Confirm map key vs constant reference

The key "ContrastIcon" is referenced in constants/src/issue/common.ts:292. Renaming it to "CycleIcon" will break that usage. Either keep the existing key for backward compatibility, or rename it and update the constant entry accordingly.

apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx (2)

15-16: LGTM! Icon imports correctly updated.

The migration from ContrastIcon and DiceIcon to CycleIcon and ModuleIcon is correctly reflected in the imports.


185-185: LGTM! Cycle filter icon correctly updated.

The filterIcon has been properly updated to use CycleIcon, while CycleGroupIcon is appropriately retained for individual cycle option rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant