-
Notifications
You must be signed in to change notification settings - Fork 0
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
Complete the integration of TypeScript with Redux #72
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## migration #72 +/- ##
============================================
- Coverage 4.47% 4.46% -0.01%
============================================
Files 211 213 +2
Lines 6547 6558 +11
Branches 1640 1748 +108
============================================
Hits 293 293
+ Misses 6158 6104 -54
- Partials 96 161 +65 ☔ View full report in Codecov by Sentry. |
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.
정말 많은 파일들에 변화가 있었는데 너무 수고 많으셨습니다!
src/shapes/state/planner/ItemFocus.ts 에서는 기존 타입에 문제가 있었는데, 리뷰 과정에서 잡아내지 못한 것이 아쉽네요 ㅠㅜ
src/App.tsx 나 src/index.tsx 는 다같이 리뷰하면 좋을 것 같습니다 :)
@@ -8,7 +8,7 @@ import { appBoundClassNames as classNames } from '../../../common/boundClassName | |||
|
|||
import SearchFilter from '../../SearchFilter'; | |||
|
|||
import { setUser } from '../../../actions/common/user'; | |||
import { setUser } from '../../../redux/actions/common/user'; |
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.
저희 요거는 다 절대경로 임포트 사용 안하는건가요?
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.
아 이번에 redux 디렉토리 하나 만들면서 여기저기 file change가 많은데, 제가 처음부터 끝까지 리팩토링 작업하지 않는 경우에는 일단 경로 수정하지 않고 있습니다 😂 change가 있어도 절대경로로 안 바뀐 파일들이 많을 거예요. 이번에는 두고 나중에 작업할 때 수정하면 될 것 같습니다. 예를 들어 FavoriteDepartmentsSubSection
는 react query setup하는 브랜치에서 작업하면서 수정됐어요!
|
||
export const TRACKING_ID = 'G-8NSY19J0T3'; | ||
export const STORAGE_KEY = 'otl-banner-key'; | ||
export const CAMPAIGN_KEY = 'CMPGN-2023-08-24-v1'; |
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.
요거는 날짜가 들어가 있는 키인 것 같은데, 어떻게 작동하는 방식인지 설명 부탁드릴 수 있을까요?
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.
@UrWrstNightmare 의 예전 배너 작업과 관련되어 있을 거예요. 로직은 자세히 안 보고 따로 const로 빼기만 해서 작동 방식은 잘 모릅니다 .. 🙄
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.
Description
Redux TypeScript 도입을 마무리합니다.
Tasks
@/redux
폴더 하위로actions
,reducers
폴더 이동rootReducer
분리Notes
@/reducers/planner/itemFocus.ts
에 explicit type casting을 추가하였습니다.