Incorrect folder assignment for newly created code components
**Problem**
When creating a new Code Component and selecting a destination folder, the component is not saved in the selected folder. Instead, it is placed in a different folder within the Canvas Library. This prevents users from organizing code components correctly and leads to inconsistent folder categorization.
**Acceptance Criteria**
- A newly created Code Component is saved in the folder selected by the user.
- The component is displayed in the selected folder immediately after creation.
- No component is placed into an incorrect folder during the creation process.
- The selected folder association is correctly persisted after saving and page refresh.
- Existing Code Components and their folder assignments remain unaffected.
- Regression testing confirms that folder categorization continues to work correctly for Components, Patterns, and Code Components.
**Issue Screengrab**
{width=800 height=431}
issue