Repository navigation
fix(app): added clone option for app and name collission for app while creating - #9133
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
WalkthroughApp items can now use the Clone action. App creation permits duplicate names and relies on Electron to suffix colliding filenames. Tests cover cloning, sidebar entries, and filesystem output. ChangesApp lifecycle
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant AppRowMenu
participant handleCloneItem
participant ElectronFilesystem
AppRowMenu->>handleCloneItem: Clone app item
handleCloneItem->>ElectronFilesystem: Write cloned app file
ElectronFilesystem-->>handleCloneItem: Return written path
handleCloneItem-->>AppRowMenu: Show original and cloned app
Suggested reviewers: Poem
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
Description
Name collissions was not happening for Apps while creating a new App
Clone option for app was gone due to earlier naming collissions changes.
BRU-894
Problem
Check for adding the clone was added and app was excluded
Fix
added the app to the clonable and handle create app for name collissions.
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit
New Features
Bug Fixes