Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
307 commits
Select commit Hold shift + click to select a range
0e0341a
feat: 카드 만료일 Input 기능 구현
suyeon1218 Jul 22, 2024
2f01c80
feat: InputWrapper에 div 엘리먼트 props 추가하기
suyeon1218 Jul 22, 2024
368dec0
style: Modal에 relative 속성 추가하기
suyeon1218 Jul 22, 2024
57e195f
feat: 비밀번호 입력 컴포넌트 구현
suyeon1218 Jul 22, 2024
5250f77
style: Information Header 문자 크기 조정하기
suyeon1218 Jul 22, 2024
efbd921
style: Information border스타일을 Payments로 옮기기
suyeon1218 Jul 22, 2024
7153556
feat: 카드 선택 컴포넌트 구현하기
suyeon1218 Jul 22, 2024
0567994
chore: 카드 회사 상수로 분리하기
suyeon1218 Jul 22, 2024
6fa1656
refactoring: 카드 타입을 회사로 분류하기
suyeon1218 Jul 22, 2024
0c1f661
style: Information 컴포넌트 패딩값 없애기
suyeon1218 Jul 22, 2024
1ae841e
feat: 카드 회사 입력받는 컴포넌트 구현하기
suyeon1218 Jul 22, 2024
48c1ab4
refactoring: Card 컴포넌트 위치 변경하기
suyeon1218 Jul 22, 2024
9e20581
feat: CardAlias UI 구현
suyeon1218 Jul 22, 2024
602b7b5
style:전체 스타일 조정
suyeon1218 Jul 22, 2024
bb3698b
feat: 카드 등록시 유효성 검사 추가하기
suyeon1218 Jul 23, 2024
bdc70f9
feat: 카드 추가하는 기능 구현하기
suyeon1218 Jul 23, 2024
4915c9e
feat: 카드 삭제 기능 구현
suyeon1218 Jul 23, 2024
f075a32
feat: 각 페이지에서 뒤로가기 기능 구현
suyeon1218 Jul 23, 2024
1624aa2
feat: InputPassword 유효성 검사가 값 입력 초기에도 이뤄지도록 하기
suyeon1218 Jul 23, 2024
ea1a69a
feat: Payments 페이지 form 유효성 검사 뒤 결제하기 활성화하기
suyeon1218 Jul 23, 2024
734952e
feat: 카드 선택시 카드 이름 변경 창으로 이동하는 기능 구현
suyeon1218 Jul 23, 2024
63cd9f7
feat: CardNumber 사이에 대시 넣기
suyeon1218 Jul 23, 2024
c56acd5
chore: import-order ESLint 적용
suyeon1218 Jul 24, 2024
22a16f1
refactoring: Homepage 리팩토링
suyeon1218 Jul 24, 2024
7101dc8
Refactoring: Payment 페이지 구조 리팩토링하기
suyeon1218 Jul 24, 2024
4e01806
chore: 경로 별칭 세팅하기
suyeon1218 Jul 24, 2024
c214345
refactoring: 경로 별칭 ESLint 적용하기
suyeon1218 Jul 24, 2024
7462b87
refactoring: CardSelection 리팩토링
suyeon1218 Jul 24, 2024
5256eaa
refactoring: Card Refactoring
suyeon1218 Jul 24, 2024
55428c4
refactoring: CardSelector -> CompanySelection 이름 변경
suyeon1218 Jul 24, 2024
42eeb7a
refactoring: PaymentAmount 리팩토링
suyeon1218 Jul 24, 2024
6d187a0
refactoring: TermAgreement 리팩토링
suyeon1218 Jul 24, 2024
3cb524c
refactoring: CardSlide 리팩토링 하기
suyeon1218 Jul 24, 2024
da085f8
refactoring: CardList 페이지 리팩토링 하기
suyeon1218 Jul 24, 2024
146324f
refactoring: CardAlias 페이지 리팩토링
suyeon1218 Jul 24, 2024
eb5aa17
refactoring: CompanySelection 컴포넌트 리팩토링
suyeon1218 Jul 25, 2024
dd9e481
refactoring: InputCompany 컴포넌트 리팩토링
suyeon1218 Jul 25, 2024
1938d07
refactoring: HTMLAttributes 대신 ComponentProps 타입 사용하기
suyeon1218 Jul 25, 2024
a85f192
feat: number가 string타입이 아닌경우 타입가드 작성하기
suyeon1218 Jul 25, 2024
6abd992
refactoring: InputCardNumbers 컴포넌트 리팩토링
suyeon1218 Jul 25, 2024
42e8604
refactoring: Input컴포넌트 리팩토링하기
suyeon1218 Jul 25, 2024
c748b00
refactoring: TextTitle 컴포넌트 적용하기
suyeon1218 Jul 25, 2024
faa686c
chore: 변경된 카드 타입 적용하기
suyeon1218 Jul 25, 2024
d0e77da
refacotoring: InputEndDate 컴포넌트 리팩토링
suyeon1218 Jul 25, 2024
131609a
refactoring: InputCardUser 컴포넌트 리팩토링
suyeon1218 Jul 25, 2024
76dc08b
refactoring: InputSecurityCode 컴포넌트 리팩토링
suyeon1218 Jul 25, 2024
c0e8d57
fix: Deembackground 컴포넌트의 onClose가 제대로 동작하지 않는 문제 수정
suyeon1218 Jul 26, 2024
c71987c
feat: Input 컴포넌트 value 타입 값을 input 엘리먼트의 defaultValue 타입과 동일하게 받기
suyeon1218 Jul 26, 2024
a52e349
refactoring: CardRegist 페이지 리팩토링
suyeon1218 Jul 26, 2024
4a530fb
style: 다음 버튼이 우측에 위치하도록 하기
suyeon1218 Jul 26, 2024
6db98c8
fix: 카드 비밀번호 입력이 안되는 문제 수정
suyeon1218 Jul 26, 2024
459800b
refactoring: CardRegist 페이지 리팩토링
suyeon1218 Jul 26, 2024
1184fd7
style: Payment 컨테이너에 너비값 주기
suyeon1218 Jul 26, 2024
6bf6eee
chore: Storybook 설치
suyeon1218 Jul 26, 2024
3445101
feat: Button 컴포넌트 스토리북 등록하기
suyeon1218 Jul 26, 2024
9abe196
refactoring: Button props 이름 변경하기
suyeon1218 Jul 26, 2024
20b47a0
refactoring: 경로 별칭 적용하기
suyeon1218 Jul 26, 2024
421b430
feat: 카드 타입에 none 추가하기
suyeon1218 Jul 26, 2024
a133cf2
feat: Card 컴포넌트 storybook 구현하기
suyeon1218 Jul 26, 2024
c002b9c
feat: Input 컴포넌트 storybook 구현하기
suyeon1218 Jul 26, 2024
2bd79c1
feat: InputWrapper storybook 구현
suyeon1218 Jul 26, 2024
f9d67db
refactoring: InputWrapper에 import-order ESLint 적용
suyeon1218 Jul 29, 2024
c78abd5
feat: Keypad컴포넌트 storybook 연결
suyeon1218 Jul 29, 2024
8ce365c
feat: CompanySelection컴포넌트 storybook에 연결
suyeon1218 Jul 29, 2024
0ca34d3
refactoring: Button스토리북 import-order ESLint 적용
suyeon1218 Jul 29, 2024
7d6ec9f
fix: components목록에 CompanySelection이 나타나지 않는 문제 수정
suyeon1218 Jul 29, 2024
007249c
feat: DeemBackground컴포넌트를 스토리북에 연결
suyeon1218 Jul 29, 2024
2ad1fd7
refacotoring: 컴포넌트 이름 변경
suyeon1218 Jul 29, 2024
c6e7855
refactoring: Modal과 Infromation병합하기
suyeon1218 Jul 29, 2024
b2c08ac
style: Card컴포넌트 배경색 추가
suyeon1218 Jul 29, 2024
83a0fac
feat: Card컴포넌트 스토리북 등록
suyeon1218 Jul 29, 2024
17889d9
refactoring: PrevIcon 컴포넌트 삭제
suyeon1218 Jul 29, 2024
ef6f007
feat: 스토리북 preview-head 설정하기
suyeon1218 Jul 29, 2024
ed75d84
feat: GoogleIcon 스토리북 추가하기
suyeon1218 Jul 29, 2024
0dc3a84
fix: HomePage 에러 수정
suyeon1218 Jul 29, 2024
045a713
fix: Payment 페이지 수정
suyeon1218 Jul 29, 2024
0c0aa54
refactoring: CreditCard에서 카드를 추가하는 컴포넌트 제외시키기
suyeon1218 Jul 29, 2024
66c5f2e
feat: AddCreditCard 컴포넌트 추가하기
suyeon1218 Jul 29, 2024
63ed3ff
fix: CardRegist 페이지 에러 수정
suyeon1218 Jul 29, 2024
b8d087e
fix: CardRegist 오류 수정
suyeon1218 Jul 29, 2024
f4a780e
fix: HomePage 스타일이 어긋나있던 문제 수정
suyeon1218 Jul 29, 2024
e8aab28
style: CardList 모달의 높이가 작은 문제 수정
suyeon1218 Jul 29, 2024
205891a
fix: CardRegist 페이지 수정
suyeon1218 Jul 29, 2024
571b94a
fix: CardRegist 페이지 스타일 수정
suyeon1218 Jul 29, 2024
609f822
fix: 아이콘 클릭 시 click 이벤트가 동작하지 않는 문제 수정
suyeon1218 Jul 29, 2024
bbadf02
refactoring: Slide와 Card 분리하기
suyeon1218 Jul 29, 2024
b60aa55
fix: 필요한 Card 컴포넌트에만 overflow 적용하기
suyeon1218 Jul 29, 2024
b3e1566
feat: Slide 스토리북 연결
suyeon1218 Jul 29, 2024
60d3dbd
refactoring: AddCreditCard 컴포넌트 내보내기 추가하기
suyeon1218 Jul 29, 2024
703e496
feat: AddCreditCard 컴포넌트 스토리북에 등록하기
suyeon1218 Jul 29, 2024
1b428e3
feat: 카드 번호 사이에 '-' 기호 추가하기
suyeon1218 Jul 30, 2024
b1ea499
faat: 만료일의 최소 날을 설정하기
suyeon1218 Jul 30, 2024
25fd04c
feat: 유저 이름의 최대 길이를 30자로 변경
suyeon1218 Jul 30, 2024
a55a21b
feat: 사용자 이름 입력시 현재 상태를 위에 보여주기
suyeon1218 Jul 30, 2024
af23521
feat: 카드 별칭 등록시 placeholder 수정
suyeon1218 Jul 30, 2024
ad6de8e
feat: 별칭이 없는 경우 카드 이름으로 별칭 등록하기
suyeon1218 Jul 30, 2024
31135cf
feat: 카드 별칭 길이 10자로 제한하기
suyeon1218 Jul 30, 2024
eaa86ac
style: 모달 크기 키우기
suyeon1218 Jul 30, 2024
aac15b3
style: Payments 카드에서 Footer 와 Body 사이 간격주기
suyeon1218 Jul 30, 2024
7b3d2c6
style: CardList 페이지 Header 폰트 크기 키우기
suyeon1218 Jul 30, 2024
8d7bef3
fix: cardUser의 초기값이 undefined 여서 길이를 가져오지 못하는 문제 수정
suyeon1218 Jul 30, 2024
da9f8da
chore: 불필요한 테스트 파일 삭제
suyeon1218 Jul 30, 2024
db767ab
feat: 유효성 검사 로직 분리하기
suyeon1218 Jul 30, 2024
3529b28
feat: form 제출 전 전체 값 검사하는 기능 구현
suyeon1218 Jul 30, 2024
5087e7d
chore: createValidator 파일 삭제
suyeon1218 Jul 30, 2024
543a691
feat: cardRegistFormValidate 유효성 검사 테스트 코드 작성
suyeon1218 Jul 30, 2024
388c4ec
feat: generateID 유틸함수 테스트 작성
suyeon1218 Jul 30, 2024
29432c0
feat: suffle 유틸 함수에 대한 테스트 작성
suyeon1218 Jul 30, 2024
3f123c9
feat: useModal 훅 테스트 케이스 작성
suyeon1218 Jul 30, 2024
153bda1
fix: CardColor 에러 수정
suyeon1218 Aug 2, 2024
dbe3365
fix: suffle 메서드 타입 수정
suyeon1218 Aug 2, 2024
c97834d
fix: suffle에 제네릭 전달하기
suyeon1218 Aug 2, 2024
da74096
fix: TypeError 해결
suyeon1218 Aug 2, 2024
823bd2c
refactoring: App.tsx 파일과 관련한 파일의 폴더 구조 수정
suyeon1218 Aug 7, 2024
783f4e9
refactoring: 변경된 App 파일로 폴더 경로 변경
suyeon1218 Aug 7, 2024
42ffe73
chore: 기존 스토리북 삭제
suyeon1218 Aug 7, 2024
bf87a4e
feat: Button 컴포넌트 구현
suyeon1218 Aug 7, 2024
581e31b
refactoring: util 함수 shared 폴더로 이동하기
suyeon1218 Aug 7, 2024
5a1dddd
feat: Card 컴포넌트 구현
suyeon1218 Aug 7, 2024
d31c806
feat: Field 컴포넌트 구현하기
suyeon1218 Aug 7, 2024
7984e11
refactoring: import 문 합치기
suyeon1218 Aug 8, 2024
51ebc38
feat: Input 기능 확장하기
suyeon1218 Aug 8, 2024
fc97805
feat: Keypad 컴포넌트 구현하기
suyeon1218 Aug 9, 2024
9156792
refactoring: GoogleIcon 상수 분리하기
suyeon1218 Aug 9, 2024
37b28f5
feat: GoogleIcon 컴포넌트 구현하기
suyeon1218 Aug 9, 2024
997b53f
feat: Box Layout 구현하기
suyeon1218 Aug 9, 2024
f7bc7b8
refactoring: GoogleIcon 스토리북 컨벤션 수정
suyeon1218 Aug 9, 2024
daf0cce
refactoring: Box 를 layout 폴더에서 ui 폴더로 이동
suyeon1218 Aug 9, 2024
e59e9d8
refactoring: 새로 변경한 theme 로 stotybook 적용하기
suyeon1218 Aug 9, 2024
0249128
style: Button 컴포넌트의 기본 스타일을 Emotion 으로 옮기기
suyeon1218 Aug 9, 2024
5cbc9ce
refactoring: useModal 테스트 파일을 useDisclosure 로 변경
suyeon1218 Aug 9, 2024
42c46c2
fix: 사용하지 않는 storybook dependencies 삭제하기
suyeon1218 Aug 9, 2024
a467f3e
refactoring: 기존 useModal 삭제하기
suyeon1218 Aug 9, 2024
51e8497
refactoring: 기존 theme 삭제하기
suyeon1218 Aug 9, 2024
12c64c0
feat: googleIcon 에 닫기 아이콘 추가
suyeon1218 Aug 9, 2024
b900bc3
feat: Modal 컴포넌트 구현
suyeon1218 Aug 9, 2024
4a0ff83
refactoring: Modal Root 타입을 contextValue 타입으로 확장하기
suyeon1218 Aug 9, 2024
237490d
chore: Modal 스타일 컴포넌트 이름 알맞게 수정
suyeon1218 Aug 12, 2024
459127d
style: Modal.Header 폰트 사이즈 증가
suyeon1218 Aug 12, 2024
4a49709
feat: Drawer 컴포넌트 구현
suyeon1218 Aug 12, 2024
27877b9
refactoring: PropsWithChildren 타입 삭제
suyeon1218 Aug 12, 2024
6ddc937
refactoring: Keypad 컴포넌트 리팩토링
suyeon1218 Aug 12, 2024
3325cc7
refactoring: Label 컴포넌트 스타일 분리하기
suyeon1218 Aug 12, 2024
64da41c
refactoring: Card 컴포넌트 스타일파일 분리하기
suyeon1218 Aug 12, 2024
dc7ba3a
refactoring: Box 컴포넌트 스타일 파일 분리하기
suyeon1218 Aug 12, 2024
6e01d57
refactoring: 리팩토링한 컴포넌트 삭제하기
suyeon1218 Aug 12, 2024
ce3dd8e
refactoring: 불필요한 라우팅 삭제
suyeon1218 Aug 12, 2024
5ccb2aa
chore: 변경된 상수 키 테마 컬러에 적용하기
suyeon1218 Aug 12, 2024
c8e8b9a
refactoring: CreditCard 리팩토링
suyeon1218 Aug 12, 2024
94d33d6
style: CreditCard 의 폰트 크기가 변하지 않는 문제 수정
suyeon1218 Aug 12, 2024
ad08c53
feat: CompanyItem 구현하기
suyeon1218 Aug 12, 2024
57a2a51
refactoring: CardSelctor 컴포넌트 리팩토링 하기
suyeon1218 Aug 12, 2024
6b3c011
feat: 공통 Header ui 구현
suyeon1218 Aug 12, 2024
8dd9740
style: 기본 Field 스타일 변경
suyeon1218 Aug 13, 2024
af39f37
chore: shared 폴더의 ui 모듈 외부로 내보내기
suyeon1218 Aug 13, 2024
c7681b4
feat: Field 컴포넌트의 InputWrapper 컴포넌트 구현
suyeon1218 Aug 13, 2024
1f2fa5e
feat: Input이 styleType을 받도록 기능 추가
suyeon1218 Aug 13, 2024
8a51dc1
chore: InputWrapper 내보내기 추가
suyeon1218 Aug 13, 2024
7673956
feat: CardUserField 컴포넌트 구현
suyeon1218 Aug 13, 2024
da21606
chore: 기본 Header 컴포넌트 파일 삭제
suyeon1218 Aug 13, 2024
b5b4b98
refactoring: CardList Header 컴포넌트 리팩토링
suyeon1218 Aug 13, 2024
7d46a42
chore: features 폴더에서 내보내기 설정하기
suyeon1218 Aug 13, 2024
015d7b9
feat: Field.ErrorText 에 에러 값 설정하기
suyeon1218 Aug 13, 2024
bf90b92
refactoring: feature 하위 폴더 이름 변경
suyeon1218 Aug 13, 2024
047c8ee
feat: CreditCard의 크기를 선택적으로 받도록 하기
suyeon1218 Aug 13, 2024
70393cd
chore: cardAlias 타입을 alias 로 변경
suyeon1218 Aug 14, 2024
42f3958
chore: 이전 파일 위치 변경
suyeon1218 Aug 14, 2024
1e4e958
feat: Page 공용으로 쓰는 Layout 컴포넌트 구현
suyeon1218 Aug 14, 2024
8e38b2f
feat: AddCard 컴포넌트 구현하기
suyeon1218 Aug 14, 2024
7c70a2a
feat: CardList 페이지 AddCard widget 구현
suyeon1218 Aug 14, 2024
0128dcc
feat: CardList 페이지 RegistedCards 위젯 구현
suyeon1218 Aug 14, 2024
40d8daa
refactoring: CardList 페이지 리팩토링
suyeon1218 Aug 14, 2024
a12d9c7
refactoring: CardRegist 페이지의 Header 리팩토링
suyeon1218 Aug 16, 2024
d5279ae
fix: GoogleIcon 에서 key값을 받아 아이콘 출력하기
suyeon1218 Aug 16, 2024
9d43fec
feat: Widgets 에 공통 레이아웃 정의하기
suyeon1218 Aug 16, 2024
cd4385f
refactoring: 이전에 사용하던 파일 삭제
suyeon1218 Aug 16, 2024
1d08212
refactoring: CardRegist 페이지 Header UI 구현
suyeon1218 Aug 16, 2024
8aff91c
refactoring: widgets 에 있던 컴포넌트를 ui 폴더에서 관리하기
suyeon1218 Aug 16, 2024
6d40549
feat: Layout에 Modal 기능 추가하기
suyeon1218 Aug 16, 2024
2a3c040
fix: CardList 페이지 헤더가 나타나지 않는 문제 수정
suyeon1218 Aug 17, 2024
743a344
refactoring: 불필요한 프로퍼티 삭제
suyeon1218 Aug 17, 2024
d5a7ab8
refactoring: ManageCard 페이지 리팩토링
suyeon1218 Aug 17, 2024
0b91546
feat: CardRegist 페이지 Header ui 구현하기
suyeon1218 Aug 17, 2024
beb0400
feat: Card 상태띄워주는 ui 구현
suyeon1218 Aug 17, 2024
5d4f21f
refactoring: entities 폴더에서 ui 슬라이스 내보내기
suyeon1218 Aug 17, 2024
279c7d9
refactoring: 유효성 검사 로직 features 로 이동하기
suyeon1218 Aug 18, 2024
baea3d9
feat: CompanyField 구현하기
suyeon1218 Aug 18, 2024
c93977c
feat: CompanyUserField 구현하기
suyeon1218 Aug 18, 2024
d499cd9
chore: 유효성 검사 파일 경로 수정하기
suyeon1218 Aug 18, 2024
a517745
style: Field 너비 넓히기
suyeon1218 Aug 18, 2024
047989d
feat: 현재 카드 소유자 문자열 길이 표시하기
suyeon1218 Aug 18, 2024
70b498a
chore: 사용하지 않는 파일 삭제하기
suyeon1218 Aug 18, 2024
5048545
feat: Input 필드 uncontrolled로 관리하기
suyeon1218 Aug 19, 2024
9eb08d4
feat: NumberField 다음 Input으로 자동 포커스 하기
suyeon1218 Aug 19, 2024
ef454ab
fix: Number Field 유효성 검사 안 하는 문제 수정하기
suyeon1218 Aug 19, 2024
a13d80d
feat: 숫자만 입력받을 수 있도록 하기
suyeon1218 Aug 19, 2024
ae63c6e
fix: 유효성 검사가 제대로 안이뤄지는 문제 수정
suyeon1218 Aug 19, 2024
1a17945
feat: 카드 소유자 필드 Controller 로 관리하기
suyeon1218 Aug 19, 2024
54dea86
feat: CVCField 컴포넌트 구현하기
suyeon1218 Aug 19, 2024
1563a34
feat: PassswordField 구현하기
suyeon1218 Aug 19, 2024
6053291
feat: ExpirationDateField 컴포넌트 구현
suyeon1218 Aug 19, 2024
5faea81
feat: CompanyField 를 react-hook-form 에 등록하기
suyeon1218 Aug 19, 2024
d1c119a
feat: form 다음 버튼 기능 추가
suyeon1218 Aug 19, 2024
249b16b
refactoring: 중복되는 CSSProperties 삭제하기
suyeon1218 Aug 19, 2024
03ddaec
refactoring: testCode 의 유닛함수 경로 변경
suyeon1218 Aug 19, 2024
2e6d159
chore: cardAlias 페이지 임시 삭제
suyeon1218 Aug 19, 2024
a34eb30
chore: 사용하지 않는 엘리먼트 스타일 삭제
suyeon1218 Aug 25, 2024
9645e6e
chore: eslint 파일에 prettier 적용
suyeon1218 Aug 25, 2024
d27c7bc
fix: onlyNumber Input에 숫자가 아닌 문자가 입력되는 문제 수정
suyeon1218 Aug 25, 2024
972efde
fix: 카드 회사 선택을 하지 않아도 다음 버튼이 나타나는 문제 수정
suyeon1218 Aug 26, 2024
920772a
chore: CardList -> ManageCard 로 이름 변경
suyeon1218 Aug 26, 2024
4bf4404
feat: CardAlias Header 컴포넌트 구현하기
suyeon1218 Aug 26, 2024
814b9c7
feat: Router 경로 수정
suyeon1218 Aug 26, 2024
61197ea
feat: 카드 등록 폼에서 별칭 폼으로 넘어갈 때 카드 추가 디스패치 호출하기
suyeon1218 Aug 27, 2024
6b3999c
feat: InputAlias 컴포넌트 구현하기
suyeon1218 Aug 27, 2024
7025d6b
feat: 카드 리스트에 카드 정보 보여주기
suyeon1218 Aug 27, 2024
ac1f0e4
feat: 카드 클릭시 카드 별칭 페이지로 이동하기
suyeon1218 Aug 27, 2024
ed76263
style: 카드 별칭 스타일 주기
suyeon1218 Aug 27, 2024
449fa66
feat: 카드 별칭에 기본 값 추가하기
suyeon1218 Aug 27, 2024
0d0e2cc
fix: 루트 경로로 진입할 시 잘못된 경로로 이동하던 문제 수정
suyeon1218 Sep 6, 2024
7c565f7
fix: CardRegist 페이지에서 뒤로 가기 경로 수정
suyeon1218 Sep 6, 2024
0cc0a71
fix: Input 의 onlyNumber 프로퍼티가 제대로 동작하지 않는 문제 수정
suyeon1218 Sep 6, 2024
739d127
fix: 만료일의 유효성 검사가 제대로 동작하지 않는 문제 수정
suyeon1218 Sep 6, 2024
b2a814a
fix: 카드사를 선택하지 않아도 다음버튼이 나타나는 문제 수정
suyeon1218 Sep 6, 2024
970ad5b
refactoring: Disclosure UI 사용법 변경하기
suyeon1218 Sep 6, 2024
dd6ecce
fix: Widget에서 Modal 사용방식 변경하기
suyeon1218 Sep 6, 2024
badbdbc
fix: page에서 사용하는 모달 창 사라지는 문제 수정하기
suyeon1218 Sep 12, 2024
06d286d
style: widget 페이지 모달 크기 수정하기
suyeon1218 Sep 12, 2024
cff53f5
style: 모달 overflow 설정
suyeon1218 Sep 12, 2024
acc4783
style: 커서 스타일 추가하기
suyeon1218 Sep 12, 2024
8654ef1
fix: Drawer 나타나지 않는 문제 수정
suyeon1218 Sep 12, 2024
690f231
chore: CSSProperties 프로퍼티 삭제
suyeon1218 Sep 12, 2024
8089156
style: 헤더에 content가 가려지는 문제 수정
suyeon1218 Sep 12, 2024
f50cd8d
fix: 카드 관리 페이지의 navigate 경로 수정
suyeon1218 Sep 12, 2024
6a73b71
chore: CompanyItem 스토리북 기본 값 추가하기
suyeon1218 Sep 13, 2024
a909f5f
fix: 변경된 스펙에 대해 테스트 수정하기
suyeon1218 Sep 13, 2024
66d4dea
chore: pnpm 대신 npm 사용해서 빌드하기
suyeon1218 Sep 13, 2024
4feaccb
Revert "chore: pnpm 대신 npm 사용해서 빌드하기"
suyeon1218 Sep 13, 2024
d2247ae
feat: chromatic 추가하기
suyeon1218 Sep 20, 2024
a32a2ae
chore: chromatic 워크 플로우 추가
suyeon1218 Sep 20, 2024
7e1ee36
fix: 제대로 된 워크플로우로 수정
suyeon1218 Sep 20, 2024
2ddd0eb
refactoring: 스토리북의 기본 컴포넌트 이름을 Default로 변경
suyeon1218 Sep 20, 2024
1798592
feat: stroybook accesiibility 및 test-runner 추가하기
suyeon1218 Sep 20, 2024
7f48d1b
feat: 사용자 접근성 테스트 통과시키기
suyeon1218 Sep 20, 2024
ce3a84d
feat: vercel ci/cd에 choromatic 의존성 주입하기
suyeon1218 Sep 25, 2024
d8c624e
feat: ignore 브랜치 수정
suyeon1218 Sep 25, 2024
c6b9e05
fix: Production CI/CD workflow로 변경하기
suyeon1218 Sep 25, 2024
0b78624
fix: 의존성 설정하기
suyeon1218 Sep 25, 2024
7e5aff3
fix: Unexpect Token 에러 수정
suyeon1218 Sep 25, 2024
46b8d66
fix: Deploy-Production 단계에 chromatic 의존성 추가하기
suyeon1218 Sep 25, 2024
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
24 changes: 22 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,34 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'plugin:prettier/recommended',
'plugin:storybook/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
plugins: ['react-refresh', 'import'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'import/order': [
'warn',
{
groups: ['builtin', 'external', ['parent', 'sibling'], 'index'],
pathGroups: [
{
pattern: 'react',
group: 'builtin',
position: 'before',
},
],
alphabetize: {
order: 'asc',
caseInsensitive: true,
},
'newlines-between': 'always',
},
],
},
}
};
63 changes: 63 additions & 0 deletions .github/workflows/deploy-with-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# .github/workflows/storybook-tests.yml

