HOME 퀘스트 줄 분류 · 일시 정지 표기

This commit is contained in:
Sn-Kinos
2026-10-06 04:06:36 +09:00
parent 55f3f503a3
commit 65f73280aa
6 changed files with 79 additions and 22 deletions
+6 -2
View File
@@ -11,7 +11,7 @@ library;
import 'package:flutter/painting.dart' show Color;
import '../../core/i18n/app_locale.dart';
import '../../core/ui/planet_25d.dart' show planetColors;
import '../quest/quest_data.dart' show QuestType;
import '../quest/quest_data.dart' show QuestSession, QuestType;
import '../inside/inside_data.dart' show InsideQuestion, SampleInsideRepository;
/// 팬덤 행성의 성장 상태. 정책 근거는 정책 설계서 §P-08.
@@ -182,12 +182,16 @@ class QuestSummary {
this.endsAt,
this.type,
this.category,
this.pausedSession,
});
/// 일시 정지 세션(원장 C-83). 있으면 보조 줄이 「카테고리 · 일시 정지 · n/m」.
final QuestSession? pausedSession;
final String title;
/// 보조 줄 — 퀘스트 카테고리(사본 「오늘의 출석체크」 · 「커뮤니티」). 퀘스트 목록의
/// 카테고리 이름과 같은 원천(`QuestType.label`).
/// 카테고리 이름과 같은 원천(`QuestType.category`).
final String? category;
/// `quests.type`. 줄 왼쪽 아이콘을 고르는 데만 쓴다(없으면 제목으로 고른다).