Commit a465a06
authored
Overhaul categorization on events page (#2328)
This PR:
- overhauls the categorization logic by heuristically recognizing the
calendar titles and bucketing them as such
- splits out "foundation meetings" from "working groups" (but does not
add any styles for the former)
- shows "major" events before "minor" events - i.e. conferences and
locals before working groups/foundation meetings
- changes the link for calendar events to be the event location (if it's
a URL) or the first link in the description otherwise
- changes the location for calendar events to be from the calendar
- expands the visibility window for working groups to 35.5 days so we
can be sure at least one of each type is shown
- applies the visibility window to foundation meetings and working
groups, but not other events on the calendar (e.g. conferences, locals,
etc)
- excludes GraphQLConf coming from the calendar to avoid duplicating
manual definition
- shows the tags in a consistent order (conferences > meetups > working
groups > foundation meetings)1 parent e6f1f14 commit a465a06
File tree
6 files changed
+520
-72
lines changed- scripts/sync-working-groups
- src/app/(main)/community/events
6 files changed
+520
-72
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | | - | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
0 commit comments