사용자 화면 문구·표본 데이터 · 퀘스트 참여 흐름 · HOME 진입 구획 · 미니맵 · 공통 확인 창 배치 수정

This commit is contained in:
Sn-Kinos
2026-10-05 00:44:39 +09:00
parent c8d29d032b
commit 8a0297eb92
66 changed files with 1812 additions and 959 deletions
+10 -5
View File
@@ -61,7 +61,8 @@ class _NoTopPercentRepository extends SamplePlanetRepository {
FpiScore(
metric: s.metric,
value: s.value,
rank: s.rank,
// 집계 모집단 밖(서버 fpiRanks 없음)이면 순위가 0 으로 온다.
rank: 0,
trend: s.trend,
myTopPercent: null,
),
@@ -166,7 +167,7 @@ void main() {
expect(find.text('상위 17%'), findsWidgets);
});
testWidgets('내 기여 상위 집계 전이면 숫자 대신 사유를 띄운다 — 대조표 3-5', (tester) async {
testWidgets('집계 값이 없으면 숫자를 짓지 않고 내부 사유도 띄우지 않는다 — 대조표 3-5', (tester) async {
await _pumpTall(
tester,
const PlanetDetailScreen(
@@ -177,9 +178,13 @@ void main() {
);
// 없는 값을 100%(최하위)로 지어내지 않는다.
expect(find.text('상위 100%'), findsNothing);
expect(find.text('집계 준비 중'), findsWidgets);
// 사유는 배지로도 뜬다 — 숨기지 않는다.
expect(find.textContaining('MOCK · '), findsOneWidget);
expect(find.text('—'), findsWidgets);
// 개발용 사유(MOCK · 집계 함수)는 사용자 화면에 내보내지 않는다(10/4 실기기 3-1).
expect(find.textContaining('MOCK'), findsNothing);
expect(find.textContaining('집계 함수'), findsNothing);
// 순위가 없으면 「전체 0위」 대신 「순위 집계 전」.
expect(find.text('전체 0위'), findsNothing);
expect(find.text('순위 집계 전'), findsWidgets);
});
testWidgets('이클립스가 발동 중이면 침식·방어 진행을 띄운다', (tester) async {