feat(life): require at least one tag for life posts

Update design spec to mandate tag selection
Add frontend and backend validation for tag requirement
Add localization strings for tag required errors
This commit is contained in:
2026-05-03 11:47:08 +08:00
parent accd6f98cf
commit 95d76522df
5 changed files with 23 additions and 5 deletions

View File

@@ -486,7 +486,7 @@ export interface DailyChecklistPayload {
export interface LifePostPayload {
body: string;
tagIds?: number[];
tagIds: number[];
}
export interface LifeCommentPayload {