-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: PetCard -> PetPlantCard 네이밍 변경 * chore: calendar URL 삭제 * chore: 모두의 정원 등록 페이지 URL 추가 * refactor: InlineRadio에서 UI 분리 기본적인 ui만 남기고 기능과 세부 ui를 분리하여 컴파운드 컴포넌트의 장점 살리기 * chore: JSX 안쓰는 tsx 파일 ts로 변경 * feat: 게시글 등록 api 로직 * feat: 게시글 등록 msw * feat: 등록 양식 마크업 작성 * refactor: 식물 사전 상세 디자인 깨짐 수정 * fix: Element type is invalid 오류 해결 * test: 사전 식물 상세 스토리북 수정 * design: Inline Radio Option 디자인 수정 * feat: 양식 디자인 및 기본 기능 * feat: 라우터 설정 * feat: 반려 식물 선택 페이지 * feat: 세션 검증 및 디자인 수정 * refactor: 불필요한 async 삭제 * feat: 서버 통신 로직과 결합 * feat: 식물 삭제 버튼 위치 변경 반려 식물 정보 수정 페이지로 이동 * feat: 모두의 정원 등록 버튼 * refactor: 등록 성공 후 목록으로 이동 * fix: 등록 버튼 가려지는 문제 해결 * design: '글쓰기'를 '기록하기'로 변경 * refactor: alt에서 불필요한 내용 삭제 * chore: 파일명 변경 유틸리티 타입인 Pick과 이름이 혼동되지 않게끔 변경 * feat: 난이도를 선택하지 않았으면 게시글에 노출 안함 * feat: 양식 제출 검사 및 내용 입력 필수 - 백엔드와의 원만한 협의하에 결정되었습니다. - 기록의 공유라는 컨셉을 살리기 위해선 기록이 필수라고 생각했어요. * refactor: 절대경로 사용 * feat: 반려식물 요약 프로필 자세하게 변경 * feat: 반려 식물 정보 수정 취소 시 뒤로가기 * feat: 반려 식물 삭제 버튼 롤백 * design: 정보수정 링크 hover 색 변경 * design: 등록하기 -> 기록하기 변경 * fix: typo * feat: profile에 suspense 적용 --------- Co-authored-by: bassyu <[email protected]>
- Loading branch information
Showing
37 changed files
with
868 additions
and
100 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import type { GardenRegisterForm } from 'types/garden'; | ||
import { BASE_URL } from 'constants/index'; | ||
|
||
export const GARDEN_URL = `${BASE_URL}/garden`; | ||
|
||
const headers = { | ||
'Content-Type': 'application/json', | ||
}; | ||
|
||
const register = (form: GardenRegisterForm) => { | ||
return fetch(GARDEN_URL, { | ||
method: 'POST', | ||
headers, | ||
credentials: 'include', | ||
body: JSON.stringify(form), | ||
}); | ||
}; | ||
|
||
const GardenAPI = { | ||
register, | ||
}; | ||
|
||
export default GardenAPI; |
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
File renamed without changes.
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
16 changes: 2 additions & 14 deletions
16
frontend/src/components/@common/InlineRadio/ingredients/Main.tsx
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
5 changes: 5 additions & 0 deletions
5
frontend/src/components/dictionaryPlant/TagSwitch/TagSwitch.style.ts
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,5 @@ | ||
import { styled } from 'styled-components'; | ||
|
||
export const Padding = styled.span` | ||
padding: 3px 13px; | ||
`; |
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
Oops, something went wrong.