Open Wardormeur opened 8 years ago
Hi, I would like to work on this issue. Can you tell me how it works? It is my first time.
Certainly :) First, you want to have a look at our repo cp-local-development (https://github.com/CoderDojo/cp-local-development) to install the Zen stack Then, regarding this issue : we're reworking the front-end for september, so that using a directive (https://docs.angularjs.org/guide/directive) for the contact form would be easier to transit from the old-ui to the new one. There is a couple of examples in cp-zen :) Last but not least, to send an email, you'll have to create an API endpoint accessible from the front-end (a function to send email already exists in cp-dojos) as well as its permissions (it should be "anyone logged-in") defined in the lib/perm folder That's a global overview, if you have any question, ask here or on our gitter :) Welcome aboard !
Ok, thank you! I'll work on this.
I am stuck at "localdev init" on "Code Setup". I opened an issue and I am waiting for support.
Hello, I think now I have everything set up. I have joined the CoderDojo/community-platform room, but I think no one is using it. I'm a little bit lost, on what I should do. I would like to talk to someone to get more details.
We use a private channel for our daily work and most of the contributors are event-based (hackathons) We're still on the chat, so feel free to ask questions :) We just deployed a functionality to send email to dojo users : it think the directive could be reused/modified to support this scenario!
@alinecrsouza Hey, how is it going? :) Need any help?
@Wardormeur Hey, yes a need help! I took a look at the directive web/public/js/directives/cd-email-users/index.js in cp-zen-platform and how it's implemented in web/public/js/directives/dojo/manage-active-users/, but I couldn't find the connection between these. I spent some time reading the code and researching, but I have failed to understand them by myself.
I guess I don't know Angular enough to create directives or understand them. I think we have some alternatives here. You can help me to understand how it works, or you could give me a simpler task, related to this one, in order to let me get to know how it works step by step, or you can assign me a totally different task appropriate for a newbie in Javascript/Angular.
To simplify the communication and support on our side, we'd want to use the existing sendgrid integration to allow to contact dojo from the website. The contact form should be available on the public dojo page, and send email to the dojo email.