Polls, quotes and edits from the composer
The composer can hold a poll instead of media (two to four choices, a length, one choice or several), quote a post (offered on a card when the server says the persona may quote it), and edit the persona's own post: its words and warning come from /source, and saving keeps its media, visibility and poll. A card's menu offers Edit and Quote, and now opens sideways: upwards, the first card's menu was cut off by the top of the feed. The e2e tests publish a poll, edit a post and quote it, each checked on PrivaPub. 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
a4d9831691
commit
5c11727f58
12 files changed
+434
-12
No files matched your search
@@ -37,6 +37,15 @@ public class ComposeForm
|
||||
public double? Latitude { get; set; }
|
||||
public double? Longitude { get; set; }
|
||||
|
||||
/// <summary>A poll instead of media: two to four choices, open ExpiresIn seconds, one choice or several.</summary>
|
||||
public bool HasPoll { get; set; }
|
||||
public List<string> PollOptions { get; set; } = ["", ""];
|
||||
public int PollExpiresIn { get; set; } = 86400;
|
||||
public bool PollMultiple { get; set; }
|
||||
|
||||
/// <summary>The post this one quotes.</summary>
|
||||
public string QuotedStatusId { get; set; }
|
||||
|
||||
/// <summary>Whether the post waits for ScheduledAt (a datetime-local value, the reader's own time) instead of going now.</summary>
|
||||
public bool IsScheduled { get; set; }
|
||||
public string ScheduledAt { get; set; }
|
||||
|
||||
Reference in new issue
Block a user