Refactoring the developer meetings page (#1178)

* adding JS files

* updating the dev meetings page

* trying to see if time zones work

this works locally but I have no idea why...

* dealing with APAC times

where it's really Friday

FEEL THE PAIN

* removing dead and commented code
This commit is contained in:
Aaron Schlesinger
2019-04-22 21:31:38 -07:00
committed by Manu Gupta
parent 85bcef5b57
commit 5dda2bee6c
3 changed files with 69 additions and 17 deletions
@@ -2,31 +2,41 @@
title: "Developer Meetings"
date: 2018-09-28T10:40:50-07:00
weight: 3
---
We hold our weekly developer meetings every Thursday at 11am US Pacific Time. They start with a quick update on the project from the maintainers, and then we discuss things on the agenda.
Every Thursday, Athens developers get together for one hour on a video chat to discuss the state of the project, and any specific development topics that are going on.
Absolutely everyone is invited to attend, suggest topics for the agenda, and participate! You dont have to be a contributor or maintainer to show up and share your perspective, ideas, feelings, etc.
We meet at this [zoom](https://zoom.us/) video Chat URL: [https://aka.ms/athensdevzoom](https://aka.ms/athensdevzoom)
### Meeting Details
>**Absolutely everybody is welcome to attend these meetings, suggest topics to talk about, share your perspective, and participate as little or much as they'd like**.
>
>You don't have to be a contributor to attend
They're every Thursday at 11am to 12pm US Pacific Time and you can join the meeting here by following this link: [https://aka.ms/athensdevzoom](https://aka.ms/athensdevzoom)
## Meeting Details
### Agenda
We rotate the time of the meeting weekly, so that as many people as possible get a chance to attend the meeting at a time appropriate for their time zone. The rotation of times is below:
- Thursday on odd week numbers of each month: 22:00 UTC (<span id="time22"></span> locally)
- Thursday on even week numbers of each month: 20:00 UTC (<span id="time20"></span> locally)
Each developer meeting starts with a quick update on the project from the maintainers, and then we discuss things on the agenda.
>All developer meetings happen using the [zoom](https://zoom.us) software. Before you come to the meeting, please make sure you have installed the zoom client using this link: https://zoom.us/support/download.
## Agenda
The [agenda google doc](https://docs.google.com/document/d/1xpvgmR1Fq4iy1j975Tb4H_XjeXUQUOAvn0FximUzvIk/edit#heading=h.f24qbjkyfv6v)
is where you'll can suggest topics and look at all the topics discussed in previous meetings.
If you want to suggest a topic, just add a bullet point (under the appropriate meeting day) with your first name and the topic.
Here's an example of how to suggest a topic:
is where we keep track of what to talk about each week. Anybody can edit it, so if you want to talk about a topic, write it down in a bullet point under the appropriate week, and we'll talk about it if time permits. Please follow these guidelines when you add your topic:
- If there are already topics listed, please add yours to the bottom of the list
- If the date of the next meeting is not listed, please add it as a heading above all the previous dates. Copy the format of the previous date when you add it
Here's an example of how to suggest a topic:
> * (Bob) Lets talk about something cool!
> * (Alice) Lets talk about cool thing #2!
### Past Meetings
Don't worry if you can't make them but want to catch up! All past development meetings available on [YouTube](https://www.youtube.com/playlist?list=PLAk08AWjk5sekD-FRjU4VVe97nltUyZ4W).
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.23/moment-timezone.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.4/jstz.min.js"></script>
<script src="/js/dev-meetings.js"></script>
+40
View File
@@ -0,0 +1,40 @@
// get next thursday
const nextThurs = moment().day(4 + 7);
// get next thursday in UTC for 22:00 and 20:00
const nextThurs22 = new Date(Date.UTC(
nextThurs.year(),
nextThurs.month(),
nextThurs.date(),
22
));
const nextThurs20 = new Date(Date.UTC(
nextThurs.year(),
nextThurs.month(),
nextThurs.date(),
20
));
const time22 = moment().
year(nextThurs22.getFullYear()).
month(nextThurs22.getMonth()).
date(nextThurs22.getDate()).
hour(nextThurs22.getHours()).
minute(nextThurs22.getMinutes());
const time20ID = document.getElementById("time20");
const time20Str = nextThurs20.getHours() + ":00";
if (time22.day() == 4) {
time20ID.innerHTML = time20Str;
} else {
time20ID.innerHTML = time20Str + " (Friday)";
}
const time22ID = document.getElementById("time22");
const time22Str = nextThurs22.getHours() + ":00";
if (time22.day() == 4) {
time22ID.innerHTML = time22Str;
} else {
time22ID.innerHTML = time22Str + " (Friday)";
}
+3 -1
View File
@@ -21,7 +21,9 @@
<link href="{{(printf "css/theme-%s.css" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
{{end}}
<script src="{{"js/jquery-2.x.min.js"| relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"
></script>
<style type="text/css">
:root #header + #content > #left > #rlblock_left{