Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
23dbe48
feat: 스토리북 초기 설정
Hys-Lee May 21, 2025
698ed91
chore: 로컬 환경 설정 gitignore에 추가
Hys-Lee May 21, 2025
b6cb35d
feat: 디자인 토큰 tailwind 적용 설정
Hys-Lee May 22, 2025
55f4a75
Merge branch 'main' of upstream
Hys-Lee May 22, 2025
2763cf3
Merge branch 'main' into design
Hys-Lee May 22, 2025
cf2157a
feat: 스토리북 배포용 공용 컴포넌트 설정
Hys-Lee May 22, 2025
4ec8eaf
feat: tailwind설정에 postcss관련 설정 임시 복원 및 storybook 배포 설정
Hys-Lee May 22, 2025
2b3894e
feat: 스토리북 배포 관련 설정 추가
Hys-Lee May 22, 2025
d1ca615
feat: 디자인 시스템 스토리북 초기 및 테스트용 설정
Hys-Lee May 22, 2025
0a0ea18
feat: 프리티어 및 린트 설치 및 설정 (임시)
Hys-Lee May 22, 2025
eda3e43
style: 린트 및 프리티어로 인한 코드 스타일 변경
Hys-Lee May 22, 2025
86acdfe
feat: 디자인 시스템 스토리북 배포 설정 수정
Hys-Lee May 22, 2025
978b3aa
feat: token 변환 설정파일 수정
Hys-Lee May 24, 2025
a16fd87
docs: 디자인 시스템 관련 리드미 템플릿 수정
Hys-Lee May 24, 2025
ee6afc7
feat: 디자인 시스템 패키지 배포 테스트 성공
Hys-Lee May 24, 2025
70ebaa3
chore: tailwind/postcss 버전 복구
Hys-Lee May 24, 2025
bcc1cd5
feat: 스토리북 스타일 autodocs처리
Hys-Lee May 24, 2025
7d5250b
docs: 디자인 시스템 관련 문서들 정리(임시)
Hys-Lee May 24, 2025
02b17e6
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee May 24, 2025
7041351
pull main
Hys-Lee May 24, 2025
5bf678b
feat: 토큰 설정 및 스토리북 배포 설정 수정
Hys-Lee May 24, 2025
5104f2a
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee May 25, 2025
df656bb
Merge branch 'main' into design
Hys-Lee May 25, 2025
a5446c8
feat: 빌드 관련 tailwindcss/postcss 버전 수정 및 gitignore 포함
Hys-Lee May 25, 2025
fabde4e
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee May 25, 2025
68ce4ea
feat: ci linux환경에서의 스토리북 빌드 관련 패키지 설정 수정
Hys-Lee May 26, 2025
21316d4
Merge branch 'design' into main
Hys-Lee May 26, 2025
272432d
Merge branch 'design'
Hys-Lee May 26, 2025
2e05c03
feat: 디자인 시스템 스토리북 예시 수정
Hys-Lee May 26, 2025
583c613
feat: zustand설치
Hys-Lee May 26, 2025
d29eeff
feat: 상현 개인 레포에서 스토리북 배포 동작하도록 수정
Hys-Lee May 26, 2025
7a7a68a
feat: deploy-storybook path에 자기자신 포함해, 변경 시 동작하도록 수정
Hys-Lee May 26, 2025
3136c68
fix: deploy-storybook path경로 수정
Hys-Lee May 26, 2025
8801660
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 5, 2025
5c7a59d
feat: Chromatic UI 테스팅 github action 실험 적용
Hys-Lee Jun 8, 2025
3dc406c
feat: chromatic 설치
Hys-Lee Jun 8, 2025
b2629d4
feat: chromatic ci 관련 yarn->npm으로 변경
Hys-Lee Jun 8, 2025
dfac342
feat: chromatic 실험용 Test 컴폰너트 ui 변경
Hys-Lee Jun 8, 2025
f065d94
feat: chromatic github action 패키지 버전 수정
Hys-Lee Jun 8, 2025
525b888
feat: chromatic ci 중단 옵션 수정
Hys-Lee Jun 8, 2025
8bf61b6
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 8, 2025
f08aa2a
Merge branch 'main' into design
Hys-Lee Jun 8, 2025
08b4560
feat: upstream PR에 대해 작동하도록 수정
Hys-Lee Jun 8, 2025
ee7a20e
feat: 크로마틱 연동 테스트
Hys-Lee Jun 10, 2025
1eb042b
feat: 스토리북 plop통한 템플릿 생성 기능 추가
Hys-Lee Jun 10, 2025
396aab4
docs: 스토리북 Intro 문서 수정
Hys-Lee Jun 10, 2025
9387475
feat: 크로마틱 연동 upstream에 적용하도록 수정
Hys-Lee Jun 10, 2025
ab5fa12
docs: 스토리북 Intro 문구 수정
Hys-Lee Jun 10, 2025
8ee477b
docs: 스토리북 intro 스타일 다듬기
Hys-Lee Jun 10, 2025
d294635
docs: 스토리북 버전 및 change log관련 문구 수정
Hys-Lee Jun 10, 2025
55a220a
feat: 스토리북 배포 주소 추가
Hys-Lee Jun 10, 2025
f07a016
docs: 스토리북 intro 문서 스타일 수정.
Hys-Lee Jun 10, 2025
e1b6af9
docs: 프로젝트 README에 디자인시스템 배포 페이지 추가
Hys-Lee Jun 10, 2025
891c5e5
docs: 스토리북 Intro 스타일 수정
Hys-Lee Jun 10, 2025
c2f7bec
docs: 프로젝트 README에 디자인시스템 배포 페이지 추가
Hys-Lee Jun 10, 2025
08de64e
Merge branch 'design'
Hys-Lee Jun 11, 2025
3f3ad2d
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 11, 2025
3d64154
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 12, 2025
99ac5b6
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 13, 2025
1589563
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 13, 2025
6a2f808
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 13, 2025
25a404b
Trigger CI/CD for redeploy
Hys-Lee Jun 15, 2025
23bc5da
Trigger CI/CD for storybook redeploy
Hys-Lee Jun 15, 2025
af4bcf6
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 15, 2025
7c97603
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 15, 2025
d494c02
feat: 스토리북 배포 ci 관련 캐싱 삭제 및 cleanup 동작 추가
Hys-Lee Jun 15, 2025
d313a9c
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 18, 2025
059e897
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 25, 2025
15c7ec4
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 26, 2025
2e7f446
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 26, 2025
b2f3216
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 26, 2025
5f81d91
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 28, 2025
c4a0e97
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 28, 2025
b7c9b3a
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 28, 2025
074ebf4
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jun 28, 2025
bc22043
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 5, 2025
010a449
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 9, 2025
a5e0ba9
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 14, 2025
be8d56d
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 23, 2025
4b3ae63
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 24, 2025
3ac8db2
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 25, 2025
3544b0a
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Jul 25, 2025
3df8115
Update README.md
Hys-Lee Jul 29, 2025
f290846
docs: 리드미 목록 관련 수정
Hys-Lee Jul 30, 2025
6d9f881
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Aug 11, 2025
e8f1572
fix: 스토리북 배포 favicon 경로 수정
Hys-Lee Aug 11, 2025
5e429ea
feat: 모든 fetching에 대해 디바운스 처리 및 fetch 에러에 대해 toast동작 추가
Hys-Lee Aug 12, 2025
96c1443
fix: 바텀시트로 인한 바텀태그 클릭 불능 방지
Hys-Lee Aug 12, 2025
81f8a50
feat: 바텀시트 전역 관리 제작
Hys-Lee Aug 12, 2025
2880789
feat: TodoBottomSheet 전역관리 맞게 수정 및 DetailBody에 적용
Hys-Lee Aug 12, 2025
2b186c7
feat: BottomSheetRenderer 히스토리 구조 적용 및 바텀시트 변경에 대해 리마운트 및 모바일 키보드 동작
Hys-Lee Aug 15, 2025
0fa30b6
feat: 바텀시트 관련 훅 구조 히스토리로 변경
Hys-Lee Aug 15, 2025
48d36d9
feat: 바텀시트 훅 구조 변경에 따른 TodoBottomSheet 적용부분인 DetailBody, GoalCard수정
Hys-Lee Aug 15, 2025
7a294f4
feat: 바텀시트 훅 변경에 따른 TodoResultBottomSheet 수정 및 사용부 수정
Hys-Lee Aug 15, 2025
f996952
feat: 바텀시트 훅 관련 ListCard 수정에서 타입 처리
Hys-Lee Aug 15, 2025
fc1fc8c
feat: 바텀시트 훅으로 인한 GoalDurationBottomSheet 관련 변경
Hys-Lee Aug 15, 2025
0843420
feat: 메인 페이지 수정
Hys-Lee Aug 16, 2025
e551646
feat: 상세 페이지 ui 수정 및 ModalAddingTodo추가
Hys-Lee Aug 16, 2025
8084437
feat: GuestGroup 제작
Hys-Lee Aug 16, 2025
4c51f90
feat: GuestGroup생성으로 인한 GroupChatItem 및 GroupChatRoom변경
Hys-Lee Aug 16, 2025
7335ef3
feat: 게스트 모드 진입과 탈출에서 상태 처리
Hys-Lee Aug 17, 2025
398f6c5
Merge branch 'fix-demo' into update-after-demo
Hys-Lee Aug 17, 2025
d4527a1
feat: 바텀시트 훅 추가에서 타입 에러 수정
Hys-Lee Aug 17, 2025
80b7d35
feat: 게스트 모드 위한 모킹 구조 제작
Hys-Lee Aug 17, 2025
43e0d7b
feat: 게스트 모드 적용
Hys-Lee Aug 17, 2025
e5eebd3
feat: 빌드 에러 수정
Hys-Lee Aug 17, 2025
742c292
feat: 린트 에러 수정
Hys-Lee Aug 17, 2025
fc3f8b0
fix: DoneItemDetail 스토리북 관련 빌드 에러 수정
Hys-Lee Aug 17, 2025
6b0e02b
feat: 스토리북(크로마틱) 빌드 에러 수정
Hys-Lee Aug 17, 2025
b05e3a5
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Aug 17, 2025
efee88a
Merge branch 'main' into update-after-demo
Hys-Lee Aug 17, 2025
71b6498
feat: 게스트모드 관련 마이페이시 처리
Hys-Lee Aug 17, 2025
b78646d
feat: 목표 달성 관련 추가사항 반영
Hys-Lee Aug 17, 2025
8543b55
feat: 상세페이지 TodoBottomSheet 제거
Hys-Lee Aug 18, 2025
e750173
fix: 목표 추가 버그 수정
Hys-Lee Aug 18, 2025
7cd8527
fix: 목표 생성 후 todo가 없어도 목표 완성 모달 뜨는 버그 수정
Hys-Lee Aug 18, 2025
78d9b87
fix: 상세 페이지 남을 날짜 NaN(undefined경우)는 표기 안하도록 수정
Hys-Lee Aug 18, 2025
4d28b75
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Aug 22, 2025
075108f
feat: api debouncer 최적화
Hys-Lee Aug 22, 2025
92fce12
feat: MSW 종료 처리 추가
Hys-Lee Aug 22, 2025
96cb9c9
fix: 체크박스 공통 컴포넌트 제어방식에 checked css 적용 씹히지 않도록 수정
Hys-Lee Aug 24, 2025
5aa099c
feat: 투두 체크에 대해 낙관적 업데이트 적용
Hys-Lee Aug 24, 2025
c07c9be
feat: 낙관적 업데이트 적용에 따른 UI 변화 애니메이션 처리
Hys-Lee Aug 24, 2025
c6b066d
feat: 낙관적 업데이트 대비 isValidating 사용
Hys-Lee Aug 24, 2025
e3d324e
feat: ListCard 더보기 조건 수정
Hys-Lee Aug 24, 2025
53f6b09
feat: 엑세스 토큰 만료에 대해 재발급 처리
Hys-Lee Aug 27, 2025
48e5a1f
fix: 불필요 콘솔 제거
Hys-Lee Aug 27, 2025
f4aee9e
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Aug 27, 2025
4766a1f
Merge branch 'main' into update-after-demo
Hys-Lee Aug 27, 2025
4a699eb
fix: 게스트모드 세부목표 관련 에러 수정
Hys-Lee Aug 27, 2025
560ac3a
feat: 게스트모드 추가 처리
Hys-Lee Aug 27, 2025
c47a3ae
feat: ec2 프로덕션 배포를 위한 도커 설정
Hys-Lee Aug 27, 2025
64d852c
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Aug 27, 2025
a79faf5
Merge branch 'main' into ec2-deploy
Hys-Lee Aug 27, 2025
d94ae03
fix: 게스트모드 첫 진입 시 온보딩 적용 및 refreshToken없을 시 무한렌더링 버그 수정
Hys-Lee Aug 28, 2025
ef1704c
feat: 도커 빌드 시점에 환경 변수 주입하도록 수정 및 cd 추가
Hys-Lee Aug 28, 2025
e139d51
feat: production deploy에서 도커 실행 시 안정화 추가
Hys-Lee Aug 28, 2025
f1bbeb7
Merge branch 'main' into ec2-deploy
Hys-Lee Aug 29, 2025
d979b2f
feat: 프로덕트 배포 sudo 추가
Hys-Lee Aug 29, 2025
0b677bb
Merge branch 'main' of https://github.com/prography/10th-Motimo-FE
Hys-Lee Aug 29, 2025
d3128af
Merge branch 'main' into ec2-deploy
Hys-Lee Aug 29, 2025
10af986
Merge branch 'ec2-deploy' of https://github.com/Hys-Lee/10th-Motimo-F…
Hys-Lee Aug 29, 2025
964efaf
fix: 로그인 화면 제스처 바 삭제
Hys-Lee Aug 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
# 2. Docker 이미지 빌드, 태그, 푸시 (이미지 이름 형식 변경)
- name: Build and push to Docker Hub
run: |
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }} .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
sudo docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }} .
sudo docker push ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}

