-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Genuary: 2023 artwork showcase #761
Conversation
✅ Deploy Preview for acmcsuf ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
e659b48
to
c6a8eab
Compare
TODO: Write documentation for going about setting up the GitHub repository environment for the `.github/workflows/update_genuary.yaml` file.
This reverts commit 3e0eb09.
Can you visually convey that the artwork was posted during the Genuary 2023 challenge? |
Resolved in 0f0e2f8. |
Attempting to resolve this error: ``` /home/runner/work/acmcsuf.com/acmcsuf.com/src/routes/(site)/genuary/2023/+page.svelte:8:13 Error: Property 'pieces' is missing in type '{ [x: string]: any; }' but required in type 'CollagePageData'. (ts) <GenuaryPage {data} year="2023" /> ```
Future optimization: Convert Discord media into a more optimized, consistent format such as webm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for initiating an exciting challenge for students to partake in. There are so many different artworks displayed perfectly. I understand there are a couple of bugs that can be fixed over time. Approving to see its performance in production.
What changed?
genuary-page.svelte
componentMethodology
How do we get the data deterministically?
Use the
pins
tool to get the pinned messages from the 2023 Genuary threads in our official club Discord server.Each day, a workflow runs that opens a new pull request if any new messages were pinned in the 2023 Genuary threads.
The workflow uses the
pins
tool to render all of the pinned messages from the 2023 Genuary threads as JSON.acmcsuf.com/.github/workflows/update_genuary.yaml
Lines 16 to 22 in 5d7a66a
Next, the workflow runs a script that transforms the rendered pinned messages JSON data into a shape that is understood by the
genuary-page.svelte
component. Then the workflow saves the transformed JSON into the expected file location.acmcsuf.com/.github/workflows/update_genuary.yaml
Lines 24 to 36 in 5d7a66a
Resolves #760.