Working with Figma file and UI component generation with multiple environment is causing clobbering #1099
Closed
4 tasks done
Labels
pending-response
An issue is pending response from the issue requestor
pending-triage
An issue that is pending triage
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Primitive components
How is your app built?
CRA
What browsers are you seeing the problem on?
Chrome
Which region are you seeing the problem in?
us-east-1
Please describe your bug.
i have a figma file that has components I've generated. I connected that figma file both of my
dev
andmain
amplify studios. Now they are both in sync with the file, but as you know, you can connect various fields to data and there is some work that happens cleaning up the component within amplify studio.I have the components and their data working with
dev
but not inmain
. So my solution now is whenever i runamplify pull
inmain
, i have to ignore any changes done in thesrc/ui-components/
directory so it doesn't break the website or show empty data fields. Only the ui components generated form dev are correct in my case, and always are merged over main, before deploying.Is there a better way to do this? Or is this the intended way to use the ui component generation?Amplify Studio
What's the expected behaviour?
a way to pull over configuration done in one studio to another to not repeat the customizing process for the component.
Help us reproduce the bug!
Make a project with two backend environments.
Create a figma file and component
Import that file into both studio environments.
click "configure" to alter the function of the component within one of the studios, but not the other.
IN your ide, run
amplify pull
for both environments.Compare the output of the ui component generated.
Code Snippet
// Put your code below this line.
Console log output
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: