uatisdeproblem / egm-app

EGM app
https://app.erasmusgeneration.org
Other
2 stars 1 forks source link

feat: social links in user profile #31

Closed rbento1096 closed 2 years ago

rbento1096 commented 2 years ago

close #25

rbento1096 commented 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?

Screenshot 2022-03-12 at 15 45 09
uatisdeproblem commented 2 years ago

Hellooo! To answer your questions:

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!!

rbento1096 commented 2 years ago

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?

uatisdeproblem commented 2 years ago

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! đź’Ş