feat: 워치에 주변 축제 표시 (앱 축제 장, 스킨 날짜 밑 한 줄)

- /v1/watch/summary 에 events 2개: 진행 중 먼저, 이름 앞 [주최] 괄호 제거, 4초 넘으면 축제만 빼고 응답
- 앱: 내 각 다음에 근처 축제 장 (이름 · 상태 · 장소와 그날 날씨)
- 스킨: 날짜 밑 "🎉 주변 축제 · 이름" 한 줄 (EventComplicationService, LONG_TEXT, 행사 없으면 숨김)
- 스킨 배치: 해 구슬 162→136, 해·링 묶음 24px 아래로, 기온·비 칩 y 366

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
HyeongBaeYangandClaude Opus 5.5 committed 2026-10-07 11:21:50 +09:00
1 parent a6a738ae61
commit b4d028a91b
10 files changed
+208 -46

No files matched your search

@@ -335,6 +335,30 @@ private fun GakRow(g: Gak, medal: String?, open: Boolean, modifier: Modifier, on
}
}
@Composable
fun EventsPage(events: List<Event>, now: Instant) {
Box(Modifier.fillMaxSize().background(bgButter)) {
Clock(now, Tok.ink)
Column(
Modifier.fillMaxSize().padding(start = 22.dp, end = 22.dp, top = 34.dp),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.spacedBy(6.dp),
) {
T("근처 축제", 14.sp, color = Tok.ink)
events.forEach { e ->
Column(Modifier.fillMaxWidth().mallang().padding(start = 10.dp, end = 10.dp, top = 5.dp, bottom = 8.dp)) {
Row(verticalAlignment = Alignment.CenterVertically) {
T(e.name, 13.sp, color = Tok.ink, modifier = Modifier.weight(1f), align = TextAlign.Start, maxLines = 1)
T(e.status, 9.sp, FontFamily.Default, Color.White, Modifier.padding(start = 4.dp).background(Tok.orange, CircleShape).padding(horizontal = 5.dp),
weight = FontWeight.ExtraBold, maxLines = 1)
}
T(listOfNotNull(e.place.takeIf { it.isNotBlank() }, e.fit).joinToString(" · "), 9.sp, FontFamily.Default, Tok.ink2, align = TextAlign.Start, weight = FontWeight.Bold, maxLines = 1)
}
}
}
}
}
// ───────────── 4. 노을 ─────────────
// 웹 .b-skyline::after 의 건물 윤곽 (x%, y%)