Posts for later, hashtags followed, and Explore
The composer's clock button gives a post a time (scheduled_at, at least five minutes ahead; located and group posts have none), and /scheduled moves or drops what waits. A hashtag's feed tab shows its week and follows it, so its public posts come home. Explore (/explore) shows what PrivaPub says is trending, hashtags, posts and links from public posts it holds, the directory by activity or by joining, and the hashtags the persona follows. DiscoveryService does the calls; the e2e tests check each against PrivaPub's own answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
1 parent
9a752d9288
commit
6d5cf17723
17 files changed
+1001
-7
No files matched your search
@@ -176,4 +176,28 @@ public class PostStatusForm
|
||||
public string SpoilerText { get; set; }
|
||||
public string Visibility { get; set; }
|
||||
public string Language { get; set; }
|
||||
/// <summary>When the post is to be published (ISO 8601, at least five minutes ahead); null posts it now.</summary>
|
||||
public string ScheduledAt { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>A post waiting for its time (/api/v1/scheduled_statuses).</summary>
|
||||
public class ScheduledStatus
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public DateTime ScheduledAt { get; set; }
|
||||
public ScheduledParams Params { get; set; } = new();
|
||||
public List<MediaAttachment> MediaAttachments { get; set; } = [];
|
||||
}
|
||||
|
||||
public class ScheduledParams
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string SpoilerText { get; set; }
|
||||
public string Visibility { get; set; }
|
||||
public string InReplyToId { get; set; }
|
||||
}
|
||||
|
||||
public class ScheduleForm
|
||||
{
|
||||
public string ScheduledAt { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user