일반근무 이름 바꾸기 (웹 2026-11-25.1, 앱 0.14.2 소스)

달력 표시에서 일반근무를 직장에서 부르는 이름(주간·일근 등)으로 바꿀 수 있게 했다.
근무 식별자 REGULAR는 그대로 두고 보이는 이름만 바꾸므로 근무표와 통계는 그대로다.

- 서버: 개인 설정 regularName 검사(8자·제어 문자 거부)와 구버전 저장 때 보존, 구독 제목 반영
- 웹: 달력 표시에 이름 칸, 달력 칸·오늘·고르는 목록·이름 표시 문구에 반영
- 앱: ShiftNames와 Shift.title/shortTitle/choiceTitle, 설정 창 칸, 위젯과 안내 줄 반영, 동기화
- 검사: 서버 93개, 앱 단위 53개, 위젯 기기 검사에 이름 확인 추가
- 근무 관리 기기 검사가 고정 날짜 때문에 날짜가 지나면 실패하던 것을 오늘 기준으로 고침

앱 0.14.2 APK는 외부 검사 뒤 따로 배포한다(release.json 앱 버전은 아직 0.14.1).
This commit is contained in:
블리어 committed 2026-11-24 23:54:36 +00:00
1 parent 1982783048
commit 1aa4126727
27 files changed
+267 -41

No files matched your search

@@ -90,7 +90,7 @@ object MonthWidgetViews {
?:colleagues.firstOrNull()?.name
val mark=style.eventMark&&(events.isNotEmpty()||anniversaries.isNotEmpty())
val number=date.dayOfMonth.toString()+if(mark&&cellWidth>=24)"+" else ""
val shiftLabel=if(cellWidth>=24)shift.shortTitle else when(shift){Shift.REGULAR->"근";else->shift.shortTitle.take(1)}
val shiftLabel=if(cellWidth>=24)shift.shortTitle else when{shift==Shift.REGULAR&&ShiftNames.regular.isBlank()->"근";else->shift.shortTitle.take(1)}
// 음력의 마지막 숫자를 자르면 16일이 1일처럼 보인다. 이름은 줄일 수 있지만
// 날짜 정보는 전체를 유지한다. 숫자 폭이 좁아 여섯 글자 음력도 같은 칸에 들어간다.
val extraLabel=if(extra==lunar)extra else extra?.take(4)