-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Add donors component #4251
Add donors component #4251
Conversation
Quick links (staging server):
Login:
SVG tester:Number of differences (default views): 0 ✅ Edited: 2024-12-04 14:03:29 UTC |
export class CreateDonors1733228214376 implements MigrationInterface { | ||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`-- sql | ||
CREATE TABLE donors ( |
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.
This table will be read and written to from the scripts that we use to update the donor list. Previously the scripts generated HTML, now they will use this table. That part will be reviewed and QA'd by Lars.
), | ||
// TODO: better validation here? | ||
() => GdocPost.create({ ...(json as any) }) | ||
) | ||
.with( | ||
OwidGdocType.AboutPage, | ||
// TODO: better validation here? |
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.
Added the same TODO as above and below for consistency.
You can see the new list of donors here. |
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.
Nice! 👍
I also fixed a few unrelated things.