[chore] solution: "지금 발송하기" 버튼 이름을 "승인 알림보내기"로

사장님 지시. 같은 문구를 인용하던 API summary·주석도 같이 맞췄다
(생성 파일 site.ts 는 손대지 않음 — 백엔드 재빌드 후 orval 로 재생성).
This commit is contained in:
김성경 2026-09-22 09:51:42 +09:00
parent 81a61b50f5
commit 23c9dd6fcd
5 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@ class PostCRUD:
return ErrorType.SUCCESS, rows[:limit] return ErrorType.SUCCESS, rows[:limit]
async def next_due_for_mail(self, cdb: AsyncSession, place_id, status: int, today): async def next_due_for_mail(self, cdb: AsyncSession, place_id, status: int, today):
"""이 업장의 오늘 몫 글 하나 — 사장님이 '지금 발송하기'를 눌렀을 때 쓴다. 없으면 None. """이 업장의 오늘 몫 글 하나 — 사장님이 '승인 알림보내기'를 눌렀을 때 쓴다. 없으면 None.
due_for_mail 과 같은 조건(배정일이 오늘까지 온 것)을 이 업장 하나로 좁힌 것뿐이다.""" due_for_mail 과 같은 조건(배정일이 오늘까지 온 것)을 이 업장 하나로 좁힌 것뿐이다."""
result = await cdb.execute( result = await cdb.execute(
select(place_posts) select(place_posts)

View File

@ -134,7 +134,7 @@ async def delete_my_post(
@owner_router.post( @owner_router.post(
path="/send-now", response_model=Res_WebPacketProtocol, path="/send-now", response_model=Res_WebPacketProtocol,
summary="지금 발송하기 — 아침 9시 스윕을 기다리지 않고 이 업장의 오늘 몫을 바로 보낸다", summary="승인 알림보내기 — 아침 9시 스윕을 기다리지 않고 이 업장의 오늘 몫을 바로 보낸다",
) )
async def send_my_posts_now( async def send_my_posts_now(
place_id: UUID, place_id: UUID,

View File

@ -303,7 +303,7 @@ class PostService:
} }
async def send_now(self, user_info: UserInfo, place_id: str) -> Res_WebPacketProtocol: async def send_now(self, user_info: UserInfo, place_id: str) -> Res_WebPacketProtocol:
"""빌더 화면의 '지금 발송하기' — 아침 9시 스윕을 기다리지 않고 이 업장의 오늘 몫을 """빌더 화면의 '승인 알림보내기' — 아침 9시 스윕을 기다리지 않고 이 업장의 오늘 몫을
바로 보낸다(2026-09-21, 사장님 요청). 보낼 게 없는 건 오류가 아니다 — generate_range 바로 보낸다(2026-09-21, 사장님 요청). 보낼 게 없는 건 오류가 아니다 — generate_range
의 '이미 다 있거나 소재가 없다'와 같은 결의 안내로 끝낸다.""" 의 '이미 다 있거나 소재가 없다'와 같은 결의 안내로 끝낸다."""
res = Res_WebPacketProtocol() res = Res_WebPacketProtocol()

View File

@ -340,7 +340,7 @@ async def test_update_place_rejects_malformed_notify_email(client, db_engine, au
async def test_send_now_mails_todays_due_post_immediately(client, db_engine, auth_headers, monkeypatch): async def test_send_now_mails_todays_due_post_immediately(client, db_engine, auth_headers, monkeypatch):
"""빌더 화면의 '지금 발송하기' — 아침 9시 스윕을 기다리지 않고 이 업장의 오늘 몫을 """빌더 화면의 '승인 알림보내기' — 아침 9시 스윕을 기다리지 않고 이 업장의 오늘 몫을
바로 보낸다(2026-09-21, 사장님 요청).""" 바로 보낸다(2026-09-21, 사장님 요청)."""
from services import blog_jobs, mail_service from services import blog_jobs, mail_service

View File

@ -682,7 +682,7 @@ export function BlogPostsPage() {
<div className="flex items-center gap-1.5"> <div className="flex items-center gap-1.5">
<Button size="sm" variant="ghost" isLoading={sendNowMutation.isPending} onClick={handleSendNow}> <Button size="sm" variant="ghost" isLoading={sendNowMutation.isPending} onClick={handleSendNow}>
<Send /> <Send />
지금 발송하기 승인 알림보내기
</Button> </Button>
<Button size="sm" variant="primary" onClick={() => setRangeDialogOpen(true)}> <Button size="sm" variant="primary" onClick={() => setRangeDialogOpen(true)}>
<Sparkles /> <Sparkles />