Closed rbento1096 closed 2 years ago
Hey @uatisdeproblem , visually it is done but the data isn't being saved on the user profile. I changed the model but I think I still have to alter the tables to fit these new columns. I searched on AWS' DynamoDB but I couldn't find any tables there. Do I need access to that part or you can do it later?
Hellooo! To answer your questions:
front-end/src/environment.tsx
) whereas you deployed changes in the environment "dev". Hence you are trying to push data changes in the userProfile
model of the "prod" environment, that doesn't support yet the new attributes.Finally: I agree with what you wrote on Whatsapp: we can get rid of the text label and simply leave the icons on the left side of the input fields. 🙌
Awesome!!
I've changed the input fields!
I've also changed the environment and the AWS region but they still don't persist... Do I need to run any command on the back-end?
I've also changed the environment and the AWS region but they still don't persist... Do I need to run any command on the back-end?
Yes; especially when you are working from different PRs (i.e. different codebases), each time you want to use a particular version of the code in the back-end, you have to first deploy it. For instance, right now I just deployed the code of the PR #33 to test the email sending. Therefore, you won't have online the code of this PR, i.e. the one needed to save the users' social links.
To deploy: if you use Visual Studio Code you can press SHIFT+CMD(/Windows)+B (or Terminal > Run build task) and select “Deploy back-end environment” and then select the environment “dev”. If you don’t use Visual Studio Code, you can run (from the back-end folder): ./deploy.sh dev
.
This happens because (for simplicity) we use a shared dev environment; in work projects, you usually have a dev environment per developer. :)
Let me know if you solve it this way! đź’Ş
close #25