You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surface per-post tags on `PostView.tags` as a portable `PostTag[]` shape
(`{ name, display_name?, color? }`) so consumers can render them
uniformly across backends.
- Lemmy v1: maps each `CommunityTag` on `PostView.tags`. `color` is the
palette slot (e.g. `"color03"`).
- PieFed: maps `PostView.flair_list[]` (CommunityFlair). `color` is the
hex `background_color` (e.g. `"#a91b9c"`).
- Lemmy v0: `tags: []`.
`color` is opaque to threadiverse — consumers either render it directly
(hex) or resolve it from a palette (Lemmy v1). The minimal shape skips
v1-specific housekeeping (`id`, `ap_id`, `published_at`, `deleted`,
`community_id`) since they don't have PieFed analogs and aren't useful
for view-only rendering; mutation APIs can grow their own richer types
later.
0 commit comments