서비스 운영 종료 안내와 모달 가독성 개선

This commit is contained in:
2026-11-12 15:59:52 +09:00
parent 5e1b93f668
commit 82d509f659
25 changed files with 253 additions and 20 deletions

View File

@@ -8,7 +8,7 @@
4. API나 Docker 설정 반영: `4. 전체 업데이트`
로컬 주소는 `http://localhost:44082`, 운영 주소는 `https://uniare.sori.studio`이다.
Git 저장소는 `https://git.sori.studio/sori.studio/uniare.sori.studio.git`이다.
Git 저장소는 `https://git.noname.company/sori.studio/uniare.sori.studio.git`이다.
## 시작 전 확인
@@ -18,6 +18,12 @@ Git 저장소는 `https://git.sori.studio/sori.studio/uniare.sori.studio.git`이
- 카드 이미지는 Git LFS로 관리한다.
- 로컬 위치는 `<LOCAL_PROJECT_DIR>/uniare.sori.studio`, NAS 위치는 `<NAS_PROJECT_DIR>/uniare.sori.studio`로 표기한다.
기존에 받은 프로젝트는 프로젝트 폴더에서 다음 명령으로 원격 주소를 변경한다.
```bash
git remote set-url origin https://git.noname.company/sori.studio/uniare.sori.studio.git
```
## 1. 로컬 실행
최초 한 번 프로젝트 폴더에서 `cp .env.example .env`를 실행한다.
@@ -48,7 +54,7 @@ NAS에 Git, Git LFS, Docker, Docker Compose가 설치되어 있어야 한다.
```bash
cd <NAS_PROJECT_DIR>
git clone https://git.sori.studio/sori.studio/uniare.sori.studio.git uniare.sori.studio
git clone https://git.noname.company/sori.studio/uniare.sori.studio.git uniare.sori.studio
cd uniare.sori.studio
git lfs pull
cp .env.example .env
@@ -79,7 +85,7 @@ API 확인: `curl -fsS http://localhost:44082/api/v1/health`
운영 지표 확인: `curl -fsS http://localhost:44082/api/stats`
정상이면 `{"ok":true,"version":"4.0.16"}`이 표시된다.
정상이면 `{"ok":true,"version":"4.0.29"}`이 표시된다.
이메일 기능 확인:
@@ -173,6 +179,19 @@ curl -s http://127.0.0.1:44082/script/deck-favorites.js | tail -1
HTML·`style/`·`script/`만 바뀐 경우 API 컨테이너 재시작은 필요 없다.
### v4.0.29 종료 안내 반영·확인
종료 안내는 정적 파일 변경이다. 로컬에서 `npm run build:css`로 생성한 `style/output.css`를 함께 반영하고, NAS에서는 위의 `git pull --ff-only`와 `git lfs pull`을 실행한다.
1. 홈과 직접 접속한 카드 목록·로그인 화면에서 마지막 운영일이 한국 시간 기준 `2026년 12월 11일`로 표시되는지 확인한다.
2. 일반 `확인` 후 새로고침하면 안내가 다시 나타나는지 확인한다.
3. `1주일간 보지 않기`를 체크하고 `확인`한 뒤 새로고침하거나 다른 화면으로 이동해도 안내가 숨겨지는지 확인한다.
4. 브라우저 개발자 도구의 Application → Local Storage에서 `uniare.serviceNotice.hiddenUntil`을 삭제하면 다시 확인할 수 있다. 다른 로그인·덱 저장값은 삭제하지 않는다.
5. 한국어·일본어·영어와 모바일 화면에서 안내 문구와 버튼을 확인한다. 저장소가 차단된 환경에서도 안내를 닫을 수 있어야 한다.
6. 모바일에서 배경·제목·날짜·버튼이 부드럽게 표시되고, 한글 단어가 중간에서 끊기지 않으며 긴 단어가 모달 밖으로 넘치지 않는지 확인한다.
이번 변경은 종료 안내만 제공하며 실제 서비스 자동 차단·데이터 삭제·외부 위젯 변경은 포함하지 않는다. 실행 중인 API의 버전 응답도 `4.0.29`로 맞추려면 `docker compose -f docker-compose.prod.yml up -d --build uniare-api`를 추가로 실행한다.
이메일 기능은 API와 Compose 환경 변수가 함께 바뀌므로 `git pull`만으로 반영되지 않는다. 반드시 `.env` 설정 후 전체 스택을 다시 빌드한다.
## 4. 전체 업데이트