8000 Hotfix: 블로그 요약 안되는 이슈, 메모가 2개씩 저장되는 이슈 해결 by guesung · Pull Request #133 · guesung/Web-Memo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hotfix: 블로그 요약 안되는 이슈, 메모가 2개씩 저장되는 이슈 해결 #133

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

Merged
merged 6 commits into from
Jan 13, 2025

Conversation

guesung
Copy link
Owner
@guesung guesung commented Jan 10, 2025

Summary by CodeRabbit

  • 새로운 기능

    • 웹 페이지와 iframe에서 콘텐츠를 더 효과적으로 검색하는 기능 추가
    • 새로운 디바운스 훅 도입으로 성능 최적화
  • 버그 수정

    • 콘텐츠 검색 메커니즘 개선
    • 메모 저장 로직의 성능 향상
  • 리팩터링

    • 스로틀 대신 디바운스 메커니즘으로 전환
    • 빌드 작업 의존성 순서 조정

Copy link

Copy link
coderabbitai bot commented Jan 10, 2025

Caution

Review failed

The pull request is closed.

워크스루

이 풀 리퀘스트는 여러 파일에 걸쳐 다양한 변경 사항을 포함하고 있습니다. ExtensionBridge.ts에서는 웹 콘텐츠 검색 로직이 개선되었고, turbo.json에서는 태스크 의존성 순서가 변경되었습니다. 새로운 useDebounce 훅이 추가되었으며, MemoForm 컴포넌트에서는 스로틀 대신 디바운스 메커니즘을 사용하도록 변경되었습니다.

변경 사항

파일 변경 요약
packages/shared/src/modules/extension-bridge/ExtensionBridge.ts iframe 콘텐츠 검색 로직 개선
turbo.json 빌드 태스크 의존성 순서 변경
packages/shared/src/hooks/index.ts useDebounce 훅 추가
packages/shared/src/hooks/useDebounce.ts 새로운 디바운스 훅 구현
pages/side-panel/src/components/MemoForm.tsx 스로틀에서 디바운스로 변경, 키 핸들링 간소화

가능한 관련 PR

🐰 코드의 물결, 흐르는 로직
디바운스의 춤을 추네
최적화된 기능들이
토끼처럼 깡총깡총
더 나은 세상을 향해! 🌈


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 181bac1 and 0501c11.

📒 Files selected for processing (4)
  • packages/shared/src/hooks/index.ts (1 hunks)
  • packages/shared/src/hooks/useDebounce.ts (1 hunks)
  • packages/shared/src/modules/extension-bridge/ExtensionBridge.ts (1 hunks)
  • pages/side-panel/src/components/MemoForm.tsx (3 hunks)

Finishing Touches

  • 📝 Generate Docstrings (Beta)

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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. (Beta)
  • @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.

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
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0e3a86d and 181bac1.

📒 Files selected for processing (3)
  • packages/shared/src/modules/extension-bridge/ExtensionBridge.ts (1 hunks)
  • packages/web/src/app/[lng]/(no-auth)/login/components/LoginSection/index.tsx (2 hunks)
  • turbo.json (1 hunks)
🔇 Additional comments (2)
packages/web/src/app/[lng]/(no-auth)/login/components/LoginSection/index.tsx (1)

33-35: 테스트 계정 로그인 버튼의 보안 검토 필요

프로덕션 환경에서 테스트 계정 로그인 버튼을 노출하는 것은 보안상 위험할 수 있습니다. 다음 사항들을 고려해주세요:

  • 개발 환경에서만 버튼이 표시되도록 조건부 렌더링 추가
  • 테스트 계정 정보가 프로덕션 빌드에 포함되지 않도록 처리
+ {process.env.NODE_ENV === 'development' && (
    <button 
      formAction={signInWithEmail.bind(null, SUPABASE.testEmail, SUPABASE.testPassword)} 
      className="btn"
    >
      테스트 계정으로 로그인
    </button>
+ )}
turbo.json (1)

26-26: 빌드 의존성 순서 변경의 영향 확인 필요

의존성 순서를 변경하면 다음과 같은 영향이 있을 수 있습니다:

  1. 모노레포의 다른 패키지 빌드 순서가 변경될 수 있음
  2. 빌드 시간이 증가할 수 있음

빌드 프로세스가 정상적으로 작동하는지 확인해주세요.

다음 스크립트로 의존성 순환 참조를 확인할 수 있습니다:

✅ Verification successful

의존성 순서 변경이 안전함을 확인했습니다

의존성 구조 분석 결과:

  • 순환 참조가 없습니다
  • ready^build 작업이 모두 필요하므로 순서는 중요하지 않습니다
  • 다른 작업들의 의존성에도 영향을 주지 않습니다
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# 순환 참조 검사
turbo run build --dry-run --graph | grep -B 2 -A 2 "ready.*build.*ready"

Length of output: 170


Script:

#!/bin/bash
# Check turbo.json content
echo "=== Checking turbo.json content ==="
cat turbo.json

# Search for other potential turbo config files
echo -e "\n=== Searching for other turbo config files ==="
fd -e json -x grep -l "dependsOn"

Length of output: 1576

@guesung guesung changed the title Fix: 블로그 요약 안되는 이슈 해결 Fix: 블로그 요약 안되는 이슈, 메모가 2개씩 저장되는 이슈 해결 Jan 13, 2025
@guesung guesung changed the base branch from develop to master January 13, 2025 02:05
@guesung guesung changed the title Fix: 블로그 요약 안되는 이슈, 메모가 2개씩 저장되는 이슈 해결 Hotfix: 블로그 요약 안되는 이슈, 메모가 2개씩 저장되는 이슈 해결 Jan 13, 2025
@guesung guesung merged commit ff618b3 into master Jan 13, 2025
6 of 7 checks passed
@guesung guesung deleted the refactor/1 branch January 13, 2025 02:05
Copy link

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.

1 participant
0