refactor: implement new UI/UX architecture with redesigned desktop and mobile layouts, CSS-in-CSS modularization, and updated components.

This commit is contained in:
2026-08-29 00:53:57 -07:00
parent dfbf646332
commit cd98c0120e
47 changed files with 8039 additions and 7236 deletions
+11
View File
@@ -13,6 +13,13 @@ type User struct {
UpdatedAt time.Time `json:"updated_at"`
}
// SearchHistoryItem tracks user search history for autocomplete
type SearchHistoryItem struct {
Keyword string `json:"keyword"`
LastSearchedAt time.Time `json:"last_searched_at"`
SearchCount int `json:"search_count"`
}
// Category represents a folder/tag grouping for feeds
type Category struct {
ID string `json:"id"`
@@ -29,6 +36,7 @@ type Feed struct {
Title string `json:"title"`
FeedURL string `json:"feed_url"`
SiteURL string `json:"site_url"`
IconURL string `json:"icon_url,omitempty"`
CategoryID *string `json:"category_id,omitempty"`
CategoryTitle string `json:"category_title,omitempty"`
IsVirtualDigest bool `json:"is_virtual_digest"`
@@ -108,6 +116,7 @@ type Stats struct {
TotalFeeds int `json:"total_feeds"`
TotalUnread int `json:"total_unread"`
TotalStarred int `json:"total_starred"`
TotalShared int `json:"total_shared"`
TotalCategories int `json:"total_categories"`
TotalRules int `json:"total_rules"`
}
@@ -129,6 +138,7 @@ type CreateFeedRequest struct {
FeedURL string `json:"feed_url"`
CategoryID *string `json:"category_id,omitempty"`
Title *string `json:"title,omitempty"`
IconURL *string `json:"icon_url,omitempty"`
RefreshIntervalMinutes *int `json:"refresh_interval_minutes,omitempty"`
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
}
@@ -137,6 +147,7 @@ type CreateFeedRequest struct {
type UpdateFeedRequest struct {
Title *string `json:"title,omitempty"`
CategoryID *string `json:"category_id,omitempty"`
IconURL *string `json:"icon_url,omitempty"`
RefreshIntervalMinutes *int `json:"refresh_interval_minutes,omitempty"`
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
}