Closed mlbrgl closed 4 months ago
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @mlbrgl and the rest of your teammates on Graphite
Quick links (staging server): Site | Admin | Wizard |
---|
Login: ssh owid@staging-site-author-page-alt
Edited: 2024-05-17 14:13:45 UTC Execution time: 1.23 seconds
@ikesau I'm merging this now as we have a session planned with @mrwbkrm to create the remaining author pages with this template early this afternoon.
Let me know if you have thoughts though.
@ikesau disregard what I just said. This PR is dependant on https://github.com/owid/owid-grapher/pull/3578, for which a review is necessary. We'll work on staging for now.
Hey @mlbrgl - sorry it looks like there's some urgency here but I'm wondering why you chose this approach over adding a new type of attachment? That's the standard way of getting DB state into a Gdoc (see for example, homepageMetadata)
@ikesau yes that makes sense for programmatically managed content. In this case however, the export is just a starting point so that we can more easily populate the "All work" section manually.
This section is not programmatically derived from the DB, its source of truth is the gdoc (as opposed to the "Latest" section of the regular author template, which does use subclass attachments). We fill it once and let authors manage it afterward.
Ah, lovely - I get it now. Proceeding with a proper review 🙂
Added a route to get an ArchieML output of all work produced by an author from both gdoc articles and wordpress pages.
Why make this change?
To provide a way to manually populate the secondary section of research and writing blocks on author pages with topics rather than articles. This is relevant for a handful of authors who mostly work on topic pages, as well as data managers.