Revert "Merge pull request #284 from THIP-TextHip/feat/influencer"#293
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughEmbla carousel λΌμ΄λΈλ¬λ¦¬ λ° κ΄λ ¨ μΆμ² νΌλ κΈ°λ₯μ μ κ±°ν©λλ€. RecommendedFeedCard, RecommendedFeedSection μ»΄ν¬λνΈμ mock λ°μ΄ν°λ₯Ό μμ νκ³ , TotalFeedμμ 10κ° νλͺ©λ§λ€ μΆμ² νΌλλ₯Ό μ½μ νλ λ‘μ§μ μ κ±°νλ©° isLast propμ μΆκ°ν©λλ€. Changes
Estimated code review effortπ― 3 (Moderate) | β±οΈ ~20 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touchesβ Passed checks (3 passed)
β¨ Finishing touches
π§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
π§Ή Nitpick comments (1)
src/components/feed/TotalFeed.tsx (1)
14-22: λ λλ§ λ‘μ§ λ¨μνκ° μ¬λ°λ₯΄κ² μ μ©λμμ΅λλ€μΆμ² νΌλ μ½μ λ‘μ§μ μ κ±°νκ³ postsλ₯Ό μ§μ λ§€ννλ κ²μΌλ‘ λ¨μνν κ²μ΄ revertμ λͺ©μ μ λΆν©ν©λλ€.
νΉν Line 19μ
isLast && index === posts.length - 1λ‘μ§μ:
- μμ μ»΄ν¬λνΈμ isLastκ° trueμΌ λλ§
- λ°°μ΄μ λ§μ§λ§ νλͺ©μλ§ isLastλ₯Ό μ λ¬
μ 쑰건μ μ νν ꡬννκ³ μμ΄ μ μ ν©λλ€.
μ°Έκ³ : Line 16μ keyμ indexλ₯Ό ν¬ν¨νλ κ²μ μΌλ°μ μΌλ‘ κΆμ₯λμ§ μμ§λ§, νΌλμ κ°μ΄ append-only νΉμ±μ κ°μ§ 리μ€νΈμμλ νμ© κ°λ₯ν©λλ€. ν₯ν μ λ ¬μ΄λ νν°λ§ κΈ°λ₯μ΄ μΆκ°λ κ²½μ°
feedIdλ§ μ¬μ©νλ κ²μ κ³ λ €ν΄μ£ΌμΈμ.
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
β Files ignored due to path filters (2)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yamlsrc/assets/feed/lookmore-influencer.svgis excluded by!**/*.svg
π Files selected for processing (6)
package.json(0 hunks)src/components/feed/FeedPost.tsx(1 hunks)src/components/feed/RecommendedFeedCard.tsx(0 hunks)src/components/feed/RecommendedFeedSection.tsx(0 hunks)src/components/feed/TotalFeed.tsx(1 hunks)src/mocks/recommendedFeeds.mock.ts(0 hunks)
π€ Files with no reviewable changes (4)
- package.json
- src/components/feed/RecommendedFeedSection.tsx
- src/mocks/recommendedFeeds.mock.ts
- src/components/feed/RecommendedFeedCard.tsx
π§° Additional context used
𧬠Code graph analysis (1)
src/components/feed/TotalFeed.tsx (1)
src/types/post.ts (1)
FeedListProps(21-27)
π Additional comments (2)
src/components/feed/TotalFeed.tsx (1)
7-7: isLast prop μΆκ°κ° μ μ ν©λλ€
isLastpropμ κΈ°λ³Έκ°falseλ₯Ό μΆκ°ν κ²μ μ’μ μ€κ³μ λλ€. μ΄λ₯Ό ν΅ν΄ TotalFeedλ₯Ό μ¬μ©νλ μμ μ»΄ν¬λνΈμμ λ§μ§λ§ νλͺ© μ¬λΆλ₯Ό μ μ΄ν μ μμ΅λλ€.src/components/feed/FeedPost.tsx (1)
19-27: μΌκ΄λ λμμΈ ν¨ν΄ κ²μ¦λ¨ - κ²ν νμrg κ²μ κ²°κ³Όμμ 94.8% λλΉ κ°μ΄ μ½λλ² μ΄μ€μ μ¬λ¬ νμΌμμ μΌκ΄λκ² μ¬μ©λκ³ μλ κ²μΌλ‘ νμΈλμμ΅λλ€:
src/components/feed/FeedPost.tsx:20src/components/feed/FeedDetailPost.tsx:20src/pages/mypage/SavePage.tsx:357src/pages/feed/FollowerListPage.tsx:189μ΄λ μμμ κ°μ΄ μλλΌ μλμ μΈ λμμΈ ν¨ν΄μμ μμ¬ν©λλ€. λͺ¨λ 컨ν μ΄λκ°
padding: 0 20pxλ₯Ό κ°μ§κ³ μλ€λ μ μ κ³ λ €νλ©΄, 94.8%λ ν¨λ©μ κ³ λ €ν κ³μ°λ κ°μΌλ‘ 보μ λλ€.νμΈ νμ μ¬ν:
- μ΄ κ°μ΄ λμμΈ μμ€ν μ μλλ λΆλΆμΈμ§ κ°λ°μκ° νμΈν΄μ£ΌμΈμ
- λ μ΄μμμ΄ μλλλ‘ λμνλμ§ μκ°μ μΌλ‘ κ²μ¦ν΄μ£ΌμΈμ
- νμμ
calc(100% - 5.2%)λ±μΌλ‘ κ³μ° μλλ₯Ό λͺ νν ν μ μμ΅λλ€
λ³κ²½ μ¬ν
feat/influencerλΈλμΉμ λ³κ²½μ¬νμ μΌμμ μΌλ‘ μ μΈν©λλ€.μ΄μ
feat/influencerμμ μ μ μΈν λλ¨Έμ§ λ³κ²½μ¬νμ λ¨Όμ λ°°ν¬ν©λλ€.feat/influencerμμ μ μΆν λ³λλ‘ λ°°ν¬ μμ μ λλ€.μ μΈλ λ΄μ©
λ€μ λ¨κ³
Summary by CodeRabbit
λ¦΄λ¦¬μ¦ λ ΈνΈ
Style
Chores