enlarge journal calendar cells and pair day/title on one line
- calendar-cell-journal: bump min-height 44px -> 76px, scale up date/dot/title font sizes - journal calendar titles were centered; left-align them - rework JournalCalendarDay: replace separate category_colors/titles lists (mismatched lengths, no way to pair a dot with its title) with a single entries list of (color, title) pairs so the dot and its title render on the same non-wrapping row per entry Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -116,10 +116,15 @@ class JournalAttachmentOut(BaseModel):
|
||||
has_thumbnail: bool
|
||||
|
||||
|
||||
class JournalCalendarEntry(BaseModel):
|
||||
color: str # 그 엔트리가 속한 카테고리 색상 (점 표시용)
|
||||
title: str # 제목(없으면 내용 일부)
|
||||
|
||||
|
||||
class JournalCalendarDay(BaseModel):
|
||||
entry_date: date
|
||||
total_count: int
|
||||
category_colors: list[str] # 그 날 엔트리가 있는 카테고리들의 색상(점 표시용, 중복 제거)
|
||||
entries: list[JournalCalendarEntry] # 엔트리별 (색상, 제목) 쌍 — 점과 제목이 한 줄에 붙어 나오도록 1:1로 매칭
|
||||
|
||||
|
||||
class JournalDayDetailItem(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user