-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy: v 1.0.0 #108
Open
blcklamb
wants to merge
83
commits into
main
Choose a base branch
from
develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+17,920
−357
Open
deploy: v 1.0.0 #108
Changes from 1 commit
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
b64b943
feat: api 폴더 추가
yooveloper fde755f
Merge pull request #2 from pick-time/feature/create-dir
yooveloper 8991d4c
style: 전역 스타일 설정
blcklamb 4c924e3
Icon, List 공통 컴포넌트 작업 (#8)
blcklamb 17d42a7
feat : 공통컴포넌트_text_header (#11)
EllaSEON b7f24d1
Feature/init recoil,react query (#13)
yooveloper 4e6f21f
build: eslint, prettier 확장자 json으로 변경
yooveloper 86a18b5
feat: 선물 추가 기능 구현 (#15)
zwonkim a7e2eb0
Feature/공통 컴포넌트 Button, Input, Title 작업 (#14)
solar3070 6c6a817
style: 축하카드 만들기 컴포넌트 생성 (#18)
EllaSEON f7c159e
Feature/카카오톡 공유하기 기능 구현 (#23)
solar3070 c971ac7
feat: 인트로 페이지 구현 중 (#25)
yooveloper 5cda1b1
Feature/Button, Input 컴포넌트 스타일 수정 (#27)
solar3070 6ebd6ac
리스트 페이지 UI completed (#28) closes #9
blcklamb 0456155
fix: mockData import Fix
blcklamb bbff882
Feature/나만의 카드 만들기 (#30)
EllaSEON 0d7bca9
Feature/링크 복사하기 기능 구현 (#31)
solar3070 8d6cf55
Feature/url 유효성 검사, util 파일 분리 (#33)
zwonkim e15b854
Feature/intro provider (#34)
yooveloper 6024408
주는 사람 선물 확인 페이지 api (#35)
blcklamb 45c90b2
fix: 타입 수정 (#36)
zwonkim 202f6ca
Feature/주는 사람 완성 페이지 퍼블리싱 (#37)
solar3070 8772473
style : toggleBtn 구현 (#42)
EllaSEON da9a85b
SVG 추가, props case 수정 (#43)
blcklamb 84609e9
Feature/intro consumer (#39)
yooveloper d05f530
Feature/받는 사람 선물 고른 결과 페이지 퍼블리싱 (#44)
solar3070 713657e
Feature/나만의 카드만들기 기능 구현 (#46)
EllaSEON c894187
Feature/받는 사람 선물 고른 페이지 API (#47)
solar3070 cafad76
Feature/선택한 선물 api 코드 수정 (#48)
solar3070 549f0ed
Feature/상품 정보 수정 모달 (#50)
zwonkim 6941bf6
`GET /target/{targetId}`, `POST /target/{targetId}/` (#49)
blcklamb 37cde02
build: 웹팩 프록시 설정 추가 (#51)
yooveloper 82e0a7e
feat: 프록시 설정 및 Intro.tsx에 샘플 추가
yooveloper c4b095a
feat: 선물 고른 페이지 최종 API 연결 (#52)
solar3070 3fc4f30
feat: (#53)
yooveloper 2120cef
feat:
yooveloper 81044c3
Feature/consumer list api (#54)
blcklamb 70998ee
Feature/ProviderCard에 이미지 보이기 (#55)
EllaSEON 224f710
feat: exproess 서버 경로 배포 경로로 변경 및 로직 수정 (#56)
yooveloper 0101759
익스프레스 포트 엔드포인트 변경
yooveloper bcff365
5151포트 제거
yooveloper 69ef7a3
Feature/api error check (#57)
blcklamb ad659dd
액시오스 위드크레덴셜 추가
yooveloper e0cc80a
Feature/File 객체로 생성 (#58)
EllaSEON 18b5c7a
포트 5151 수정
yooveloper 35cc670
Feature/받는 사람 인트로 API 작업 (#60)
solar3070 e0a462a
Feature/api error check (#61)
blcklamb dbc81c6
Feature/카드 만들기 디자인 수정 (#62)
EllaSEON 1da1491
Feature/모달창 스타일링 수정, url 에러메시지 추가 (#64)
zwonkim 5d658a7
fix: List 관련 mock data 추가 (#66)
blcklamb fbb3b70
feat: 로딩 스피너 사용
solar3070 2f1f4a3
Feature/link detail (#65)
solar3070 aa996e6
Feature/List 스타일링 수정 (#67)
zwonkim 58b2cc0
fix: 카카오톡 공유하기 이미지 경로 수정 (#68)
solar3070 0712133
fix: 주는 사람 없을 시 디폴트 이름 익명으로 지정
yooveloper fbf583a
style: 인트로 이미지 가운데 정렬 (#70)
solar3070 f7a3c37
Feature/style list (#69)
blcklamb c9f9ac2
style: 메인 이미지 svg로 변경 (#71)
solar3070 91e8510
Feature/style change (#73)
solar3070 dbac9d7
docs: 최종 리드미 수정
yooveloper 0db47e5
docs: README 작성
yooveloper c62931b
Style/modal, giftList 컴포넌트 스타일 수정 (#79)
zwonkim 86f793b
Feature/Divider 공통 컴포넌트 (#80)
solar3070 8dcf72c
feat: 변경된 API path 반영 (#81)
solar3070 63eab94
Feature/coupon UI (#82)
blcklamb 5d9fb9c
fix: proxy 설정 (#83)
blcklamb c879b57
Feature/addGift API 연결 (#86)
zwonkim 3d9c5ba
불필요한 파일 삭제 (#88)
zwonkim 3bb87bb
Refactor/list component (#89)
blcklamb bf234af
fix: api endpoint 수정 (#91)
blcklamb ac86670
Feature/카카오 공유 버튼 추가 (#92)
solar3070 031fc72
선물 목록 불러오기, 선물 삭제 api 연결 (#93)
zwonkim 3b93dee
fix: withCredentials 없앰
yooveloper c3e8a23
Feature/editGiftItem 개별 선물 수정 api (#96)
zwonkim e4a6e46
Feature/consumer radio button (#97)
blcklamb 83a5bc9
Feature/주는 사람 Intro API 연결 (#100)
solar3070 131251f
받는 사람 페이지 미완성 컴포넌트 보강, 랜덤 선택 페이지 추가 (#103)
zwonkim 3dddd7f
resultType 분리, provider 타입 지정 (#104)
zwonkim a981382
랜덤 선물 페이지 예외처리 (#105)
zwonkim 576e2ac
Fix/provider 씬의 누락된 기능 추가 (#106)
blcklamb 540db56
Fix/copy link (#107)
blcklamb 8a3180c
style: header zindex (#109)
blcklamb d2497ac
Fix/style & docs (#110)
blcklamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix/provider 씬의 누락된 기능 추가 (#106)
* chore: mock data 삭제 * style: 쿠폰 만들기 버튼 중앙정렬 * style: dimmed 레이아웃 - 제대로 header가 가려지지 않고 상단에 빈틈이 생겨서 수정 - zIndex, height * feat: headerWithButton * fix: coupon create and post - put base64 URL into File object - remove list props in List.tsx * feat: api <postCoupon>, <updateTarget> - updateTarget api에서 request 형태를 바꿀 수 없어서 query에 coupon, gift list를 줄지어서 결합한 형태의 로직 추가 - axios로 되어 있던 부분 mutation으로 분리 완료 * fix: style attribute naming - cabab to camel * feat: 완료 플로우 연결 및 확인 페이지 완성 - provider가 데이터 작성 후 완료하는 플로우 연결 - 데이터 확인하는 페이지에서 쿠폰 render 추가 * fix: complie error via eslint
commit 576e2ac67e0f95b3573770af4b2064385d2b73f6
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import styled from "styled-components"; | ||
import Icon from "./Icon"; | ||
import COLOR from "style/color"; | ||
|
||
interface HeaderWithButtonProps { | ||
onClickBackBtn: () => void; | ||
onClickCompleteBtn?: () => void; | ||
completeBtnDisabled?: boolean; | ||
} | ||
|
||
const HeaderWithButton = ({ | ||
onClickBackBtn, | ||
onClickCompleteBtn, | ||
completeBtnDisabled, | ||
}: HeaderWithButtonProps) => { | ||
return ( | ||
<LogoWrapper> | ||
<IconButton onClick={onClickBackBtn}> | ||
<Icon name="left-arrow" width={24} height={24} /> | ||
</IconButton> | ||
<Icon name="logo-header" width={113} height={26} /> | ||
{onClickCompleteBtn && ( | ||
<CompleteButton | ||
onClick={onClickCompleteBtn} | ||
disabled={completeBtnDisabled} | ||
> | ||
완료 | ||
</CompleteButton> | ||
)} | ||
</LogoWrapper> | ||
); | ||
}; | ||
|
||
export default HeaderWithButton; | ||
|
||
const LogoWrapper = styled.header` | ||
display: flex; | ||
width: 68rem; | ||
align-items: center; | ||
justify-content: space-around; | ||
padding: 1rem 12rem; | ||
background: ${COLOR.WHITE}; | ||
z-index: 1; | ||
`; | ||
|
||
const IconButton = styled.button` | ||
all: unset; | ||
width: 5.4rem; | ||
`; | ||
|
||
const CompleteButton = styled.button` | ||
all: unset; | ||
|
||
padding: 0.7rem 1.4rem 0.8rem 1.4rem; | ||
display: inline-flex; | ||
align-items: flex-start; | ||
|
||
border-radius: 0.8rem; | ||
background-color: ${COLOR.PURPLE}; | ||
|
||
color: ${COLOR.WHITE}; | ||
font-size: 1.4rem; | ||
font-weight: bold; | ||
|
||
:disabled { | ||
background-color: #e9d7fe; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { postCouponItem } from "api/provider"; | ||
import { useMutation, useQueryClient } from "react-query"; | ||
|
||
const useCoupon = (targetId: number) => { | ||
const queryClient = useQueryClient(); | ||
const addCoupon = useMutation(postCouponItem, { | ||
onSuccess: () => queryClient.invalidateQueries(["gift", targetId]), | ||
}); | ||
return { addCoupon }; | ||
}; | ||
|
||
export default useCoupon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { postTarget } from "api/provider"; | ||
import { postTarget, updateTarget } from "api/provider"; | ||
import { useMutation } from "react-query"; | ||
|
||
export const usePostTarget = () => { | ||
return useMutation(postTarget); | ||
}; | ||
|
||
export const useUpdateTarget = () => { | ||
return useMutation(updateTarget); | ||
}; | ||
|
||
export default usePostTarget; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 🥺