chore: remove ERPNext as parent icon#54482
Conversation
📝 WalkthroughWalkthroughNine desktop icon configuration files are updated with consistent modifications: the Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@erpnext/desktop_icon/stock.json`:
- Line 17: Remove the parent_icon key from the stock.json entry (do not set it
to an empty string); delete the line with "parent_icon" entirely and
re-export/regenerate the desktop icon JSON so the modified timestamp matches the
other files (ensure stock.json is produced in the same export pass as the other
eight icon files).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: 6c4e291e-3f03-4141-affa-f7eb5d2d8701
📒 Files selected for processing (9)
erpnext/desktop_icon/assets.jsonerpnext/desktop_icon/buying.jsonerpnext/desktop_icon/crm.jsonerpnext/desktop_icon/manufacturing.jsonerpnext/desktop_icon/projects.jsonerpnext/desktop_icon/quality.jsonerpnext/desktop_icon/selling.jsonerpnext/desktop_icon/stock.jsonerpnext/desktop_icon/support.json
| "name": "Stock", | ||
| "owner": "Administrator", | ||
| "parent_icon": "ERPNext", | ||
| "parent_icon": "", |
There was a problem hiding this comment.
Inconsistent with PR intent: remove parent_icon entirely instead of setting it to "".
The other eight icon files in this PR drop the parent_icon key altogether, but here it is merely cleared to an empty string. Also, the modified timestamp (15:47:56.678195) is noticeably earlier than the rest (15:49:24/15:49:25), suggesting this file was not regenerated in the same pass. Please remove the field for consistency and re-export so timestamps align.
🔧 Proposed fix
"owner": "Administrator",
- "parent_icon": "",
"restrict_removal": 0,📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "parent_icon": "", | |
| "owner": "Administrator", | |
| "restrict_removal": 0, |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@erpnext/desktop_icon/stock.json` at line 17, Remove the parent_icon key from
the stock.json entry (do not set it to an empty string); delete the line with
"parent_icon" entirely and re-export/regenerate the desktop icon JSON so the
modified timestamp matches the other files (ensure stock.json is produced in the
same export pass as the other eight icon files).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #54482 +/- ##
========================================
Coverage 79.44% 79.44%
========================================
Files 1160 1160
Lines 125984 126002 +18
========================================
+ Hits 100083 100099 +16
- Misses 25901 25903 +2 🚀 New features to boost your workflow:
|
No description provided.