Closed gregv closed 4 weeks ago
Also just "Coordinator". Someone to handle the logistics of food/snacks/volunteer schedules.
Just an idea, but it might be nice to add a "day of volunteer" if a person just wants to volunteer for a specific hackathon and they can help with logistics, helping answer any questions from hackers + mentors and do comms (i.e lunch in 20mins, 30mins until hackathon is over, general announcements, etc) during the event via slack.
Love that idea @ShallyBanh - I'll update this Issue to talk more about that
In regards to Newsletters for change the following issues need to be addressed. The list is still [WIP⚠️]
The UI for this has to be drawn and presented to the group. Attention to detail is key :)
1 a) Because of this we need some components, in html and css (bonus if you can play around with responsiveness). The two components would be;
the header component that houses the icon
footer component that houses details about opportunity hack and the unsubscribe button
Concept Image as to how a template should look :)
Unsubscribe will be added at the bottom
For scalability, the texts at the bottom, and the image src should be static variables which can be edited later :)
Return boolean on whether the user has been unsubscribed or not Listen for results on the front end, display the message accordingly :)
newsletters/unsubscribe/<UserID>
When the routes listen for this on the front end and make an API request with the data then once a result is received, display appropriate text! Make a page for this, simple minimalistic. Can even be an alert on top of an empty page. Like l;iterally alert("you have successfully unsibscribed")
:)
As you can see in the screenshot, the classnames are very random and do not represent the right components. Some conventions are as far as very concerning:
testing
in one of the screenshots.
The naming conventions should be short, snake-case, and self explanatory
Think of putting classes inside others in the scss, for containerization etc for example
<div class="main">
<div class="main_child">
// OUR CONENT
</div>
</div>
.main{
display: flex;
// and more styles
// but now the trick is to call our child
&_child{
// main_child styles
}
// you can also do hover effects
&::hover{
cursor: pointer;
}
}
Hope this sheds some light
this will help everything be more controlled
Also, look at mixins which is a special scss feature
these are the variables; $var: blue;
now with scss you can assign styles to variables. If you have so many repetitive calls, consider creating a variable and referencing the style. You can also overide it
for example;
color: $var;
color: red;
color will be red :)
We need better-looking input boxes, background buttons etc.
Start by wireframing how it should look and create a figma, invite the rest of us to the Figma
We need better-looking buttons
Backend: Separate email template styles from the template file. Instead, think of creating an scss/CSS file and scanning it through python. OR better yet, have an API that posts the scss/css file contents from the front end, thereby fully separating the front end and the backend logic
Front End When API hasn't received a boolean as to whether all emails were sent, show a loading screen
To cover issue 7 above the following component will be created
or a component with a loading gif/rotating circle in the middle.
<CircleSpinningComponent></CircleSpinningComponent>
</div>
then in scss something like;
width: 100vw;
height: 100vw;
position: fixed;
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
// you'll have to confirm the highest z-index based on component arrangement when testing or searching for it in vs code)
}
then make the component render on condition. The boolean should be a prop.
this will be a bit heavy but manageable + I can help along the way Creating a form to make adding a button and or image be straightfoward. Prompting the user after they click on an 'add custom ohack component' button, to select a text, a link and type of button or image.
In my head, this is how the final design for the newsletter editing page should be. The higher the number the closer it is to "nice to haves", the lesser the number the either least amount of time and/or effort required to complete it.
Slack Channel: #ohack-dev-enable-other-volunteer-opportunities
Tell us you want to help by logging in and clicking "I want to help" here
Summary
This one is slightly more open-ended. The current system only allows for Hackers and Mentors, where both of these positions are software engineering focused. We still want to encourage all people, regardless of their background to volunteer their time to help us. We need you to build something into our ohack.dev platform that would allow for us to engage with volunteers who are looking to support us. The ultimate goal is to collect some information about what they are looking for, onboard them into Slack, and give them autonomy to accomplish goals as discussed below.
These are the high-level areas where someone who isn't a software engineer can help us:
Code Pointers
This would likely be another button on the main index.js and another page, likely /volunteer