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

config(next-swc): emotion css prop / swc minify 설정 #129

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

manudeli
Copy link
Collaborator

@manudeli manudeli commented Aug 25, 2022

ISSUES CLOSED: #128

Next.js의 SWC에서 emotion css prop / swc minify 설정

🔗 참고 링크

emotion-js/emotion#2467 (comment)

.swrrc

{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "tsx": true
    },
    "transform": {
      "react": {
        "runtime": "automatic",
        "refresh": true,
        "importSource": "@emotion/react"
      }
    }
  }
}

next.config.js

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  webpack: (config) => {
    config.module.rules.push({
      test: /\.svg$/,
      use: ["@svgr/webpack"],
    });

    return config;
  },
  swcMinify: true, // <- swcMinify 추가
};

module.exports = nextConfig;

tsconfig.json

{
  "compilerOptions": {
    "target": "es5",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "jsxImportSource": "@emotion/react", // <- 추가
    "incremental": true,
    "baseUrl": ".",
    "paths": {
      "~/*": ["./*"]
    }
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"],
  "exclude": ["node_modules"]
}

@manudeli manudeli added the feat New feature or request label Aug 25, 2022
@manudeli manudeli self-assigned this Aug 25, 2022
@manudeli manudeli changed the title config(next-swc): emotion css prop 설정 config(next-swc): emotion css prop / minify 설정 Aug 25, 2022
Copy link
Member

@swimjiy swimjiy left a comment

Choose a reason for hiding this comment

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

LGTM!👍

@manudeli manudeli changed the title config(next-swc): emotion css prop / minify 설정 config(next-swc): emotion css prop / swc minify 설정 Aug 25, 2022
@manudeli manudeli merged commit 30695a0 into develop Aug 25, 2022
@manudeli manudeli deleted the config/#128-emotion-css-prop_next-swc branch August 25, 2022 14:17
manudeli added a commit that referenced this pull request Aug 25, 2022
* config(theme): add emotion as dependancies of app

* feat(components/uis): add Spacer

* chore(dependancies): add framer-motion

* config(template): add github issue, PR template

* config(CODEOWNERS): 자동 리뷰어 설정 추가 (#8)

* config(CODEOWNERS): 자동 리뷰어 설정 추가

ISSUES CLOSED: #7

* config(CODEOWNERS): 모든 파일에 적용하도록 수정

ISSUES CLOSED: #7

* config(CODEOWNERS): @kor-Chipmunk 리뷰어 추가

#7

* chore(package.json): `@stomp/stompjs` & `sockjs-client` 패키지 추가 (#6)

* feat(pages): 페이지 컴포넌트 추가

* config(eslint): import/order 설정 추가

* chore(player): add test player

* config(package.json): recoil, react-query 설치

* chore(testing): setup jest, testing library (#10)

* chore(testing): install packages for testing

* feat(jest): set jest environment and add sample code

* fix(jest): rename main page

ISSUES CLOSED: #5

* ci(CI): `yarn test:CI` 실행하는 워크플로우 스크립트 추가 (#12)

* ci(CI): `yarn test` 실행하는 워크플로우 스크립트 추가

ISSUES CLOSED: #11

* ci(ci.yml): `yarn test:ci` 명령어로 변경

* ci(ci.yml): ci(ci.yml): `--updateSnapshot` 추가

ISSUES CLOSED: #11

* ci(ci.yml): 모든 브랜치에서 PR 요청 시 실행하도록 수정 (#13)

ISSUES CLOSED: #11

* CODEOWNER 파일 삭제하고 �랜덤 리뷰어 설정합니다. ( 기타: 워크플로우 Job 이름 수정, 버그리포트 양식 추가) (#14)

* config(.github): 랜덤 리뷰어 설정 파일과 워크플로우 파일 작성

ISSUES CLOSED: #7

* chore(ci.yml): job 이름을 test 에서 ci-test 으로 변경

ISSUES CLOSED: #7

* config(CODEOWNERS): 모든 리뷰어를 추가하는 CODEOWNERS 파일 삭제

ISSUES CLOSED: #7

* config(bug_report.md): 버그 리포트 양식 추가

* config(package.json): react-lottie-player 의존성 설치

* chore(lottie): dummy lottie emoji 추가

* feat(Slider.tsx): ui 컴포넌트 추가

* fix(Spacer.tsx): framer-motion 속성 추가 / 불필요한 depth 제거

* feat(LottieEmojiSlider.tsx): domain 컴포넌트 추가 / 예시안 필요한 route에 추가

ISSUES CLOSED: feat: 이모지 슬라이더 추가 #15

* feat(QRCode): react-qr-code 패키지 설치 & 예시 페이지 작성 (#18)

* feat(QRCode): react-qr-code 패키지 설치 & 예시 컴포넌트 작성

ISSUES CLOSED: #4

* fix(index.tsx): 테스트 태그 제거

ISSUES CLOSED: #4

* test(RoomQRPage): data-testid 추가 & QR 코드 주변 흰 배경 있는지, QR 코드가 나타나는지 테스트 케이스 추가

* config(.cz-config.js): 커밋 타입 중 `test` 타입 추가

* fix(LottieSlider): 두번째 열었을때 초기화 문제 해결 / customHandle을 외부에서 만들어서 사용할 수 있도록 수정

ISSUES CLOSED: #19

* chore(package.json): axios 의존성 추가

* feat(player): add react-youtube test page (#2)

* feat(player): add react-youtube test page

ISSUES CLOSED: #2

* feat(player): resolving mobile issues

Co-authored-by: Jonghyeon Ko <manu.k@kakaocorp.com>

Co-authored-by: Jonghyeon Ko <manu.k@kakaocorp.com>

* feat(pages/login): 카카오 인가코드로 우리 서비스 토큰 받아오고 내정보 조회 추가 (#23)

* feat(pages/login): 카카오 인가코드로 우리 서비스 토큰 받아오고 내정보 조회 추가

ISSUES CLOSED: #17

* fix(pages/login/redirected): head 태그 제거

ISSUES CLOSED: #24

* remove(pacakage-lock.json): yarn으로 작업중이기 때문에 불필요한 파일 제거

* 로고 포함된 QR 코드 컴포넌트 추가 (#31)

* chore(package.json): 기존 `react-qr-code` 패키지 삭제 & `react-qrcode-log` 패키지 설치

ISSUES CLOSED: #30

* feat(QRCodeWithLogo): 로고 들어간 QR 코드 컴포넌트 추가

ISSUES CLOSED: #30

* refactor(qr/index.ts): qR코드 컴포넌트로 분리

ISSUES CLOSED: #30

* feat(QRCodeWithLogo): url props 추가 & 매직넘버 상수 처리

ISSUES CLOSED: #30

* fix(RoomQRPage): fix: invite 주소로 연결되도록 수정

ISSUES CLOSED: #30

* test(qr): qR 테스트 삭제

ISSUES CLOSED: #30

* 방 메인 페이지 작업 (#32)

* feat(room): add room main page

* feat(room): 방 메인화면 컨테이너 추가

* feat(room): add Add-Song-Screen to room main page

* feat(topbar): add topbar component

ISSUES CLOSED: #5
ISSUES CLOSED: #3
ISSUES CLOSED: #3
ISSUES CLOSED: #29
ISSUES CLOSED:
#29
ISSUES
CLOSED: #29
ISSUES CLOSED: #29

ISSUES CLOSED: #29

* feat(layout): add width property to layout style

ISSUES CLOSED: #5
ISSUES CLOSED: #3
ISSUES CLOSED: #3
ISSUES CLOSED: #29
ISSUES
CLOSED:
ISSUES
CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29

ISSUES CLOSED: #29

* feat(create room): add topbar to create room

ISSUES CLOSED: #5
ISSUES CLOSED: #3
ISSUES CLOSED: #3
ISSUES CLOSED:
#29
ISSUES
CLOSED:
ISSUES
CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29

ISSUES CLOSED: #29

* feat(playlist): 플레이리스트 화면 추가

* feat(thumbnail): 썸네일 화면 및 정지 기능 추가

* feat(create room): add create room ui

ISSUES CLOSED: #5
ISSUES CLOSED: #3
ISSUES CLOSED: #3
ISSUES CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#29
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29

ISSUES CLOSED: #29

Co-authored-by: jiyoung.lim <swimjiy@gmail.com>

* QRCode 공유하기 버튼 컴포넌트 추가합니다. (#35)

* feat(WebShareButton): 공유하기 버튼 작성

ISSUES CLOSED: #34

* chore(public/images): qR Code Logo 검은색 이미지로 수정

* feat(w): 공유하기 페이지 추가

* feat(invite): 탑바 추가

* fix(invite): 하단 이미지 수정

* feat(mood): add mood page

ISSUES CLOSED: #5
ISSUES CLOSED: #3
ISSUES CLOSED: #3
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED:
#29
ISSUES CLOSED: #29
ISSUES CLOSED: #29

ISSUES CLOSED: #29

* feat(heart): add heart image

ISSUES CLOSED: #5
ISSUES CLOSED: #3
ISSUES CLOSED:
#3
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES
CLOSED:
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29

ISSUES CLOSED: #29

* Member활용 (withRouteGaurd, MemberInfo) 기능 추가 (#27)

* feat(auth/member): aNONYMOUS, CONNECTED 상태 유저 로그인 비로그인 유저 토큰으로 조회

ISSUES CLOSED: #22

* fix(pages/login): 로그인 시 유저정보가 useLocalToken의 localToken이 변경되지 않아서 새 정보를 받아오지 않는 문제 해결

* feat(MemberInfoContext.tsx): 인증에 실패할 시 로그아웃하고 login 페이지로 push

* feat(withRouteGaurd): connected와 Anonymous로 페이지 별로 라우트 가드 hoc 추가

ISSUES CLOSED: #26

* fix(MainPage/test): 페이지 테스팅 테스트 제거

* refactor(memberInfo): 네이밍 명확히

* fix(withRouteGuard.tsx): 네이밍 오타 수정, option -> access 각 페이지에서 accountConnectType에 따라 설정하도록 변경

* fix(useAuthMember.ts): null일 수 있는 상황에 null 수정

* fix(react-query + axios): data.data 제거

ISSUES CLOSED: #39

* fix(MemberInfo): provider의 Children은 항상 member을 fetch isSuccess 상황에만 무조건 받아 온 것이므로 null 타입 제거

* fix(pages/login/redirected): 로그인 성공시 카카오 인가코드로 한번만 서비스 토큰을 받아오게 해서 불필요한 요청 제거

* remove(package-lock.json): yarn을 사용하기 때문에 package-lock.json 제거

* fix(useLocalStorage.ts): 서버사이드에서 localStoage 접근할 수 없을 때 console.error 띄우지 않게 처리

* docs(README.md): 배포상태, 연관 레포지토리 추가

* feature(socket-test): implement web socket logic for test (#33)

* chore(package): add sockjs type dependency

ISSUES CLOSED: #5

ISSUES CLOSED: #3

* feat(web socket): add socket page for test

ISSUES CLOSED: #5
ISSUES CLOSED: #3

ISSUES CLOSED: #3

* feat(socket test): remove I prefix from inerface

ISSUES CLOSED: #5
ISSUES CLOSED:
#3
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #29
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED: #29
ISSUES CLOSED:
#29
ISSUES CLOSED: #3

ISSUES CLOSED: #3

* fix(custom): yarn.lock

fix yarn.lock conflict

ISSUES CLOSED: #3

* feat(typingText.tsx): 타이핑 애니메이션 텍스트 컴포넌트 추가 (#42)

* feat(typingText.tsx): 타이핑 애니메이션 텍스트 컴포넌트 추가

ISSUES CLOSED: #41

* fix(TypingText.tsx): interface 변경 및 한개 만의 텍스트가 있는 경우 애니메이션 오류 해결

ISSUES CLOSED: #48

* feat(TypingText.tsx): onTap시 이벤트 핸들링 기능 추가

ISSUES CLOSED: #45

* feat(style): apply reset style and fonts (#46)

* feat(custom): update css reset style

fix yarn.lock conflict
ISSUES CLOSED: #3

ISSUES CLOSED: #36

* feat(custom): remove unnecessary margin, padding style

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36

ISSUES CLOSED: #36

* feat(custom): remove unused css file

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES CLOSED: #36

ISSUES CLOSED: #36

* feat(custom): apply fonts

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED: #36

ISSUES CLOSED: #36

* feat(custom): change global font-family style

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED:
#36
ISSUES CLOSED: #36

ISSUES CLOSED: #36

* fix(custom): set button,input,select padding to 0

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED:
ISSUES
CLOSED: #36
ISSUES CLOSED: #36

ISSUES CLOSED: #36

* feat(thumbnail): next 서버에서  썸네일 대표색상 추출하는 기능 추가 (#44)

* feat(thumbnail): next 서버에서  썸네일 대표색상 추출하는 기능 추가

서버사이드에서 썸네일 추출 기능 추가
 재생중 화면 기능 추가

* refactor(thumbnail): 컨벤션 관련 리뷰사항 반영

* refactor(thumbnail): 컨벤션 관련 리뷰사항 반영2

* feat(LongPress.tsx): 롱프레스시 취소 가능한 컴포넌트 트리거 제작 (#53)

* feat(LongPressCancelable.tsx): 롱프레스시 취소 가능한 컴포넌트 트리거 제작

ISSUES CLOSED: #38

* fix(LongPress): longPress -> LongPressCancelable 로 좀 더 범용적인 확장 상황을 고려한 interface로 변경

* chore(useLongPress.ts): 불필요한 주석 제거

* feat: 플레이리스트 순서변경 기능 추가 / 메인화면 개선 / 곡 추가하기 (#70)

* feat(add-music): 유튜브 URL 에서 ID 추출하는 기능 개선 작업

* feat(rooms): 방 메인화면 기능, 디자인 추가

* feat(custom): 플레이리스트 순서 변경 기능 추가

- react-dnd 패키지 추가
 - 재생중인 곡에 대한 상태  저장방식 변경 (index -\> id)

ISSUES CLOSED: #69

* fix(custom): react-dnd 모바일   대응 외 리뷰 수정사항 반영

* fix(custom): 리뷰 수정사항 반영

* feat: api 연동 프로세스 정립 및 recoil, react-query 셋업  (#68)

* feat(custom): 기본 react-query 설정 세팅 및 useMember 훅 추가

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES
CLOSED:
ISSUES
CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED: #36

ISSUES CLOSED: #50

* feat(custom): recoil 기본 디렉토리 구조 셋업

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES CLOSED:
#36
ISSUES
CLOSED:
ISSUES
CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED: #50

ISSUES CLOSED: #50

* feat(custom): api index.ts 추가

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED: #36
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED:
#50
ISSUES CLOSED: #50

ISSUES CLOSED: #50

* feat(custom): api core 로직 일부 수정

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED:
#36
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #36
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES
CLOSED:
ISSUES CLOSED: #50
ISSUES CLOSED: #50

ISSUES CLOSED: #50

* feat(custom): tokenKey를 handleRequest 안으로 이동

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#36
ISSUES CLOSED: #36
ISSUES CLOSED: #36
ISSUES
CLOSED:
ISSUES CLOSED: #50
ISSUES CLOSED:
#50
ISSUES CLOSED: #50

ISSUES CLOSED: #50

* feat(custom): add use put mutation, refactor react-query logic

fix yarn.lock conflict
ISSUES CLOSED: #3
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #36
ISSUES CLOSED:
#36
ISSUES
CLOSED:
ISSUES CLOSED: #50
ISSUES CLOSED:
ISSUES CLOSED: #50
ISSUES CLOSED: #50

ISSUES CLOSED: #50

* feat(custom): react query devtool 설정

fix yarn.lock conflict
ISSUES CLOSED:
#3
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #36
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #50
ISSUES CLOSED:
ISSUES CLOSED: #50
ISSUES CLOSED:
#50
ISSUES CLOSED: #50

ISSUES CLOSED: #64

* feat: Change HTTP_ERROR, HTTP_METHOD type as const

Co-authored-by: Jonghyeon Ko <manu.k@kakaocorp.com>

* feat: tokenKey를 함수 외부로 이동

Co-authored-by: Jonghyeon Ko <manu.k@kakaocorp.com>

* feat(custom): request option 중 url을 첫 번째 파라미터로 받게끔 수정

ISSUES CLOSED: #50

* feat(custom): putMember의 파라미터 타입을 Member에서 활용

ISSUES CLOSED: #50

ISSUES CLOSED: #50

Co-authored-by: Jonghyeon Ko <manu.k@kakaocorp.com>

* fix(memberInfo): onlyMember 컴포넌트 제작 (#72)

ISSUES CLOSED: #63

* fix(cz-customizable): v6.9.1 부터 나타난 scope skip, ^v6.3.0 -> v6.9.0으로 제한 (#74)

* fix(cz-customizable): v6.9.1 부터 나타난 scope skip, ^v6.3.0 -> v6.9.0으로 제한
(cz-customizable에 이슈추가)

leoforfree/cz-customizable#201

ISSUES CLOSED: #73

* config(.cz-config.js): 한국어로 질문하도록 수정

* Update .cz-config.js

Co-authored-by: Jiyoung Lim <swimjiy@gmail.com>

Co-authored-by: Jiyoung Lim <swimjiy@gmail.com>

* feat(global.css): global.css 초기화 태그 추가 (#75)

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES CLOSED: #75

ISSUES CLOSED: #75

* fix(pages/login/redirected): memberInfo의 타입이 null일 수 있음을 MemberInfo.Only로 해결

* feat: 메인 인트로 UI / 로그인 UI 추가합니다 (#62)

* feat(custom): 메인 인트로 페이지 추가

* feat(custom): 메인 인트로 페이지 UI 작성

* feat(custom): 로그인 페이지 UI 작성

* feat(custom): 카카오 로그인 이미지 파일과 수정된 star.png 파일 추가

* fix(custom): \ 기본 텍스트 삭제

* fix(custom): login 스타일 코드 한 파일로 합침

* fix(custom): 카카오 로그인 버튼에 기본 스타일 추가

* refactor(custom): 로그인 페이지에 카카오 로그인 Style 코드 제거

* refactor(custom): 메인 페이지 Style 임포트 시 S 객체로 접근하도록 수정

* fix(custom): 카카오로그인 버튼 Width 100% 으로 수정

* fix(main, login pages): styled 컴포넌트명에 `Styled` 제거

* style(main/styled.tsx): font-family 속성 삭제

* fix(pages/main): build 에러 해결

* fix(create-mood): 무드 하트 이모지 추가, 이모지 이름 형식 통일 (#82)

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES CLOSED: #75
ISSUES CLOSED: #75

ISSUES CLOSED: #81

* 썸네일 추출 기능 추가 /  �방 페이지 Recoil 적용 (useRoomStore) (#76)

* feat(custom): next.js api route 활용하여 곡 추가시 썸네일 색상 추출하기

* refactor(custom): room 페이지 Recoil store 적용

* feat(pages/rooms/[roomId]): longPress을 아이콘 버튼에 적용 (#80)

* feat(pages/rooms/[roomId]): longPress를 적용해 롱프레스 이모지 api 연결 전 상태로 추가

ISSUES CLOSED: #79

* Update .cz-config.js

* feat: 플레이리스트에 곡 추가 기능 / 방장&손님일 경우 UI 처리 (#88)

* feat(custom): room
- 곡 추가시 상태관리 추가
- artist 데이터 삭제 및 duration 추가

* feat(room): 방장/손님일 경우 처리 추가

* feat(custom): iconButton 옆에 value 값 표시 UI 추가

value props를 통해 ValueCircle 렌더링 가능

* feat(room): 방 메인 화면 ContentWrapper 사이드에 있는 padding 무시하도록 수정

* refactor(custom): 코드 네이밍 및 컨벤션 관련 수정

* 방 생성하기 API 를 추가합니다. (#85)

* feat(types/rooms): `Type` & `Room` 타입 추가

* feat(api/rooms): 방 생성하기 & 방 조회하기 http 통신 로직 추가

* fix(pages/rooms/create/mood): mood 문자열값에서 객체값으로 변경

* feat(pages/rooms/create/mood): 방 생성 API 호출하는 로직 추가

* refactor(BottomButton): `onClick` 속성 없어도 만들 수 있도록 수정

`onClick` 이 필요 없는 상황일 때 `null` 을 반환하는 코드를 불필요하게 넣어야함

* fix(pages/rooms/create): `router.push` 대신 `Link` 컴포넌트로 쿼리스트링 전달하도록 수정

`router.push` 로 보낼 시 NextJS 디렉토리 구조에서 요구하는 쿼리스트링 기능을 사용하지 않아 `router.query` 가 빈 객체값 `{}` 으로 되는 버그가
있었음

* fix(pages/login): 최상단 `div` 태그로 인한 화면 높이 이슈 수정

* refactor(api/room): `number` 타입을 `Room[roomId]` 으로 변경

* refactor(pages/rooms/create/mood): mood 타입 추가 & Mood 타입으로 상수 객체 수정

* fix(BottomButton): `...props` 으로 `BottomButton` 수정

* feat(custom): 플레이리스트 삭제 기능 추가 (#91)

* feat(custom): 플레이리스트 삭제 기능 추가

* fix(playlist): 곡명이 길어질 경우 UI깨지는 문제 처리

* fix(custom): 빌드에러 처리

* refactor(pages): 불필요한 파일 정리

* feat(Spinner): 컴포넌트 추가

* feat(pages/transition): 멤버 정보 받아올 때 Spinner.FullPage로 자연스러운 트랜지션 효과 추가 및 Layout 최상단으로 올리기

* feat(emoji): 강약별로 크기가 다른 이모지 날리기 추가 (#94)

* fix(emoji): 이모지가 나오는 중에도 clickable 하게 수정 및 일관된 이모지 크기 (opacity로 depth 표현)

* UT 요구사항 작업 (#95)

* feat(guide): 곡 추가 시 가이드 화면 추가

* feat(room): url params 의 isHost 이용해서 방장, 손님 분기처리

* feat(playlist): 현재 재생중인 곡 타이틀 옆에 icon 추가

* feat(Routing): 방 생성 후 이동 / 뒤로 가기 라우팅 코드 추가 (#97)

ISSUES CLOSED: #96

* feat(custom): uT용 기본음악 세팅

* feat(script): 뷰저블 스크립트 추가

* Feat/#98 qr code flow (#99)

* style(RoomInvitePage): styled 컴포넌트들 하나의 객채로 묶음

* feat(TopBarIconButton): 아이콘명에 따라 라우팅 동작 다르게 설정

* feat(rooms): qRCodeCard 추가

* fix(RoomPage): `router.query` 에 타입 추가

* fix(RoomCreateMoodPage): 방 생성 시 지정된 URL 로 이동

* feat(Modal): 컴포넌트 고도화 (Portal, 비동기, 중첩) (#87)

* feat(Modal): portal사용해 Modal의 부모로부터 자유롭게 수정, 파일 분리, 테스트 페이지 추가

ISSUES CLOSED: #83

* feat(Modal): portalId 없이도 중첩 Modal 가능하도록 수정

* Update components/uis/Modal/context.ts

* fix(style): 모달 수정에 따른 스타일 오류 수정

* feat(room): 디자인 QA 사항 반영

* fix(custom): user test전 버그 수정

* feat: 무드 페이지 추가 (#101)

* feat(mood): 무드 변경 페이지 추가

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES CLOSED: #75
ISSUES CLOSED:
#75
ISSUES CLOSED: #81

* feat(mood): 무드 변경 페이지 추가

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES CLOSED: #75
ISSUES CLOSED:
ISSUES
CLOSED: #81

* feat(mood): 무드 페이지 게스트 화면 추가

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES CLOSED: #75
ISSUES
CLOSED:
ISSUES
CLOSED: #81

ISSUES CLOSED: #51

* fix(mood): 직접 입력 버튼 z-index 추가

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES CLOSED:
#75
ISSUES
CLOSED:
ISSUES
CLOSED: #81
ISSUES CLOSED: #51

ISSUES CLOSED: #51

* fix(mood): css 스타일 조정

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED: #75
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #81
ISSUES CLOSED: #51
ISSUES CLOSED: #51

ISSUES CLOSED: #51

* feat(mood): 무드 recoil state 추가 및 적용

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED:
#75
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #81
ISSUES CLOSED: #51
ISSUES CLOSED: #51
ISSUES
CLOSED: #51

ISSUES CLOSED: #51

* fix(mood): user test를 위한 현재 무드 force init, font color 스타일 수정

ISSUES CLOSED: #50
ISSUES CLOSED: #50
ISSUES CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#81
ISSUES CLOSED: #51
ISSUES CLOSED: #51
ISSUES
CLOSED: #51
ISSUES CLOSED: #51

* fix(mood): 빌드에러 처리, isHost 분기처리 반대로 변경

* fix(Layout): 불필요한 개별 레이아웃 컴포넌트 제거 및 기존 컴포넌트로 교체

* fix(Modal/Layout): 모달들의 기본 레이아웃에 알파 컬러를 props로 주입

* fix(Layout): background-color를 외부 컴포넌트(Background)로 역할을 옮기고 backdrop-filter로 모달겹치는 상황에 가시성 향상

* fix(AddNewMusic): 버튼들 정렬 스타일 수정

* fix(Topbar): 세부 스타일 조정

* fix(AddSongScreen): 마진 간격 너무 가까운 부분 수정

* feat(mood): 유저 테스트를 위한 무드 변경 알림 임시 추가

ISSUES CLOSED: #50
ISSUES CLOSED:
#50
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES CLOSED: #51
ISSUES
CLOSED:
ISSUES
CLOSED: #51
ISSUES CLOSED: #51
ISSUES CLOSED: #

* fix(invite): 버튼 잘리는 버그 해결

ISSUES CLOSED: #50
ISSUES CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #51
ISSUES
CLOSED:
ISSUES
CLOSED: #51
ISSUES CLOSED: #51
ISSUES CLOSED: #

* fix(pages/style): addSongScreen의 bottomButton 스타일 수정, 공통 컴포넌트의 불필요한 스타일 제거

* fix(styles): 페이지 스타일 변경

* fix(pages/login): 스타일 수정

* fix(emoji): 모션 시작점 끝점 수정

* fix(components/mood): 모달 스타일이 변경되며 무드 컴포넌트에서 깨지는 스타일 조정

ISSUES CLOSED: #50
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#51
ISSUES
CLOSED:
ISSUES
CLOSED: #51
ISSUES CLOSED: #51
ISSUES CLOSED: #

* fix(song-guide,playlist): 곡 추가 가이드, 플레이리스트에서 깨지는 스타일 수정

ISSUES CLOSED:
#50
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#51
ISSUES CLOSED: #51
ISSUES CLOSED: #

* feat(song-guide): 곡 추가 가이드 이미지 사이즈 최적화

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #51
ISSUES CLOSED: #

* feat(Toast): 커스텀 가능한 함수형 Toast 컴포넌트 추가 (#104)

* feat(Toast): 커스텀 가능한 함수형 Toast 컴포넌트 추가

ISSUES CLOSED: #103

* fix(Toast): show의 options를 optional하게 받도록 변경

* feat(Toast): status, delay 추가 및 libs/Toast안에 의존성 제거

* fix(libs/Toast/DefaultTemplate): 불필요한 button 제거

* docs(pages/test/toast): 토스트 설명을 위한 테스트 페이지 수정

* docs(Toast): 사용을 위한 예시 코드 수정

* Feature/#109 emoji modalize (#110)

* feat(emoji-modal): 이모지 롱프레스 모달화 및 애니메이션 추가

ISSUES CLOSED: #109

* feat(emoji): onTooLongPress에 이모지를 놓아 달라는 토스트 추가

* feat(libs/Toast): defaultOptions 추가 (#108)

* fix(emoji): 롱프레스 이후 나오는 element 수를 줄여 버벅임 줄이기

* fix(MemberInfo): 인증 정보 프로세스 에러 해결

* fix(user-select): 모든 곳의 텍스트 블록 제거

* feat(room): room 상세 정보 및 플레이리스트 받아오는 api작업

* fix(emoji): iOS 이미지 깨지는 에러 해결

* feat(invite): 초대장 페이지  api 로직 구현

* feat(web-socket): 웹소켓 코어 로직 구현 (#106)

* feat(web-socket): 웹소켓 코어 로직 구현

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#51
ISSUES CLOSED: #

ISSUES CLOSED: #105

* feat(web-socket): 웹소켓 콜백 타입 분리, 필요한 타입 정리

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #
ISSUES CLOSED: #105

ISSUES CLOSED: #105

* feat(web-socket): 웹소켓 provider를 room으로 이동, roomId를 parameter로 추가

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#
ISSUES CLOSED: #105
ISSUES CLOSED: #105

ISSUES CLOSED: #116

* feat(socket/useWebSocketPublish): publish 호출시에도 body를 주입할 수 있게 수정

* feat(emoji): 이모지 소켓 추가

* fix(room): roomId NaN 으로 나오는 문제 처리

* feat(Network): 네트워크 호출 ReactQuery 추가 (#117)

* feat(Network): 네트워크 호출 ReactQuery 추가

* refactor(index.ts): 각 폴더별 `index.ts` 추가

* refactor(TestReactQueryRecoilPage): `~/hooks/api` 을 임포트하도록 테스트 페이지 수정

* fix(api/playlist): playList 임포트 오류 해결

* fix(web-socket): 웹소켓 publish body값이 없을 때 initial state를 body로 사용하도록 수정

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#105
ISSUES CLOSED: #105
ISSUES CLOSED: #116

* fix(types): musics, playlist 제외 임포트 이슈 해결

* refactor(emoji): components/domains로 빼기

* fix(playlist): playlist atom 분리 대응

* refactor(types/playlist): types/playlists 으로 변경

* feat(Watcher): 소켓 연결한 이모지 추가

* feat(playlist): 곡 순서 변경기능 webSocket 연동

* fix(build): 빌드 에러 처리

* 방 생성 API 적용 및 직접 입력 추가합니다. (#120)

* feat(types/emojis): emojiType 추가

* feat(types/moods): mood 타입에서 이미지파일이 추가된 인터페이스 추가

* feat(RoomCreateMoodPage): 직접 입력 기능 추가 & 생성 API 연동

ISSUES CLOSED: #118

* feat: 방 입장, qr 코드 비즈니스 로직 구현 (#121)

* feat(invitation): 초대장에서 방으로 입장하는 비즈니스 로직 구현

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #105
ISSUES CLOSED: #116

* feat(qrcode): qR code url 적용

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#105
ISSUES CLOSED: #116

* feat(playlist): 현재 재생중일경우 Lottie UI 추가

* fix(error): 사소한 에러 처리

* feat(login): 메인 페이지 / 리다이렉션 페이지에서 방 생성한 이력 조회해서 리다이렉션하도록 적용 (#123)

* feat(room): 손님일 경우 현재 재생중 화면에 Lottie UI 추가

* fix(Redirection): usEffect isError 로 변경

* feat(room): room 상세정보 api 반영

* fix(emoji): messageText 추가

* fix(MainPage): 리다이렉션 이슈 수정

* fix(RoomSettingPage): hydration 이슈 수정

* feat(pages/main): 랜딩페이지 애니메이션 추가

* feat(pages/main): 타이핑 해시태그 텍스트 추가

* feat(RoomSettingPage): 세팅 페이지 추가

* fix(pages/room): topBar로 인한 스타일 오류 해결

* fix(pages/main): 세부 스타일 수정

* feat(room/player): 현재 재생상태, 재생중인 곡 변경 시 웹소켓 연동 추가

* refactor(lottie): 공통 모듈로 묶어서 사용할 수 있도록 리팩토링

* fix(api-playlist): useGetPlaylistPendingItems에서 사용하는 api를 올바르게 변경

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #116

* feat(playlist-websocket): 플레이리스트 곡 신청/수락/등록 웹소켓 통신 적용 (#115)

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#116

* feat(room): 신청곡 개수 api 연동

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:

ISSUES CLOSED: #105

* fix(layout): 레이아웃 콘텐츠 길이가 늘어났을 때 스크롤할 수 있도록 스타일 추가

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #105

* feat(invite): 초대장의 참여자 수, 곡 개수 아이콘 적용 (#126)

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#105

* feat(decline-request): 곡 요청 거절 비즈니스 로직 구현 (#127)

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:

ISSUES CLOSED: #127

* feat(remove-playlist): 곡 삭제 기능 웹 소켓 코드 구현

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED: #127

* feat(playlist/remove): 플레이리스트 곡 삭제기능 웹소켓 연동

* feat(slider): room 메인 페이지 컨텐츠카드에 slider/ rotate UI 적용

* fix(room): 익명 회원이 방 페이지 진입할 때 발생하는 버그 해결

ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
ISSUES
CLOSED:
#127

* config(next-swc): emotion css prop 설정 (#129)

ISSUES CLOSED: #128

* fix(add url input): user-select:none -> auto, type=url로 수정

Co-authored-by: jiyoung.lim <swimjiy@krafton.com>
Co-authored-by: Seonjae Kim <rhj4862@gmail.com>
Co-authored-by: ykwon <mason.yk3@gmail.com>
Co-authored-by: Jiyoung Lim <swimjiy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config: emotion css prop + nextjs swc 설정
3 participants