-
Notifications
You must be signed in to change notification settings - Fork 1
feat(desktop): label tracked sources as YouTube channels, open on click #6
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
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| [ | ||
| { | ||
| "time": "22:12:45", | ||
| "user": "seungwonan", | ||
| "prompt": "그냥 메인에 해줘 워크트리 정리하고" | ||
| } | ||
| ] | ||
|
Comment on lines
+1
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
유튜브 채널의
handleOrURL은 옵셔널 값이며, 데이터베이스 상태에 따라 비어있거나 올바르지 않은 URL 스키마(예:file://등 안전하지 않은 스키마)를 가질 가능성이 있습니다. 안전한 이동을 위해 값이 비어있지 않은지 확인하고, URL 스키마가http또는https인지 검증한 후NSWorkspace.shared.open을 호출하는 것이 안전합니다.\n\n또한, 현재sourceRow전체에.onTapGesture가 적용되어 있어, 행 내부의 삭제(trash) 버튼을 클릭할 때 삭제 얼럿이 뜨는 동시에 유튜브 채널 페이지가 브라우저에서 열리는 부작용(이벤트 전파)이 발생할 수 있습니다. 이를 방지하기 위해, 추후 리팩토링 시 텍스트 영역(이름, 플랫폼 정보 등)만 별도의HStack이나VStack으로 감싸고 해당 영역에만.onTapGesture를 적용하고, 삭제 버튼은 그 바깥에 배치하는 구조로 개선하는 것을 권장합니다.