# 3. EC2에 접속하여 배포
- name: Deploy to EC2 instance
Expand All @@ -37,14 +37,13 @@ jobs:
key: ${{ secrets.EC2_SSH_KEY }}
script: |
# EC2에서 Docker Hub 이미지 pull
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}

Comment on lines +40 to 41
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Log in to Docker Hub on EC2 before pulling if the repo is private; add fail-fast.

Without a remote docker login, sudo docker pull will fail for private images.

Apply:

             # EC2에서 Docker Hub 이미지 pull
+            set -Eeuo pipefail
+            # Required only if the image is private
+            if [ -n "${DOCKERHUB_USERNAME:-}" ] && [ -n "${DOCKERHUB_TOKEN:-}" ]; then
+              echo "${DOCKERHUB_TOKEN}" | sudo docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
+            fi
             sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}

🏁 Script executed:

#!/bin/bash
set -Eeuo pipefail

echo "Searching for 'docker pull' in workflow:"
rg -n 'docker pull' -C5 .github/workflows/production-deploy.yml || echo "No docker pull found"

echo -e "\nSearching for existing 'docker login' steps:"
rg -n 'docker login' -C5 .github/workflows/production-deploy.yml || echo "No docker login found"

Length of output: 943


Add Docker login and fail-fast in production-deploy workflow

