2026-10-04 11:03:14 +02:00
|
|
|
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; }
|
2026-10-05 02:49:51 +02:00
|
|
|
/// <summary>The persona's list the Lists tab shows.</summary>
|
|
|
|
|
public string ListId { get; set; }
|
2026-10-04 11:03:14 +02:00
|
|
|
/// <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; }
|
|
|
|
|
}
|