Skip to content

Conversation

six-standard
Copy link
Member

@six-standard six-standard commented Mar 22, 2025

🔥 변경 사항

조회수 변동 기반 조회 기능을 추가하였습니다.

🏷 관련 이슈

  • 관련 이슈: #140

📸 스크린샷 (UI 변경 시 필수)

스크린샷 2025-03-22 오전 10 13 16

📌 체크리스트

  • [O] 기능이 정상적으로 동작하는지 테스트 완료
  • [O] 코드 스타일 가이드 준수 여부 확인
  • [O] 관련 문서 업데이트 완료 (필요 시)

Summary by CodeRabbit

  • New Features
    • 사용자에게 새로운 정렬 옵션인 "조회변동순"이 추가되어, 검색 결과를 조회 변동 기준으로 정렬할 수 있게 되었습니다. 이로 인해 다양한 정렬 방식을 활용하여 콘텐츠를 더욱 편리하게 확인할 수 있습니다.

오늘조회순보다 짧으면서 이해하기 쉬운 단어가 떠오르지 않네요
@six-standard six-standard self-assigned this Mar 22, 2025
Copy link

Copy link

coderabbitai bot commented Mar 22, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

이 PR은 정렬 기준 기능에 새로운 옵션인 **"조회변동순"**을 추가합니다.
상수 파일(src/constants/searchParams.constant.ts)에서는 SORT_TYPE 객체에 '조회변동순': 'viewGrowth' 항목을 삽입하였으며,
타입 정의 파일(src/types/searchParams.type.ts)에서는 SortKey 타입에 해당 값을 포함하도록 업데이트하였습니다.

Changes

파일들 변경 요약
src/constants/.../searchParams.constant.ts
src/types/.../searchParams.type.ts
'조회변동순' 정렬 옵션 추가: 상수에 '조회변동순': 'viewGrowth' 항목 삽입 및 SortKey 타입 업데이트

Poem

나는 깡총깡총 뛰노는 토끼,
새로운 옵션을 설레는 마음에 담았네,
'조회변동순'으로 세상은 반짝이고,
상수와 타입이 조화를 이루며 춤추네,
모두 함께 달려가는 데이터의 들판에서! 🐇


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 881b365 and c482034.

📒 Files selected for processing (2)
  • src/constants/searchParams.constant.ts (1 hunks)
  • src/types/searchParams.type.ts (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@Jihyun3478 Jihyun3478 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@six-standard six-standard merged commit c906fc1 into main Mar 22, 2025
1 check was pending
@six-standard six-standard deleted the feature/traffic-based-sort branch March 24, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants