Files
decePubClient/Models/FeedFilter.cs
T
thepraandClaude Opus 5.5 e2491de16e Lists: made on /lists, read as a tab of the feed
A persona's lists (PrivaPub's /api/v1/lists): made, renamed, given a
replies policy and made exclusive on /lists, filled from the accounts it
follows (accounts/search?following=true), and read as the feed's Lists tab.
A followed account's profile has a Lists menu to put it in or take it out.
ListService does the calls; the e2e tests check each step against
PrivaPub's own answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
2026-10-05 02:49:51 +02:00

18 lines
725 B
C#

using decePubClient.Models.Types;
namespace decePubClient.Models;
/// <summary>The feed page's choices, kept in localStorage: the tab, the group it shows and the globe's visibility.</summary>
public class FeedFilter
{
public TimelineType TimelineType { get; set; } = TimelineType.Home;
/// <summary>The community or circle the Groups tab shows.</summary>
public string GroupId { get; set; }
/// <summary>The persona's list the Lists tab shows.</summary>
public string ListId { get; set; }
/// <summary>The hashtag the Tag tab shows, without #.</summary>
public string Tag { get; set; }
/// <summary>Whether the globe is open where it can be closed (narrow screens).</summary>
public bool ShowGlobe { get; set; }
}