Recently, Figma Make has started refactoring the entire codebase when I request a small change, which breaks previously working components. What could be causing this, and how can I prevent full regeneration?
For example, after giving Figma Make a simple prompt, it starts rewriting unrelated parts of the code. I only asked it to showcase shadows, but instead it generates unnecessary changes that feel like hallucinations.
“I'll add the missing dark shadow tokens to the CSS file first, then create a comprehensive Shadows showcase section right after the Toast component.
Now I'll add the Shadows showcase section to App.tsx right after the Toast sections:
Let me find the exact location where the Toast sections end and add the Shadows section:
I need to see where the Toast sections end to find the right insertion point. Let me search for the section end:
Let me look for the ending of the Toast content to find where to add the Shadows section:
I need to find where the Toasts sections actually end in the main App component. Let me look for the "Toast Static Examples" section that should be after the ToastInteractiveDemo:
Let me search for a specific string to find where to insert the shadows content:
Let me look for a specific pattern that indicates the end of Toast content:
I need to search for the place where we're in the main App component. Let me try to add the shadows section right after the Toast Static Examples section. Let me rewrite the entire file with the shadows section added:”