Skip to content
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

[박소현] week19 #556

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ed532f1
Chore: 리액트쿼리 라이브러리 설치 및 설정
ParkSohyunee Jan 12, 2024
fd9be93
Feat(Layout): 변경된 api로 유저데이터 연동
ParkSohyunee Jan 13, 2024
0179f98
Feat(FolderPage): 폴더페이지 api 변경 및 카테고리 dynamic 라우팅 추가
ParkSohyunee Jan 13, 2024
a5dc2aa
Feat(FolderPage): 선택된 폴더 페이지 추가
ParkSohyunee Jan 13, 2024
818580f
Feat(ShareContainer): 공유페이지 api 변경에 따른 로직, response 타입 수정
ParkSohyunee Jan 13, 2024
832c2b9
Feat(SignInForm): 로그인폼 api 변경
ParkSohyunee Jan 13, 2024
431cd77
Feat(SignUpForm): 회원가입폼 api 변경
ParkSohyunee Jan 13, 2024
ed85349
Refactor: 링크 검색 기능 필터링 로직 분리, 타입 추가
ParkSohyunee Jan 13, 2024
4475303
Feat(Layout): 네브바 프로필 api 연동, accessToken 여부에 따른 UI
ParkSohyunee Jan 13, 2024
753ba0f
Feat(SignUpForm): 회원가입 api 변경
ParkSohyunee Jan 14, 2024
4c02cae
Fix(SigninForm): 로그인 accessToken 로직 수정
ParkSohyunee Jan 14, 2024
aa679c2
Design(Header): 프로필 아바타 UI 수정
ParkSohyunee Jan 14, 2024
ddc9db1
Feat(AddFolders): 폴더 추가하기 기능 구현
ParkSohyunee Jan 14, 2024
fbadf32
Feat(AddLink): 링크 추가하기 기능 구현
ParkSohyunee Jan 14, 2024
f2ed2e7
Feat(DeleteFolder): 링크 삭제 기능 구현, 링크데이터 타입 수정
ParkSohyunee Jan 14, 2024
ecb98c7
Feat(DeleteFolder): 폴더 삭제 기능 구현
ParkSohyunee Jan 14, 2024
0352c15
Fix(App): SWR로 설정 변경
ParkSohyunee Jan 14, 2024
6e3c4ca
Feat(EditFolder): 폴더이름 변경 기능 구현
ParkSohyunee Jan 14, 2024
dedab35
Fix: Response types 수정, 불필요한 types 제거
ParkSohyunee Jan 14, 2024
f83202e
Style: 주석, console.log 삭제
ParkSohyunee Jan 14, 2024
cb60c95
Chore: 사용하지 않는 api 파일 삭제
ParkSohyunee Jan 14, 2024
8329902
Feat(CardItem): 카드 이미지 에러일때 UI 로직 적용
ParkSohyunee Jan 15, 2024
5bfbe18
Feat: 스토리북 실습
ParkSohyunee Jan 17, 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
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "next/core-web-vitals",
"extends": [
"next/core-web-vitals",
"plugin:storybook/recommended"
],
"rules": {
"react/display-name": "off"
}
Expand Down
20 changes: 20 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { StorybookConfig } from "@storybook/nextjs";

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-links",
Comment on lines +1 to +6
Copy link
Collaborator Author

@ParkSohyunee ParkSohyunee Jan 17, 2024

Choose a reason for hiding this comment

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

@kimjngyun

📌 멘토님, 이번주 스토리북 수강하면서 실습을 과제에서 하느라 요구사항 외 코드가 추가되었는데요,
이와 관련된 .storybook폴더 / components/story 폴더, src/stories 폴더는 스토리북 공부한 코드입니다!(리뷰x)
참고 부탁드립니다. 😆

"@storybook/addon-essentials",
"@storybook/addon-onboarding",
"@storybook/addon-interactions",
"@storybook/addon-themes",
],
framework: {
name: "@storybook/nextjs",
options: {},
},
docs: {
autodocs: "tag",
},
};
export default config;
36 changes: 36 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import type { Preview } from "@storybook/react";
// import { withThemeFromJSXProvider } from "@storybook/addon-themes";
// import GlobalStyles from "../styles/GlobalStyle";

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
// parameters 내 모든 컴포넌트에 공통적으로 적용할 툴바 조정하기
backgrounds: {
values: [
{
name: "blue",
value: "blue",
},
{
name: "pink",
value: "pink",
},
],
},
},
};

export default preview;

// export const decorators = [
// withThemeFromJSXProvider({
// GlobalStyles,
// }),
// ];
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ const nextConfig = {
protocol: "https",
hostname: "codeit-images.codeit.com",
},
{
protocol: "https",
hostname: "cloudflare-ipfs.com",
},
{
protocol: "https",
hostname: "*",
},
],
},
compiler: {
Expand Down
Loading