Without authenticating first, sudo docker pull will fail on private images. Prepend the deploy script with strict error handling and, when credentials are set, log in before pulling:

             # EC2에서 Docker Hub 이미지 pull
+            set -Eeuo pipefail
+            # Required only if the image is private
+            if [ -n "${DOCKERHUB_USERNAME:-}" ] && [ -n "${DOCKERHUB_TOKEN:-}" ]; then
+              echo "${DOCKERHUB_TOKEN}" | sudo docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
+            fi
             sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
# EC2에서 Docker Hub 이미지 pull
set -Eeuo pipefail
# Required only if the image is private
if [ -n "${DOCKERHUB_USERNAME:-}" ] && [ -n "${DOCKERHUB_TOKEN:-}" ]; then
echo "${DOCKERHUB_TOKEN}" | sudo docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
fi
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
🤖 Prompt for AI Agents
.github/workflows/production-deploy.yml around lines 40 to 41: the workflow
calls sudo docker pull without authenticating and lacks fail-fast behavior;
modify the deploy step to enable strict error handling (e.g., run the script
with set -e or use shell: bash -e) and, when DOCKERHUB_USERNAME and
DOCKERHUB_PASSWORD (or DOCKERHUB_TOKEN) secrets are provided, perform a docker
login using those credentials before attempting docker pull so private images
can be accessed and the job fails immediately on errors.