name: 'Vercel Deploy with Test'
on:
push:
branches:
- main
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
run: yarn build-storybook --quiet
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"
chromatic:
needs: test
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: npm ci
- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Deploy-Production:
needs: chromatic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Vercel CLI
run: npm install --global vercel@canary
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?

*storybook.log
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.15.1
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": true,
"singleQuote": true,
"arrowParens": "always",
"bracketSameLine": false,
"endOfLine": "lf",
"jsxSingleQuote": true,
"printWidth": 80,
"bracketSpacing": true,
"tabWidth": 2,
"quoteProps": "as-needed"
}
19 changes: 19 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
'@storybook/addon-onboarding',
'@storybook/addon-links',
'@storybook/addon-essentials',
'@chromatic-com/storybook',
'@storybook/addon-interactions',
'@storybook/addon-themes',
'@storybook/addon-a11y',
],
framework: {
name: '@storybook/react-vite',
options: {},
},
};
export default config;
11 changes: 11 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
/>
<link rel="stylesheet" href="../src/app/styles/global.css" />
13 changes: 13 additions & 0 deletions .storybook/preview.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { withThemeFromJSXProvider } from '@storybook/addon-themes';
import { ThemeProvider } from '@emotion/react';
import { theme } from '../src/app/styles';

export const decorators = [
withThemeFromJSXProvider({
themes: {
default: theme,
},
defaultTheme: 'default',
Provider: ThemeProvider,
}),
];
18 changes: 18 additions & 0 deletions .storybook/test-runner.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import type { TestRunnerConfig } from '@storybook/test-runner';
import { injectAxe, checkA11y } from 'axe-playwright';

const config: TestRunnerConfig = {
async preVisit(page) {
await injectAxe(page);
},
async postVisit(page) {
await checkA11y(page, '#storybook-root', {
detailedReport: true,
detailedReportOptions: {
html: true,
},
});
},
};

export default config;
12 changes: 11 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
<!doctype html>
<html lang="en">
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
/>
<title>React Clean Code Payments</title>
</head>
<body>
Expand Down
Loading