Skip to content

Commit 9212a4a

Browse files
authored
Merge pull request #2357 from jaimergp/calendar-embed
Embed timezone-aware calendar for community meetings
2 parents bcca5ae + 9aead82 commit 9212a4a

File tree

6 files changed

+75
-41
lines changed

6 files changed

+75
-41
lines changed

README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,6 @@ All reports will be kept confidential. Please have a look at the [Reporting guid
5252

5353
conda-forge's team and/or our event staff will try to ensure your safety and help with any immediate needs, particularly at an in-person event. Once we have received the report through the relevant authorities, conda-forge will make every effort to acknowledge the receipt and take action. Have a look at the process of [What Happens After a Report is Filed?](https://numfocus.org/code-of-conduct#enforcement).
5454

55-
## conda-forge dev meetings
55+
## conda-forge meetings
5656

57-
We hold biweekly meetings every second Wednesday from 17:00-18:00 (UTC). Feel free to stop by!
58-
Up-to-date invites are always available in the [conda.org community calendar](https://conda.org/community/calendar). Look for the `[conda-forge] core meeting` events!
59-
60-
Our [meeting notes](https://conda-forge.org/docs/orga/minutes/00_intro.html) record important points discussed during the meetings and serve as a record for upcoming meetings. We make use of [HackMd](https://hackmd.io/) and a [template](https://github.com/conda-forge/conda-forge.github.io/blob/main/misc/DEV_MEETING_TEMPLATE.md) to create the meeting notes.
61-
62-
We use a Github Actions [workflow][gha-workflow] to create an automated PR with the meeting notes
63-
template for each session, which is automatically published to our HackMD team account. During the
64-
meeting, attendees will edit the HackMD document. After the meeting, the document is saved and the
65-
PR is synced with the changes by adding the `sync-hackmd-notes` label. Once satisfied, the PR is
66-
merged and the website will be updated with the new meeting notes.
67-
68-
We encourage contributors to join the meetings and learn more about and from the community.
69-
70-
[gha-workflow]: https://github.com/conda-forge/conda-forge.github.io/actions/workflows/meeting-notes.yml
57+
Refer to our [Community > Meeting minutes](https://conda-forge.org/community/minutes/) page.

community/_sidebar.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,25 @@
1414
"contracting",
1515
{
1616
"type": "category",
17-
"label": "Meeting minutes",
17+
"label": "Meetings",
1818
"link": {
1919
"type": "doc",
20-
"id": "minutes"
20+
"id": "meetings"
2121
},
2222
"items": [
2323
{
24-
"type": "autogenerated",
25-
"dirName": "minutes"
24+
"type": "category",
25+
"label": "Minutes archive",
26+
"link": {
27+
"type": "doc",
28+
"id": "minutes"
29+
},
30+
"items": [
31+
{
32+
"type": "autogenerated",
33+
"dirName": "minutes"
34+
}
35+
]
2636
}
2737
]
2838
}

community/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ title: 'conda-forge community'
88
- [Governance](governance.md)
99
- [Joining the team](joining-the-team.md)
1010
- [Contracting](contracting.md)
11-
- [Meeting minutes](minutes.mdx)
11+
- [Meetings](meetings.mdx)

community/meetings.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Community meetings
2+
3+
We hold a series of recurring meetings:
4+
5+
- `⚫ [conda-forge] core meeting`: every second Wednesday from 17:00-18:00 (UTC). Despite the name, they are open to everyone. Feel free to stop by! Meeting notes available at [Minutes](minutes.mdx).
6+
- `⚫ [conda-forge] bot sync`: first Friday of the month at 15:00 (UTC). These are technical meetings meant for infrastructure and tooling contributors. Meeting notes available in [HackMD](https://hackmd.io/@conda-forge/BJE6E1VY2).
7+
8+
We encourage contributors to join the meetings and learn more about and from the community. Look for the events in the calendar below!
9+
10+
## Calendar
11+
12+
import Calendar from '@site/src/components/Calendar';
13+
14+
<Calendar />
15+
16+
## Setup
17+
18+
Our [meeting notes](https://conda-forge.org/community/minutes/) record important points discussed during the meetings and serve as a record for upcoming meetings.
19+
We make use of [HackMD](https://hackmd.io/) and a [template](https://github.com/conda-forge/conda-forge.github.io/blob/main/misc/DEV_MEETING_TEMPLATE.md) to create the meeting notes.
20+
21+
We use a Github Actions [workflow][gha-workflow] to create an automated PR with the meeting notes
22+
template for each session, which is automatically published to our HackMD team account. During the
23+
meeting, attendees will edit the HackMD document. After the meeting, the document is saved and the
24+
PR is synced with the changes by adding the `sync-hackmd-notes` label. Once satisfied, the PR is
25+
merged and the website will be updated with the new meeting notes.
26+
27+
[gha-workflow]: https://github.com/conda-forge/conda-forge.github.io/actions/workflows/meeting-notes.yml

community/minutes.mdx

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
1-
# Core team meetings
1+
# Meeting minutes
22

3-
We hold biweekly meetings every second Wednesday from 17:00-18:00 (UTC). Feel free to stop by!
4-
Up-to-date invites are always available in the [conda.org community calendar](https://conda.org/community/calendar).
5-
Look for the `[conda-forge] core meeting` events!
6-
7-
We encourage contributors to join the meetings and learn more about and from the community.
8-
9-
## Setup
10-
11-
Our [meeting notes](https://conda-forge.org/community/minutes/) record important points discussed during the meetings and serve as a record for upcoming meetings.
12-
We make use of [HackMD](https://hackmd.io/) and a [template](https://github.com/conda-forge/conda-forge.github.io/blob/main/misc/DEV_MEETING_TEMPLATE.md) to create the meeting notes.
13-
14-
We use a Github Actions [workflow][gha-workflow] to create an automated PR with the meeting notes
15-
template for each session, which is automatically published to our HackMD team account. During the
16-
meeting, attendees will edit the HackMD document. After the meeting, the document is saved and the
17-
PR is synced with the changes by adding the `sync-hackmd-notes` label. Once satisfied, the PR is
18-
merged and the website will be updated with the new meeting notes.
19-
20-
[gha-workflow]: https://github.com/conda-forge/conda-forge.github.io/actions/workflows/meeting-notes.yml
21-
22-
## Minutes
3+
This is an archive of all the conda-forge core meeeting minutes:
234

245
import DocCardList from '@theme/DocCardList';
256

src/components/Calendar/index.jsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { React, useEffect, useState } from "react";
2+
import { useColorMode } from "@docusaurus/theme-common";
3+
4+
export default function Calendar() {
5+
const [firstDay, setFirstDay] = useState(1);
6+
const [timezone, setTimezone] = useState("UTC");
7+
const [themeMode, setThemeMode] = useState("light");
8+
const { colorMode } = useColorMode();
9+
useEffect(() => {
10+
if (Intl) {
11+
const locale = Intl.DateTimeFormat().resolvedOptions().locale;
12+
setFirstDay((new Intl.Locale(locale)?.weekInfo?.firstDay ?? 0) + 1);
13+
setTimezone(Intl.DateTimeFormat().resolvedOptions().timeZone);
14+
}
15+
setThemeMode(colorMode);
16+
});
17+
return (
18+
<iframe
19+
src={`https://calendar.google.com/calendar/embed?height=500&wkst=${firstDay}&ctz=${timezone}&showTitle=0&showTz=1&showPrint=0&src=ODgwNTU3MGE0ZTFjYTIzMTk4NDI5NzFkYjQzODBlZDUxOGM0OTA1NzdjMDY0NTRhZGYyMzAzNzM0NTA2ZjM5N0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&color=%2333b679`}
20+
width="100%"
21+
height="500"
22+
style={
23+
themeMode === "dark"
24+
? { filter: "invert(95%) brightness(95%) hue-rotate(180deg)" }
25+
: {}
26+
}
27+
></iframe>
28+
);
29+
}

0 commit comments

Comments
 (0)