# 기존 컨테이너 중지 및 삭제
if [ $(docker ps -q -f name=motimo-fe-production) ]; then
docker stop motimo-fe-production
docker rm motimo-fe-production
if [ $(sudo docker ps -q -f name=motimo-fe-production) ]; then
sudo docker stop motimo-fe-production
sudo docker rm motimo-fe-production
fi
Comment on lines +43 to 46
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Fix container existence check; current test breaks on empty output and misses stopped containers.

  • Unquoted command substitution can make [ ] empty and error.
  • docker ps (without -a) only sees running containers.
  • Use anchored name match and rm -f to stop+remove in one go.

Apply:

-            if [ $(sudo docker ps -q -f name=motimo-fe-production) ]; then
-              sudo docker stop motimo-fe-production
-              sudo docker rm motimo-fe-production
-            fi
+            cid="$(sudo docker ps -aq -f name=^motimo-fe-production$)"
+            if [ -n "$cid" ]; then
+              sudo docker rm -f "$cid"
+            fi
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
if [ $(sudo docker ps -q -f name=motimo-fe-production) ]; then
sudo docker stop motimo-fe-production
sudo docker rm motimo-fe-production
fi
cid="$(sudo docker ps -aq -f name=^motimo-fe-production$)"
if [ -n "$cid" ]; then
sudo docker rm -f "$cid"
fi
🤖 Prompt for AI Agents
In .github/workflows/production-deploy.yml around lines 43 to 46, the current
container-existence check is unsafe (unquoted command substitution can break on
empty output) and only checks running containers; replace it with a test that
quotes the command substitution and includes stopped containers (use docker ps
-aq with an anchored name filter), and then use docker rm -f
motimo-fe-production to force-stop and remove the container in one step; ensure
the conditional uses -n "($(...))" or equivalent quoting so the test never
receives an empty string.


# 새 컨테이너 실행
docker run -d --name motimo-fe-production -p 3000:3000 --restart always --env-file ./production.env ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}

sudo docker run -d --name motimo-fe-production -p 3000:3000 --restart always --env-file ./production.env ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
4 changes: 2 additions & 2 deletions app/onboarding/_components/LoginScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ export default function LoginScreen({ onNext }: LoginScreenProps) {
</div>

{/* Gesture bar */}
<div className="h-6 flex justify-center items-center">
{/* <div className="h-6 flex justify-center items-center">
<div className="w-[108px] h-1 bg-label-normal rounded-full"></div>
</div>
</div> */}
</div>
);
}