ReviewOS

also looking at this

stacks/postline

Long-form composer mode for the blog target

#10
Merged glennmichael123 wants to merge feat/blog-longform into main
7 files +33 -8
app/Services/Social/QueueService.tsmodified+3-1
Changes to app/Services/Social/QueueService.ts
@@ -30,6 +30,8 @@ export interface QueueItemView {
3030export interface SaveQueueInput {
3131 text: string
3232 providers: SocialProvider[]
33 /** Explicit title for long-form targets (blog). */
34 title?: string | null
3335 /** UTC `YYYY-MM-DD HH:MM:SS`; omitted → saved as a draft. */
3436 scheduledAt?: string | null
3537}
@@ -67,7 +69,7 @@ export class QueueService {
6769
6870 await database.insertInto('posts').values({
6971 uuid: postUuid,
70 title: body.slice(0, 80),
72 title: input.title?.trim() || body.slice(0, 80),
7173 body,
7274 status,
7375 scheduled_at: scheduledAt,