news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Overriding publish dates isn't working #1254

Open TylerFisher opened 2 years ago

cbj0hns0n commented 2 years ago

In Google Apps Script, set a published date. Then publish the article. View the article by clicking "Click to View" in the sidebar.Note the publish date is set to the current date, not the date that was selected in the sidebar prior to publishing.

Dev notes: In Hasura, go to Data > Not trackable functions. Inspect set_first_published_at. These run when an article was first published. A few options: 1 - change published date after trigger is done running 2 - user workaround: explore previewing first to set the published date, then publish it 3 - no longer manage publish dates with the DB trigger

chelsea-tnc commented 2 years ago

Labeling medium priority because the user must publish first, then change the date, and republish. The frequency that users will run into this issue is lower.